T
Tom K via AccessMonster.com
Hi,
Im tring to open a form(frmBusiness) from another form (frmAddress). Im using
a command button on the Address form which uses a macro action Open Form. The
data mode is left blank. The Where is set to [AddressID] = [Forms]!
[frmAddress]![AddressID]. The business form Edit and Add properties are set
to No because I dont want to add records or edit directly from the business
form. The problem is that if there is a record for the business it displays
that record, but if there is no record the whole form is displayed blank with
no controls. I want it to open to a new record if there is no current record.
If I set the data mode in the open form action to add or edit it works but it
then allows the user to add and edit records from the business form (it
overrides the forms properties, AllowEdits=No...ect) , which I dont want.
help
Tom
Im tring to open a form(frmBusiness) from another form (frmAddress). Im using
a command button on the Address form which uses a macro action Open Form. The
data mode is left blank. The Where is set to [AddressID] = [Forms]!
[frmAddress]![AddressID]. The business form Edit and Add properties are set
to No because I dont want to add records or edit directly from the business
form. The problem is that if there is a record for the business it displays
that record, but if there is no record the whole form is displayed blank with
no controls. I want it to open to a new record if there is no current record.
If I set the data mode in the open form action to add or edit it works but it
then allows the user to add and edit records from the business form (it
overrides the forms properties, AllowEdits=No...ect) , which I dont want.
help
Tom