All,
I am looking to get a count of a record set and dump it into a variable.
I attempted to do the following:
docmd.runsql ("select count(*) from Schedule where pdate is between" & variable1 & " and" & variable2.
I learned from another post that runsql requires action.
HOW DO I DO THIS??
Thanks in advance
I am looking to get a count of a record set and dump it into a variable.
I attempted to do the following:
docmd.runsql ("select count(*) from Schedule where pdate is between" & variable1 & " and" & variable2.
I learned from another post that runsql requires action.
HOW DO I DO THIS??
Thanks in advance