I keep getting an automation error in this snipet of code:
The error varies depending on if I have quotes around the:
rst2.Fields("SubAccount")
Anyone know how to shove rst2.Fields("SubAccount") into a string?
rst2.Find "[AccountNum] = #" & Me.AccountNum & "# "
str_Name = rst2.Fields("SubAccount")
rst3.Find "[Name] = '" & str_Name & "'"
The error varies depending on if I have quotes around the:
rst2.Fields("SubAccount")
Anyone know how to shove rst2.Fields("SubAccount") into a string?