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 |