DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2006
    Posts
    43

    Exclamation ms access database question using vb.net 2003

    hi i have a database question with ms access how do i add new rows to a table with out having to fill the contents of ever cell just the primary key??

    Trains

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    In Access, set the Required property of the optional fields to False. See http://books.google.com/books?id=KJ_...j4By6AQSWaedX0 for more information.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Aug 2006
    Posts
    43
    in my database it is setup that way already. is there any way use a loop to add a set number of rows to an access database using vb.net 2003?

  4. #4
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,651
    Run an INSERT query through at For/Next loop
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

Similar Threads

  1. Replies: 3
    Last Post: 11-07-2006, 12:53 AM
  2. Replies: 1
    Last Post: 09-17-2002, 10:57 PM
  3. Replies: 0
    Last Post: 12-04-2001, 08:40 PM
  4. Replies: 1
    Last Post: 11-30-2001, 07:57 AM
  5. Save and Retrieve Picture In Access Database
    By Larry Rebich in forum VB Classic
    Replies: 3
    Last Post: 08-20-2000, 12:31 PM

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