Results 1 to 2 of 2
  1. #1
    tomneedshelp is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Mar 2012
    Posts
    5

    Create a method of saving data


    I have created a form on access which develops a unique username and calculates age automatically,
    I need to be able to use a button which adds in that data to the relevant table, but I do not know what coding is required.
    Help would be much appreciated
    Thanks

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,902
    Should not save calculated age. Calculate it when needed.

    If username field is included in the form's recordsource, simply: Me!username = some value here

    If username field is not in the form's recordsource, use an SQL UPDATE action.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Compile Error: Method or data member not found
    By subtilty in forum Programming
    Replies: 5
    Last Post: 02-09-2012, 07:56 AM
  2. Pulled Data Not Saving
    By Rookie in forum Access
    Replies: 4
    Last Post: 08-05-2011, 05:12 AM
  3. Data Not Saving To Table
    By AUS1960 in forum Forms
    Replies: 2
    Last Post: 05-11-2011, 05:35 AM
  4. Saving data
    By mwabbe in forum Access
    Replies: 1
    Last Post: 09-09-2010, 11:18 AM
  5. trnsferspreadsheet method - no data
    By Lurmis in forum Programming
    Replies: 5
    Last Post: 09-24-2009, 08:51 AM

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