Article ID: 131213
Article Last Modified on 2/12/2007
Thisform.Grid1.RecordSource = Thisform.Grid1.RecordSourceNotes
List1.RowSourceType = 4 (QPR)
List1.RowSource = qryTest.qpr
Grid1.RecordSourceType = 3 (QPR)
Grid1.RecordSource = qryTest.qpr
Thisform.List1.Requery()
Thisform.Grid1.RecordSource = Thisform.Grid1.RecordSource
Note This command does not need to be in the Activate event of the form
in Visual FoxPro 3.0 but is needed in Visual FoxPro 5.0.
SELECT contact_name, customer_id FROM customer INTO CURSOR curTest
** Use this code in Visual FoxPro 6.0 and later:
SELECT contact, cust_id FROM customer INTO CURSOR curTest
Note Make sure that you add the .qpr file name extension to the file.
DO FORM frmmyfrm
=REQUERY()
140653 A cursor-based grid is blank if the SELECT-SQL command resets the cursor in Visual FoxPro
Keywords: kbbug KB131213