I've declared variables in my code to equate a value at the beginning of a loop and wanted to "re-set" the variable to nothing at the end.
Part of it looks something like:
This is only excerpts of my code. Anyhow, I get an "Invalid Qualifier" message when I reset the GetDate value in this way. What's the proper way to write this line?
Any insights? [sig][/sig]
Part of it looks something like:
Code:
Dim dbs As Database
Dim rst As Recordset
Dim rstFilter As Recordset
Dim GetDate As String
GetDate = Forms!frmMain!ActiveXCalendar.Value
Set dbs = Nothing
Set rst = Nothing
Set rstFilter = Nothing
GetDate.Value = ""
This is only excerpts of my code. Anyhow, I get an "Invalid Qualifier" message when I reset the GetDate value in this way. What's the proper way to write this line?
Any insights? [sig][/sig]