G
Guest
Good day,
I am working on a database that keeps track of checks (checks are composed
of a "Symbol" and "SerialNo") and how many times that particular check has
been requested. I created a form "CheckHistory" that shows me the Check No
(in the main form) and its history (in a subform) after I searched for that
Check No.
If the same check has been requested 3 times, the subform will show me the 3
different times it was requested. After a request has been processed I will
need to updated.
I have created an "Edit" button that is using a macro to open the EditForm,
which is suppose to show me that particular record (in the subform) I want to
edit. I am having trouble making the macro work properly.
I have tried the following conditions:
([Symbol]='1234') And ([SerialNo]="12345678") <---This condition shows me
just that Check's History no matter if I click on a different record under a
different Check No.
If I replace the numbers with ", ', or # it does not work.
([ReferenceID]=[ReferenceID]) <--- It shows me all the records of all the
checks, not filtering as it should.
Please help. What is the correct condition I need to use?
Thank you,
JRG
I am working on a database that keeps track of checks (checks are composed
of a "Symbol" and "SerialNo") and how many times that particular check has
been requested. I created a form "CheckHistory" that shows me the Check No
(in the main form) and its history (in a subform) after I searched for that
Check No.
If the same check has been requested 3 times, the subform will show me the 3
different times it was requested. After a request has been processed I will
need to updated.
I have created an "Edit" button that is using a macro to open the EditForm,
which is suppose to show me that particular record (in the subform) I want to
edit. I am having trouble making the macro work properly.
I have tried the following conditions:
([Symbol]='1234') And ([SerialNo]="12345678") <---This condition shows me
just that Check's History no matter if I click on a different record under a
different Check No.
If I replace the numbers with ", ', or # it does not work.
([ReferenceID]=[ReferenceID]) <--- It shows me all the records of all the
checks, not filtering as it should.
Please help. What is the correct condition I need to use?
Thank you,
JRG