Results 1 to 3 of 3
  1. #1
    glasgowlad1999 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2011
    Posts
    14

    Exclamation Insert into

    Hi There,



    I am using Access 2010. I have a form that once submitted populates the main table. After the button is clicked i want it to take the [ID] from the newly submitted profile and add it to another table, then i want to update a checkbox. I want this determination table to highlight the ID as a newly open record before it can be approved or denied.

    I have no idea how to make the button add the ID to the tbldetermination, "ReviewID" field and update the "Open" field checkbox to true for that ID.

    Any help would be very grateful.

    Thanks.

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,847
    What have you tried? Any error messages?
    There are free video tutorials at
    http://www.datapigtechnologies.com/AccessMain.htm

    I'm not aware of anything so specific as your post, but there are plenty of examples of forms and controls.

  3. #3
    hertfordkc is offline 18 year novice
    Windows XP Access 2007
    Join Date
    Mar 2011
    Posts
    481
    Orange said it: look at the examples. I think the Northwind sample database is very instructive.
    Having said that, consider this.
    Have the button on the first form open a second form with the default values for a new record in tblDetermination, i.e. in the ReviewID field, put Forms.Form1.ID. Default the checkbox to True. The property settings in the second form are critical to this working, in particular "Data Entry", "Allow Additions","Allow Deletions' and "Allow Edits".

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

Similar Threads

  1. INSERT query: insert new data only
    By drh in forum Access
    Replies: 2
    Last Post: 04-04-2014, 05:31 PM
  2. New insert row
    By khparhami in forum Access
    Replies: 5
    Last Post: 09-06-2010, 10:37 AM
  3. Insert & then Delete
    By surajparmar in forum Queries
    Replies: 2
    Last Post: 08-10-2010, 06:32 AM
  4. SQL Insert into
    By jamin14 in forum Programming
    Replies: 15
    Last Post: 04-01-2010, 12:35 AM
  5. help with insert
    By jamie in forum Access
    Replies: 1
    Last Post: 11-16-2009, 06:02 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