dbTalk Databases Forums  

focus on a textbox after setting the form-recordsource

comp.database.ms-access comp.database.ms-access


Discuss focus on a textbox after setting the form-recordsource in the comp.database.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jenny
 
Posts: n/a

Default focus on a textbox after setting the form-recordsource - 02-04-2004 , 09:56 AM






Hallo,

i have a weird problem with the focus. maybe somebody in the world
also had it sometime an solved it?

i have an continuous form (endlosformular).
after setting a new recordsource for the form in the code modul
i set the focus on a textbox.
when i want to set the selstart and sellength options,
but the compiler says the textbox hasn't got the focus.
BUT IT HAS! i tried it on and on.


me.recordsource="SELECT * FROM TABELLE"

me!textbox.setfocus
me!textbox.selstart=len(me!textbox)
me!textbox.sellength=0


Greatings, Jenny

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.