Results 1 to 3 of 3
  1. #1
    crowegreg is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Posts
    398

    retrieving a record from a table

    I have a table which contains an invoice number. Withn an unbound form, I'm needing to retrieve the invoice number from the table, add a quantity of 1, then save the new number to the table.

    How's the easiest way to do this?

  2. #2
    crowegreg is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Posts
    398
    I figured it out, use DLookup

  3. #3
    ssanfu is offline Master of Nothing
    Windows 2K Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    I would use VBA / recordset rather than Dlookup. DLookup is very slow; easier with record sets.

    Question is why use an unbound form??

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Retrieving values from a Combo Box
    By dreamnauta in forum Programming
    Replies: 3
    Last Post: 01-16-2012, 10:18 AM
  2. Replies: 2
    Last Post: 11-02-2011, 08:10 PM
  3. Retrieving PDF's Efficiently
    By tcheck in forum Access
    Replies: 3
    Last Post: 08-05-2011, 07:30 AM
  4. Replies: 3
    Last Post: 07-18-2011, 04:14 PM
  5. SQL- retrieving info
    By jmarti57 in forum Programming
    Replies: 0
    Last Post: 12-10-2008, 03:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums