GoToControl troubles

G

Guest

I’m using a macro with several GoToControl steps:
GoToControl sbfDataEntry
GoToControl sbfGrade

This works just fine. Then I try to add a third step, GoToControl Score
(where Score is a field name on the sbfGrade subform). Then the macro craps
out with “There is no field named ‘Score’ in the current record."

Any ideas on why this is happening? I checked the field name about a
million times.

Thanks.
 
G

Guest

Hi,

I posed a similar problem to put focus on a particular field.

I was told the first GoToControl should be the name of the control which
holds the subform (in my case "department subform")

Is the control which holds your subform called "sbfGrade" or "sbfGrade
subform"?
 
G

Guest

Thanks! I've got it now.


scubadiver said:
Hi,

I posed a similar problem to put focus on a particular field.

I was told the first GoToControl should be the name of the control which
holds the subform (in my case "department subform")

Is the control which holds your subform called "sbfGrade" or "sbfGrade
subform"?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

GoToControl problems in a macro 3
FindRecord 2
Access 2002 macro - Using GoToControl 3
MoveToControl 2
Copy from Form to Subform 2
GOTOCONTROL 3
Select from List Box 4
GotoControl and Subforms 9

Top