Code to select entire record.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Does anyone know any code to first go to a new record and then select the
entire new record rather than just setting the cursor in the first field.

Thanks
 
Why in the world would you want to select an empty, new record? Whata re you
trying to do?
Does anyone know any code to first go to a new record and then select the
entire new record rather than just setting the cursor in the first field.

Thanks

--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

Message posted via AccessMonster.com
 
I have a script that will paste a number of records from my companies Avaya
database. I don't have the option of accessing the database from Access
Directly so I have to input them manualy but I am able to bring up the daily
record list from the database. I have a script to do so but it will not paste
the data if the entire new record isn't selected (if the cursor is in the
first field it tries to paste all the data into that field).
 
Thomas said:
I have a script that will paste a number of records from my companies
Avaya database. I don't have the option of accessing the database
from Access Directly so I have to input them manualy but I am able
to bring up the daily record list from the database. I have a script
to do so but it will not paste the data if the entire new record
isn't selected (if the cursor is in the first field it tries to
paste all the data into that field).

Try

DoCmd.GotoRecord, , acNewRec
DoCmd.RunCommand acCmdSelectRecord
 
Back
Top