K
Kathy
I want to select a record from a datasheet that opens with
a command button on my main form and have the main form go
to the selected record. I want to use the On Click event,
so the user can click in the EmpID field of a particular
record in the datasheet and have the main form also go to
that record. The datatsheet form and the main form are
related by this field and this field is an Auto Number in
the Main Form. I think I can use the DoCmd.FindRecord,
but I am unsure of the language after that. Or should I
try Do.CmdGoToRecord? Again, I am not familiar with the
language after that. Any suggestions?
Also, is there a way to select an Auto Number control,
enter a number and have the current record become the
record number you entered? When I put the focus in my
AutoNumber field on my form, it will not let me enter
anything because an AutoNumber cannot be edited. I don't
want to edit it, I just want to make it the current
record. Any suggestions there?
Any help will be truly appreciated,
Kathy
a command button on my main form and have the main form go
to the selected record. I want to use the On Click event,
so the user can click in the EmpID field of a particular
record in the datasheet and have the main form also go to
that record. The datatsheet form and the main form are
related by this field and this field is an Auto Number in
the Main Form. I think I can use the DoCmd.FindRecord,
but I am unsure of the language after that. Or should I
try Do.CmdGoToRecord? Again, I am not familiar with the
language after that. Any suggestions?
Also, is there a way to select an Auto Number control,
enter a number and have the current record become the
record number you entered? When I put the focus in my
AutoNumber field on my form, it will not let me enter
anything because an AutoNumber cannot be edited. I don't
want to edit it, I just want to make it the current
record. Any suggestions there?
Any help will be truly appreciated,
Kathy