[AccessD] Position cursor at beginning of field

Gina Hoopes hoopesg at hotmail.com
Tue Sep 13 16:37:27 CDT 2005


Thank you!

-----Original Message-----
From: accessd-bounces at databaseadvisors.com 
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence
Sent: Tuesday, September 13, 2005 10:12 AM
To: 'Access Developers discussion and problem solving'
Subject: Re: [AccessD] Position cursor at beginning of field

Hi Gina:

This line of code would set the cursor to the last position of a piece of 
data in a field.

txtMyFormField.SelStart = txtMyFormField.SelLength

If the field is empty the cursor is placed at the first position in the 
field.

HTH
Jim





More information about the AccessD mailing list