G
Guest
Any one can help me pls.
here I have one more solution.
I create a form with 3 checkboxes and 3 text boxes and one command button
like this :
check1 , check2 , check3
text1 , text2 , text3
cmdPrint
In Form1 :
private sub check1_click()
text1 = check1 * (-1) 'if the checkbox is checked the text box will
show 1
end sub
private sub check2_click()
text2 = check2 * (-2) 'if the checkbox is checked the text box will
show 2
end sub
private sub_check3_click()
text3 = check3 * (-3)
end sub
Can I use the text box Item to filter my data (I have one report upon with a
query) when I preview It will show only the textbox item ,like this
if checkbox1 and checkbox3 are selected then text1 = 1 and text3 = 3
the data will show only part1 and part3
here are the sample database :
no. name part
1 patrick 2
2 sofitel 3
3 ben 2
4 kim 1
here I have one more solution.
I create a form with 3 checkboxes and 3 text boxes and one command button
like this :
check1 , check2 , check3
text1 , text2 , text3
cmdPrint
In Form1 :
private sub check1_click()
text1 = check1 * (-1) 'if the checkbox is checked the text box will
show 1
end sub
private sub check2_click()
text2 = check2 * (-2) 'if the checkbox is checked the text box will
show 2
end sub
private sub_check3_click()
text3 = check3 * (-3)
end sub
Can I use the text box Item to filter my data (I have one report upon with a
query) when I preview It will show only the textbox item ,like this
if checkbox1 and checkbox3 are selected then text1 = 1 and text3 = 3
the data will show only part1 and part3
here are the sample database :
no. name part
1 patrick 2
2 sofitel 3
3 ben 2
4 kim 1