F
Faraz Ahmed Qureshi
I want a query to return a result after filteration upon the basis of entries
as per the entry in ID of either the form "Clnt" or the form "Trans",
whichever is opened.
However, if the "Trans" form is open the following query still asks for the
Parameter Value "[Forms]![Clnt]![SetAc].[Form]![ID]" and ends if Cancel
pressed.
SELECT COA.AcNo, COA.Acc, COA.Set
FROM COA
WHERE (((COA.Set)=[Forms]![Clnt]![SetAc].[Form]![ID]) Or
((COA.Set)=[Forms]![Trans]![ID]));
How 2 overcome/resolve the same?
as per the entry in ID of either the form "Clnt" or the form "Trans",
whichever is opened.
However, if the "Trans" form is open the following query still asks for the
Parameter Value "[Forms]![Clnt]![SetAc].[Form]![ID]" and ends if Cancel
pressed.
SELECT COA.AcNo, COA.Acc, COA.Set
FROM COA
WHERE (((COA.Set)=[Forms]![Clnt]![SetAc].[Form]![ID]) Or
((COA.Set)=[Forms]![Trans]![ID]));
How 2 overcome/resolve the same?