I am running the following simple bit of code
"Private Sub Command70_Click()
While "tauto" <> ""
DoCmd.RunMacro "tauto2"
Wend
End Sub
A query strips off the "first" table item on each loop,until nothing is left in the table.
Tablename=Tauto.
It loops perfectly,and processes each entry,BUT doesnt stop when the table reaches nil.
Any suggestions,how I should adjust the while statement pls
"Private Sub Command70_Click()
While "tauto" <> ""
DoCmd.RunMacro "tauto2"
Wend
End Sub
A query strips off the "first" table item on each loop,until nothing is left in the table.
Tablename=Tauto.
It loops perfectly,and processes each entry,BUT doesnt stop when the table reaches nil.
Any suggestions,how I should adjust the while statement pls