DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

Thread: add and modify

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    add and modify

    [Originally posted by c isaac]

    To add and modify a MsAccess table through VB

    To find the max value in a field in a table

  2. #2
    Join Date
    Aug 2004
    Posts
    43,023

    Re:add and modify

    [Originally posted by Tich]

    what are you using? DAO or ADO?

    You can create tables using ADO, by generating the SQL to create the table (whats in the SQL depends on the database), and callnig the 'Execute' method

    the SQL for getting the max value will be something like
    SELECT max(column_name) FROM table_name

    and you can always add a 'where' clause on the end to restrict the search.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links