I have a query which returns name, address, telephone, addressL1, addressL2, addressL3, email, fax from a table.
eg
sql="SELECT * FROM people_info where person_id='1234'"
I then set a variable to store each of these values.
eg psaddressL1=(rsInfo("addressL1"))
However in the database addressL1 and addressL2 are empty for this person_id so when i try and assign them to variables i get an error "No current record".
Is there a way of checking if these columns are empty and if they are assign the variable to be addressL2= " " etc. ?
Thanks!
eg
sql="SELECT * FROM people_info where person_id='1234'"
I then set a variable to store each of these values.
eg psaddressL1=(rsInfo("addressL1"))
However in the database addressL1 and addressL2 are empty for this person_id so when i try and assign them to variables i get an error "No current record".
Is there a way of checking if these columns are empty and if they are assign the variable to be addressL2= " " etc. ?
Thanks!