ACC2000: "There Is No Control Called..." Requery Control Err MsgID: Q209749
|
When you try to requery a control by using the Requery macro action, you receive an error message indicating that the specified control does not exist even though the control does exist on the form.
For the Requery Control Name arument, Microsoft Access expects a short control name without any brackets ([ ]). The Microsoft Access Help system states that you should not use the full syntax, but it does not state that the brackets must be omitted, even if the control name consists of more than one word. Because other scenarios require the use of brackets, this inconsistency may be confusing.
The following example reproduces the behavior and discusses a workaround:
Action : Requery
Control Name : [SupplierID]
Note that [SupplierID] is enclosed in brackets.
There is no field called '[SupplierID]' in the current record.
Additional query words: named prb
Keywords : kberrmsg kbusage kbdta McrArg
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: May 13, 1999