I currently have a button with this command :
DoCmd.OpenReport "Report Name", , "ID = " & Me.ID
I have this in my search form and it will bring up all records and I click on the button and it will just display that one record that corresponds to the id, on a report. Works fine.
What I want to do is to display that record on another form instead of a report so that I can make changes.
I tried to use DoCmd.OpenForm and it does bring up a form but it is blank. Seems like the ID is blank or cannot be found.
I am using the exact same code but just changed the OpenReport to OpenForm and it does not work.
How can I do this ?