I am feeling really stupid........
OK. I after I did my functions, HOW DO I CALL IT in my update query?
I have two tables that I've joined. And do I put it in the "update to" box? and just call it "VarVal()" (per Michael's example)? Apparently that's not right 'coz it...
Michael,
Another really simple question......
in my "Function VarVal(Tbl1Fld1 As String) As Integer" statment, how do I declare my tbl1fld1 ? is it
tbl1.fld1
or
[tbl1]![fld1]
THanks Michael
-superfcbear
I know this is at someone's fingertips....
Can I use and if/then/else in an update query? Or SQL code??
I would've used iif but then I have more than 2 conditions.
I need something like this:
if [Table1]![field1] = "y" then [Table2]![field1]=1
else if [Table1]![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.