Syntax question for moving to a record

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

I'd like to move to a certain record when I open a form,
so I'm using "DoCmd.GoToRecord Record:=". After the equal
sign, can I put a variable or a function, ie if I wanted
to move to Record number 'x,' could I put ...Record:=x?
Concordantly, could I set the statement equal to a
function? I've tried doing both of these, but something's
still not right, so I don't know if it's the syntax or
what. Anyways, help would be great. Thanks.
 
I'd like to move to a certain record when I open a form,
so I'm using "DoCmd.GoToRecord Record:=".

You'll get more control by using the RecordsetClone and setting the form
Bookmark property. Who knows what record number 2082 is?

HTH


Tim F
 
Back
Top