Hey all.
Now attached is a screenshot of a main form.
I have a button there to start a new record, which works, but if i wanted to create a button to view a specific record i run in to an issue.
I need to write a piece of code in to event procedure to open a record selected from that table.
I have tried this:
DoCmd.OpenForm "full_personal_details", , , "Id = " & Me!Baby ID
Apparantly it is not working, what is wrong in that piece of code?
And as you can see from screenshot, the query that is bringing info to the main form table is displaying same records all over again. Can i fix that somehow?
Thank you for your help!
Now attached is a screenshot of a main form.
I have a button there to start a new record, which works, but if i wanted to create a button to view a specific record i run in to an issue.
I need to write a piece of code in to event procedure to open a record selected from that table.
I have tried this:
DoCmd.OpenForm "full_personal_details", , , "Id = " & Me!Baby ID
Apparantly it is not working, what is wrong in that piece of code?
And as you can see from screenshot, the query that is bringing info to the main form table is displaying same records all over again. Can i fix that somehow?
Thank you for your help!