Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
In form method always finds a value, correct live
Message
 
 
To
07/09/2006 17:02:30
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01152039
Message ID:
01152134
Views:
22
>>
>>llfound = INDEXSEEK(lccid)
>>
>>IF llFound AND lcCID <> gCID
>>	=msgfrm(SPACE(4) + 'User ID ' + lcCID + ' already exists.' + ;
>>		CHR(10) + SPACE(10) + 'Re-enter or Revert.' ;
>>		,'0',,'S','Existing field value',0,gnMsgWait)
>>	KEYBOARD '{LEFTARROW}'
>>	RETURN
>>ENDIF
>>
>>I used debug to see the values
>Sorry
>
KEYBOARD '{LEFTARROW}' should be Thisform.CID1.Setfocus
Calling SetFocus from another control GotFocus doesn't look kosher to me.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform