craigachan
Registered User.
- Local time
- Today, 07:05
- Joined
- Nov 9, 2007
- Messages
- 285
I'm using Acc 2010.
I'm not sure where to problem solve my issue. In previous versions of Acc I used the following code to place the cursor at then end of text in a textbox. for example:
Dim L as integer
fng is the form
Note is the textbox
This code still works fine in Acc2010. But now that I try to use it on a new form, while adapting to the code to the new form, I get a compile error: method or data not found - referencing the last line fng.cursorpositon = L.
Can anyone give me insight as to why it quite working? I dont even know if this has to do with the Acc Version at all? I'm stumped.
I'm not sure where to problem solve my issue. In previous versions of Acc I used the following code to place the cursor at then end of text in a textbox. for example:
Dim L as integer
fng is the form
Note is the textbox
Code:
L = Len(fng.Note)
fng.Note.SetFocus
fng.Note.SelStart = L
fng.cursorposition = L
This code still works fine in Acc2010. But now that I try to use it on a new form, while adapting to the code to the new form, I get a compile error: method or data not found - referencing the last line fng.cursorpositon = L.
Can anyone give me insight as to why it quite working? I dont even know if this has to do with the Acc Version at all? I'm stumped.