Hi All, I know the title is a bit vague, however I didn't really know how to title my issue.
I am using Access 2003, and SQL Server 2008. (Just as background info)
I have a form in one of my .mdb databases, which contains a subform. This subform is populated with information from a Pass through query to an SQL stored procedure. This basically just fetches all records and displays them in the subform.
When you double click on a value in the serial number field, it should open a new form, in which you can edit the information for the particular record.
What I would like to happen, is when the value is double clicked, the form is populated with the record information, based on the serial number value that was clicked on.
For example, if I were to click on 000002, then information would be displayed for that record; whereas if i clicked on 000010, I would be presented with this record's information.
Currently, when the double click occurs, it runs another pass through query, similar to the first. It opens the form fine, but it does not pull in the correct record. The code is currently: Exec EPMachinesQueryDetail @SerialNumberValue=NULL now I know that the NULL value will return all records, but I was hoping that someone would know what parameter I am supposed to enter instead of null, in order for the form to be populated with information, based on the record that was clicked on.
Apologies for any confusion regarding my posts, and if anyone has any questions about providing me with an answer, I will do my best to respond.
Thanks all,
D