Hey all,
I am designing a reporting application that pulls data from a SQL 6.5 database and puts it on a VB6 DataReport. One of the features of the report needs to be a list of fields that have not been filled in by the user -- ie, if they haven't filled in the effective date for a transaction, or the name of an underwriter, etc.
I would like to display the fields that are not complete as a series of checkboxes, checking the boxes that still need to be filled in.
Thus, if the field is null, I want it to be checked; if it contains data, it should be unchecked.
When I run the query, I am able to convert the returned value for the fields to a 1 if the field is null, and a 0 if it contains data (using a stored procedure that does several data manipulations).
As far as data is concerned, I think I have everything in place. The problem is that I haven't seen any type of checkbox control for the DataReport. I have noticed that the RptTextBox control has a checkbox format in the DataFormat property page, but this doesn't display a checkbox.
Would it be possible for me to use an Image control to display an image of a checkbox when appropriate?
Does anyone know how I can display this data as the users want, using the DataReport? Would Crystal Reports maybe be a better way to go? I'm not really familiar with CR, so I'm not sure of its capabilities.
Thanks for any help.
Steve
[sig][/sig]
I am designing a reporting application that pulls data from a SQL 6.5 database and puts it on a VB6 DataReport. One of the features of the report needs to be a list of fields that have not been filled in by the user -- ie, if they haven't filled in the effective date for a transaction, or the name of an underwriter, etc.
I would like to display the fields that are not complete as a series of checkboxes, checking the boxes that still need to be filled in.
Thus, if the field is null, I want it to be checked; if it contains data, it should be unchecked.
When I run the query, I am able to convert the returned value for the fields to a 1 if the field is null, and a 0 if it contains data (using a stored procedure that does several data manipulations).
As far as data is concerned, I think I have everything in place. The problem is that I haven't seen any type of checkbox control for the DataReport. I have noticed that the RptTextBox control has a checkbox format in the DataFormat property page, but this doesn't display a checkbox.
Would it be possible for me to use an Image control to display an image of a checkbox when appropriate?
Does anyone know how I can display this data as the users want, using the DataReport? Would Crystal Reports maybe be a better way to go? I'm not really familiar with CR, so I'm not sure of its capabilities.
Thanks for any help.
Steve
[sig][/sig]