I have a query qryQ, which is designed from two tables, where the RateDate is sorted in descending order with only 1 row to be displayed with the Service Rate for the chosen Service (to be chosen from Form1).
The got focus event of ServRate of Form1 I have put the code as follows:
=DLookup([ServRate],[qryQ],[Service]=[OrdService])
However, when the cursor come to the Rate box in Form1 I get the following Error message.
The object doesn't contain the Automation object 'qryQ.'. I just cannot understand this. Read it carefully and notice the dot after Q and before '. Its very strange..
Hope someone can help me resolving this.
The idea is to get the latest prevailing rate at the data entry level.
Thanks.
bipsy