F
FatMan
Hi all:
Can anyone please help me with this.
I need to reefer to a field from a MS Access query (the query has been
created using the query by example grid and not SQL) on a form. The field
name is "BinQty" and shows up as "SumOfBinQty" as the Groupby and sum options
are bing used.
When I reefer to the field in VBA I get the error message "Object Required".
I reefer to the field as:
Queries![qryPackoutPreviousPackoutsSum].[SumOfBinQty]
What is wrong?
The background to this is that I am trying to check to see if the total of
BinQty exceeds the value of BinsIntake. The querry is calculating the
SumOfBinQty correctly but I get the darn error message when I try to
reference it in my code.
Any help anyone can offer would me greatly appreciated.
Thanks,
FatMan
Can anyone please help me with this.
I need to reefer to a field from a MS Access query (the query has been
created using the query by example grid and not SQL) on a form. The field
name is "BinQty" and shows up as "SumOfBinQty" as the Groupby and sum options
are bing used.
When I reefer to the field in VBA I get the error message "Object Required".
I reefer to the field as:
Queries![qryPackoutPreviousPackoutsSum].[SumOfBinQty]
What is wrong?
The background to this is that I am trying to check to see if the total of
BinQty exceeds the value of BinsIntake. The querry is calculating the
SumOfBinQty correctly but I get the darn error message when I try to
reference it in my code.
Any help anyone can offer would me greatly appreciated.
Thanks,
FatMan