Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. superfcbear

    Can you use IF/THEN/ELSE in an Update Query?

    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...
  2. superfcbear

    Can you use IF/THEN/ELSE in an Update Query?

    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
  3. superfcbear

    Can you use IF/THEN/ELSE in an Update Query?

    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] =...

Part and Inventory Search

Back
Top