Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Recordsource problem
Message
From
07/12/2001 12:43:55
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Grid Recordsource problem
Miscellaneous
Thread ID:
00591277
Message ID:
00591277
Views:
58
Hi,
I am using Grid on my form and would like to update information in the grid,
based on user selection.
After, SELECT statement return a record, VFP stops responding, CPU usage is 100%
and only one solution is to kill VFP as a task.
I tried it on Win98SE, Win2K - the same result.
What I am doing wrong or there is an easy way to accomplish my simple task.
Thanks

THISFORM.grdSelect.RECORDSOURCE=""

SELECT emplid,NAME FROM Employ WHERE emplid='ABC';
INTO CURSOR GridLookup

IF _TALLY<>0
THISFORM.grdSelect.RECORDSOURCE="GridLookup"
ENDIF
Next
Reply
Map
View

Click here to load this message in the networking platform