C
Clddleopard
I have the following update sql (copied from the query design view)
UPDATE ListQry SET ListQry.ApprovalStatusID =
[Forms]![OpeningForm]![Responsibility]
WHERE (((ListQry.ApprovalStatusID)<[Forms]![OpeningForm]![Responsibility]
And (ListQry.ApprovalStatusID)>-1) AND ((ListQry.OtherStatusID)>300)) OR
(((ListQry.ApprovalStatusID)<[Forms]![OpeningForm]![Responsibility] And
(ListQry.ApprovalStatusID)>-1) AND ((ListQry.OtherStatusID) Is Null));
ApprovalStatusID is an integer
OtherStatusID is an integer
ListQry is the recordsource for my form. I would like to add the filter on
the form to the Where statement. I can't get it to work. I think I'm having
issues with the spaces and quotation marks and all that. Could I get help?
UPDATE ListQry SET ListQry.ApprovalStatusID =
[Forms]![OpeningForm]![Responsibility]
WHERE (((ListQry.ApprovalStatusID)<[Forms]![OpeningForm]![Responsibility]
And (ListQry.ApprovalStatusID)>-1) AND ((ListQry.OtherStatusID)>300)) OR
(((ListQry.ApprovalStatusID)<[Forms]![OpeningForm]![Responsibility] And
(ListQry.ApprovalStatusID)>-1) AND ((ListQry.OtherStatusID) Is Null));
ApprovalStatusID is an integer
OtherStatusID is an integer
ListQry is the recordsource for my form. I would like to add the filter on
the form to the Where statement. I can't get it to work. I think I'm having
issues with the spaces and quotation marks and all that. Could I get help?