F
FA
Hi Freinds,
I have ten combo boxes on a form that takes only Yes or No. There is a
reason to make them as combo instead of making check boxes.
The data in these ten fields is comming from a JSP Webpage. There are
10 check boxes on the webpage and user can check one or many. The data,
its providing me from the JSP page is if the user check the box, it
gives me 'qr02a' for one check box, similarly for other check boxes if
the user check the box on the webpage it gives me the data in form of
'qr03a, qr04a and so on. I get the data in an excel sheet and then i
upload it on the sql server.
I couldnt make the check boxes on my MS Access form since it only allow
me to take 1,2,0,,,.
Thats the reason i had to make the combo box for each check box option.
I want to do something like following:
If the combo box does not gets the any value from the excel sheet, i
want it to automatically show the value NO on the form. For each of the
ten options i have the lookup tables having the following values:
Following is an example of one lookup table.
DA_ID DA
qr02a Yes
qr02b No
I tried to pass 'qr02b' on the form open event but its not working.
Private Sub Form_Open(Cancel As Integer)
If Nz(Me.DA_ID) <> "" Then
DA_ID = "qr02b"
End If
Its not working for me folks. Can someone help me out please.
Thanks
Moe
I have ten combo boxes on a form that takes only Yes or No. There is a
reason to make them as combo instead of making check boxes.
The data in these ten fields is comming from a JSP Webpage. There are
10 check boxes on the webpage and user can check one or many. The data,
its providing me from the JSP page is if the user check the box, it
gives me 'qr02a' for one check box, similarly for other check boxes if
the user check the box on the webpage it gives me the data in form of
'qr03a, qr04a and so on. I get the data in an excel sheet and then i
upload it on the sql server.
I couldnt make the check boxes on my MS Access form since it only allow
me to take 1,2,0,,,.
Thats the reason i had to make the combo box for each check box option.
I want to do something like following:
If the combo box does not gets the any value from the excel sheet, i
want it to automatically show the value NO on the form. For each of the
ten options i have the lookup tables having the following values:
Following is an example of one lookup table.
DA_ID DA
qr02a Yes
qr02b No
I tried to pass 'qr02b' on the form open event but its not working.
Private Sub Form_Open(Cancel As Integer)
If Nz(Me.DA_ID) <> "" Then
DA_ID = "qr02b"
End If
Its not working for me folks. Can someone help me out please.
Thanks
Moe