oscar lopez
Programmer
I have a form with a grid, the first column is not in the packages table, I added a checkbox. but the last marked row is being selected in the checkbox, it is maintained despite closing the form.
The value that is configured in the check1.value is 0, after configuring the recordsource and the grid source control, I have this code but the problem continues.
The value that is configured in the check1.value is 0, after configuring the recordsource and the grid source control, I have this code but the problem continues.
Code:
SET PATH TO "C:\Users\oscar\Documents\Visual FoxPro Projects\transport\dbfs"
USE IN 0 SHARED packages
Thisform.packages.RecordSource = "packages"
Thisform.packages.column2.ControlSource = "packages.code"
Thisform.packages.column3.ControlSource = "packages.name"
Thisform.packages.column4.ControlSource = "packages.address"
Thisform.packages.column5.ControlSource = "packages.phone"
Thisform.packages.refresh
thisform.packages.setfocus()
thisform.refresh