IF INKEY() = 27
wait window 'Esc key pressed'
ELSE
IF INKEY() = 13
wait window 'Enter key pressed'
=TableUpdate(.T.)
ENDIF
ENDIF
The above code is what I had for a long time (and forgot about it) in the Valid of the textbox. Ever since, I have never seen either wait window message (yes, I did press the Esc and Enter).
Not only that, I am still having trouble getting ThisForm.List1.Refresh to work (ThisForm.Refresh does not even refresh the listbox). I did put it in the Requery, as someone suggested (and worked for him as he tested it). I just can not understand why all this trouble for me? I mean this form only has 1 textbox and 1 listbox, but it's that hard already!?!?!?
I am a sitting duck right now, right after I finally make a big wave with my supervisor and co-worker. I have had this form for
2 weeks so far. Sorry, but I want to ask if anyone would like to take a look at this project for me and make some corrections. You can email directly to me or ask here...
Chuck
Today is tomorrow's yesterday.