G
Guest
I'm a complete amateur at this, yet bravely soldier on...
I have a main form for inputing general information about a given space (for
architectural programming purposes). I also have forms to input specific
technical information (such as plumbing systems info). These forms input
info to other specific purpose tables. All of the tables are then tied
together in a relationship based on the "Room Name" field.
On the main form, I have a command button which filters the forms (using a
macro) to show only the records for spaces that are "Laboratory spaces".
This works fine. I have copied this command button to the plumbing form.
But when I try to use the button on the plumbing form, I get the dreaded
"Enter Parameter Value" message box. I think it's all about the syntax,
which I don't always understand the fine points of.
Here is the WHERE statement used in the macro LabsOnly that is the event
triggered by the command button on the main form (based on tbl_general_data):
[tbl_general_data]![Super-Category]="Laboratory Space" And
[tbl_general_data]![Number of Spaces - Design]<>0
The plumbing form is based on tbl_piped_lab_services_data. I'm not sure if
Access thinks this is a subform or not.
I've tried adding "Tables!" in front of tbl_general_data - didn't work.
This has got to be a simple thing, but it continues to elude me. Help!
I have a main form for inputing general information about a given space (for
architectural programming purposes). I also have forms to input specific
technical information (such as plumbing systems info). These forms input
info to other specific purpose tables. All of the tables are then tied
together in a relationship based on the "Room Name" field.
On the main form, I have a command button which filters the forms (using a
macro) to show only the records for spaces that are "Laboratory spaces".
This works fine. I have copied this command button to the plumbing form.
But when I try to use the button on the plumbing form, I get the dreaded
"Enter Parameter Value" message box. I think it's all about the syntax,
which I don't always understand the fine points of.
Here is the WHERE statement used in the macro LabsOnly that is the event
triggered by the command button on the main form (based on tbl_general_data):
[tbl_general_data]![Super-Category]="Laboratory Space" And
[tbl_general_data]![Number of Spaces - Design]<>0
The plumbing form is based on tbl_piped_lab_services_data. I'm not sure if
Access thinks this is a subform or not.
I've tried adding "Tables!" in front of tbl_general_data - didn't work.
This has got to be a simple thing, but it continues to elude me. Help!