J
Joe
HEllo,
In My Access2000 Module i have:
-------------------------------------------
Set adoConn = CurrentProject.Connection
sql = "SELECT organizationName, (TRIM(LCASE(countryName)) Like 'belg*') AS
isInBelgium FROM organization;"
rs = conn.execute(sql);
The problem is:
------------------------------
When i run the above query in Access, i get:
- '' IF countryName was empty
- '-1' IF countryName was Like 'belg*'
- '0' IF countryName was not Like 'belg*'
However, when i run via ADO like in the above example, i get
- '0' IF countryName was empty
- '1' IF countryName was Like 'belg*'
- '1' IF countryName was not Like 'belg*'
What happens? whay does ado change these values?
Thnx in advance ...
In My Access2000 Module i have:
-------------------------------------------
Set adoConn = CurrentProject.Connection
sql = "SELECT organizationName, (TRIM(LCASE(countryName)) Like 'belg*') AS
isInBelgium FROM organization;"
rs = conn.execute(sql);
The problem is:
------------------------------
When i run the above query in Access, i get:
- '' IF countryName was empty
- '-1' IF countryName was Like 'belg*'
- '0' IF countryName was not Like 'belg*'
However, when i run via ADO like in the above example, i get
- '0' IF countryName was empty
- '1' IF countryName was Like 'belg*'
- '1' IF countryName was not Like 'belg*'
What happens? whay does ado change these values?
Thnx in advance ...