on screen keyboard problem

etsoft

Registered User.
Local time
Today, 00:31
Joined
Nov 14, 2003
Messages
15
Hi,

i'm building a on screen keyboard with has to adjust fields on a subform.
When pressing a key a letter is added in a certain field like :

me!subform!field1= me!subform!field1 & "Q"

How can i detect which field has the focus on the subform and the code is only editting this field ?

I've tried to set a global variable ( veld ) when a certain field got the focus and use this value in the code like :

me!subform(veld)= me!subform(veld) & "Q"

This is not working .... what should be the correct code ?

Thanks in advance
 
Check out the ActiveControl and PreviousControl properties of the Screen object.
 

Users who are viewing this thread

Back
Top Bottom