Open Form based on entry in another form

Hey Lucy

Registered User.
Local time
Today, 13:55
Joined
Jan 20, 2012
Messages
124
I'm trying to write a simple macro that says if a particular field on a form is checked Yes (the default is No), then open another form based on the same record as current record.

Basically, I have a real estate database that has a checkbox on the main form concerning properties. The field is "Leased". The default for the field is "No".

I then have a form for the main table where, if a user clicks the checkbox to indicate that the property is leased, then I want it to open another form, "Lease Info", where the user can then input the lease information for that property.

When I try to write an If statement using the actions available when creating a macro, I get a Type Mismatch error. I changed my syntax to "False" rather than "No" in the expression, and now it says it cannot locate the main form?????
 
Never mind....got it. But still have another issue...try to solve myself before posting for help! Thanks!
 

Users who are viewing this thread

Back
Top Bottom