T
Toller
Background: I'm using the "Real Estate" template (Access 2007) to develop a
leasing application for my state agency. Thus far I have made very good
progress in adapting this template to our use and we've started loading test
data.
Problem: There is a report that produces a list of expiring leases. On this
report is a field that has the appearance of a hyperlink. When one clicks on
it, an input screen opens but while it's the right screen, it's not the right
record. Instead it's the low order record in the database...always.
When I look at the Properties, I see that this field has an embedded macro.
It's linked to the "On Click" event. When I look at the macro, it is supposed
to open a form (which it does) and the arguments are.....
Tenant Details, Form, , "TenantID=" & [Screen].[ActiveControl], , Dialog
How does the program supply the "Screen" and "Active Control" arguments to
make certain the correct record is shown or what arguments do I need to
include ?
Thanks for your assistance.
Eric Johnson
Lands Manager
leasing application for my state agency. Thus far I have made very good
progress in adapting this template to our use and we've started loading test
data.
Problem: There is a report that produces a list of expiring leases. On this
report is a field that has the appearance of a hyperlink. When one clicks on
it, an input screen opens but while it's the right screen, it's not the right
record. Instead it's the low order record in the database...always.
When I look at the Properties, I see that this field has an embedded macro.
It's linked to the "On Click" event. When I look at the macro, it is supposed
to open a form (which it does) and the arguments are.....
Tenant Details, Form, , "TenantID=" & [Screen].[ActiveControl], , Dialog
How does the program supply the "Screen" and "Active Control" arguments to
make certain the correct record is shown or what arguments do I need to
include ?
Thanks for your assistance.
Eric Johnson
Lands Manager