Hi
Had a database that was in Access and has now been imported in SQL Server 7, when i run a query that was working fine against the Access backend it fails to display any results.
The code is the same nothing has changed. the query is actually returning information as i have dumped some out onto the page.
the code for the query is:
strQry ="Select * from tblPress WHERE Display=1 ORDER BY AddDate DESC"
objRS.Open strQry, objConn,3,3
I have got an if statement which is being invoked that checks to see if the recordcount is greater than 1. Can the recordcount function be used with sql server 7 ???
hope this makes sense !
any ideas ?
Had a database that was in Access and has now been imported in SQL Server 7, when i run a query that was working fine against the Access backend it fails to display any results.
The code is the same nothing has changed. the query is actually returning information as i have dumped some out onto the page.
the code for the query is:
strQry ="Select * from tblPress WHERE Display=1 ORDER BY AddDate DESC"
objRS.Open strQry, objConn,3,3
I have got an if statement which is being invoked that checks to see if the recordcount is greater than 1. Can the recordcount function be used with sql server 7 ???
hope this makes sense !
any ideas ?