Hello guys. I'm very new in visual foxpro and I need help for a simple project.
I have one table, one form, one grid in that form and I need to know three things:
1. How do I program the DblClick procedure of my logical field's header, to change all values in "true" and viceversa (if they are all "true" to make them all "false")
2. How do I program my report command button to print only the records marked with "true"
3. In case that they are all "false" and I hit the report button, avoid an error and eventually pop up a message with the text "Invalid print selection" (I placed check boxes in the logical field)
Am I asking for too much? I will really appreciate your help. Thank you!
I have one table, one form, one grid in that form and I need to know three things:
1. How do I program the DblClick procedure of my logical field's header, to change all values in "true" and viceversa (if they are all "true" to make them all "false")
2. How do I program my report command button to print only the records marked with "true"
3. In case that they are all "false" and I hit the report button, avoid an error and eventually pop up a message with the text "Invalid print selection" (I placed check boxes in the logical field)
Am I asking for too much? I will really appreciate your help. Thank you!