Help with Check boxes

Rupelo

New member
Local time
Today, 16:22
Joined
Nov 21, 2006
Messages
8
Hell there all... I have a little problem and it goes a little something like this

I have seven check boxes that correspond with the numbers 1- 7

I would like to know, when I generate my report how do I get the checked boxes to display their respective numbers and the unchecked ones to display nothing?

thankig u all in advance
Sin Cero
Rupelo
:) :)
 
check boxes

In the OnPrint event of your report place this.

If [checkbox1]=-1 then
[textbox1]=1
else [textbox1]=""
end if


Place a texbox for each checkbox in your report and use the above code.
There are several ways to do this, this is just a simple case.
The -1 means that the checkbox was checked.
 

Users who are viewing this thread

Back
Top Bottom