>hi, it failed when i execute the run /n osk.exe. I have looked at osk.exe before but may not be suitable for my form as i also want to programmatically select either standard keys or num pad. thanks
You can.
Try:
RUN/N OSK.EXE
NumLock(.f.)
NumLock(.t.)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.