Hi!
This is my first attemp to use a checkbox in a grid. I have a grid with a checkbox in the last column (7th)
The RecordSource for the grid is an updateable cursor created following Marcia's suggestions in '1001 Things..'
The Value set in the properties for the checkbox is set to .F.
The values show in the grid and I can edit the fields as needed but when I tab into or click the mouse in the checkbox, I get an error:
"Error with chkPay - Valueata Type Mismatch"
The cursor field is set to .F. in the SELECT query.
I can't catch it in DEBUG. Everything is fine, I click, get the error, and nothing shows in debug.
I am at a loss to know how to catch the problem. As I said - my first attempt.
Thanks for any help.
Judi
This is my first attemp to use a checkbox in a grid. I have a grid with a checkbox in the last column (7th)
The RecordSource for the grid is an updateable cursor created following Marcia's suggestions in '1001 Things..'
Code:
USE DBF('csrTemp') AGAIN IN 0 ALIAS PayTick
USE IN csrTemp
SELECT PayTick
The Value set in the properties for the checkbox is set to .F.
The values show in the grid and I can edit the fields as needed but when I tab into or click the mouse in the checkbox, I get an error:
"Error with chkPay - Valueata Type Mismatch"
The cursor field is set to .F. in the SELECT query.
I can't catch it in DEBUG. Everything is fine, I click, get the error, and nothing shows in debug.
I am at a loss to know how to catch the problem. As I said - my first attempt.
Thanks for any help.
Judi