I don't know what the logical AND of these fields will receive, but I would prefer this :
if not IsNull(me.PO_BOX) OR not isNull(Me.STREET) then
print xxxx
endif
- FirstDirk
xq
you can try this :
in your form you create several boxes a1,a2,a3,...
but all .visible = false
strSQL="select field1 as a1, field2 as a2 ... (dynamic)
from tab where ..." ' what ever you want.
depending on the fields you select you do
a1.visible = true
a2.visible = true...
simma,
in my programs I tried this :
Dim strSQL As String
Dim Dlm As String
Dlm = "'"
If InStr([Field2], "'") > 0 Then Dlm = """"
strSQL = "UPDATE tab2 SET Field2 = " & Dlm & _
[Field2] & Dlm & " where field1 = " &...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.