Hi All
Apologies, my access is more query based that VBA - but I'm trying to change that!
I have a yes/no box in a table that I wish to perform an 'IF' transaction around but for the life of me can't work out how to access it. e.g., I 'd like code to do somethig like:
If tbl_alpha.yesBox = TRUE Then
sqlstr="something"
else
If tbl_alpha.yesBox = FAKSE Then
sqlstr="something else"
End if
I can't find the right syntax - can anyone help me out please?
Thanks
Scube
Apologies, my access is more query based that VBA - but I'm trying to change that!
I have a yes/no box in a table that I wish to perform an 'IF' transaction around but for the life of me can't work out how to access it. e.g., I 'd like code to do somethig like:
If tbl_alpha.yesBox = TRUE Then
sqlstr="something"
else
If tbl_alpha.yesBox = FAKSE Then
sqlstr="something else"
End if
I can't find the right syntax - can anyone help me out please?
Thanks
Scube