Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
In form method always finds a value, correct live
Message
From
08/09/2006 09:47:42
 
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:
01152244
Views:
20
>>>
>>>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.
I used it because it worked, is there a reason not to use it?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform