Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
using a variable in an Access Query
#3
Thank you. I also had to wrap the date in # symbols to make it work:

str sd.time(d "MM/dd/yyyy")
str sdTemp.from("#" sd)
sd.from(sdTemp "#")

str sql.format("SELECT ALT FROM Table1 WHERE Date = %s" sd)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)