I am using the following query to return one result and assign it to a variable in Access 2000:
SQLa = "Select Actual from SameAs where SA1 = '" & Coil & "';"
Set rs = conn.Execute(SQLa, , adCmdText)
SA1 = rs.Fields("Actual").Value
My question is how to handle the results being assigned to a variable if more that 1 result is returned.
Thank you for the assistance.
SQLa = "Select Actual from SameAs where SA1 = '" & Coil & "';"
Set rs = conn.Execute(SQLa, , adCmdText)
SA1 = rs.Fields("Actual").Value
My question is how to handle the results being assigned to a variable if more that 1 result is returned.
Thank you for the assistance.