Bigmo2u
05-14-2008, 12:09 PM
I have a table that needs to be updated after it is imported. It keeps asking me for a perameter. Here is what I have.
Dim uSDN As String
Dim aStatus As String
aStatus = "A"
uSDN = "UPDATE tblSDN Set tblSDN.Status = aStatus WHERE tblSDN.Status Is Null"
DoCmd.RunSQL uSDN
I went as far as assigning the variable because it keeps asking for a perameter.
I know it is something simple and I am just missing it. End of the day and I am losing my mind.
I messed around with the Null issue, but that is not throughing me any errors right now.
Thanks for you help in advance.
Dim uSDN As String
Dim aStatus As String
aStatus = "A"
uSDN = "UPDATE tblSDN Set tblSDN.Status = aStatus WHERE tblSDN.Status Is Null"
DoCmd.RunSQL uSDN
I went as far as assigning the variable because it keeps asking for a perameter.
I know it is something simple and I am just missing it. End of the day and I am losing my mind.
I messed around with the Null issue, but that is not throughing me any errors right now.
Thanks for you help in advance.