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 Mike Lewis 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. RobbieMac

    Multiple Switches

    use iif([timevalue] is null,nullresult,something ) Kind regards
  2. RobbieMac

    Multiple Switches

    Try this : You can't use OR operators inside a switch command!! SQLstr = Switch([WeekDay] = "Monday", TimeValue(Left([Schedules]![Monday], 5)), [WeekDay] = "Tuesday", TimeValue(Left([Schedules]![Tuesday], 5)), [WeekDay] = "Wednesday&quot...
  3. RobbieMac

    query problem

    This is how I would tackle your problem Some of this may seem obvious sorry ! Dim stord As String ' MAC Change 1 Dim SQLstr As String Dim rs As Recordset Dim dbs As Database Set dbs = CurrentDb() ' This is just good form ' End MAC Change 1 real_total.Locked = True real_total.Enabled = False...

Part and Inventory Search

Back
Top