Thanks for the tip, I can lessen my time coding thisform..
But the modified code below, I think it will not work, cause not using a barcode reader or timer.
The used of this code is when a user press {ENTER} Key without input into a textbox, a customer selection form will show so that they can select the desired customer..
Removed Code: .and. Lastkey() = 13
If empty(xcust_id)
keyboard Chr(32)
lseek = .t.
Do form forms\sele-fcust
Endif
Thanks and God Bless!!!
Jojo R. dela Cuesta
Dalplus Technologies
http://www.dalplus.com