Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
  1. #16
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,938
    see attached db which I have quickly put together

    recipeDB.zip

  2. #17
    Gregm66 is offline Advanced Beginner
    Windows 10 Access 2013 32bit
    Join Date
    Sep 2016
    Posts
    36
    Yes I changed menu type to MenuID.
    Checked it is the primary key now.
    Dlookup was used on my textbox named RCPMethod.
    After update.
    Not sure where I'm going wrong it comes up with #Name.
    The code I used is.
    Code:
    =dlookup ("RCPMethod","tblRecipes","MenuID=" & Me.Combo9)

  3. #18
    Gregm66 is offline Advanced Beginner
    Windows 10 Access 2013 32bit
    Join Date
    Sep 2016
    Posts
    36
    Thanks for the sample that you posted for me to look at Ajax I will look over what you have done and try to discover where I have gone wrong.
    Thankyou for all your help so far it is muchly appreciated.

  4. #19
    Gregm66 is offline Advanced Beginner
    Windows 10 Access 2013 32bit
    Join Date
    Sep 2016
    Posts
    36
    Hi Ajax.
    It was a combination of things my table wasn't right. I had removed the auto number field I guess it needed that.
    And my control sources were messed up. Thanks for your help.
    How easy would it be to enter the data to the form then have a save button to save it to the table.

  5. #20
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,938
    How easy would it be to enter the data to the form then have a save button to save it to the table.
    very easy - at the bottom of the form, on the navigation bar, click on the > icon just to the left of the filter icon - this will take you to a new record where you can copy and paste to each field. Data will be saved automatically when you leave the record or close the form.

    There are other ways of course, create a button which does the same as the > icon. Or a button that changes the form mode to data entry (and another to change it back)

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 04-29-2016, 09:06 PM
  2. Replies: 2
    Last Post: 01-26-2016, 08:08 AM
  3. Replies: 2
    Last Post: 12-22-2015, 09:09 PM
  4. Replies: 5
    Last Post: 04-30-2015, 01:50 AM
  5. Replies: 2
    Last Post: 04-20-2013, 03:37 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