General information
Category:
Forms & Form designer
Title:
Grid Recordsource problem
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only