C
Chris
The code below works fine in a form of MS Access 2000 but it fails to run in
Access 2003 with an error message "Data provider could not be initialized."
Code:
'-------------------------------------------------------------------------------------------
strSQL1 = "Select * from RAW_HOUSE_PRICE_INDEX_TEMP IN '' [MS
Access;Database=C:\Db_v2.mdb;Pwd=234];"
Me.Form.RecordSource = strSQL1
'-------------------------------------------------------------------------------------------
If i copy the SQL and run in MS Query, i can obtain the results correctly
but i just could not put it into the "Form.RecordSource"
Thanks for your kind help in advance!
Access 2003 with an error message "Data provider could not be initialized."
Code:
'-------------------------------------------------------------------------------------------
strSQL1 = "Select * from RAW_HOUSE_PRICE_INDEX_TEMP IN '' [MS
Access;Database=C:\Db_v2.mdb;Pwd=234];"
Me.Form.RecordSource = strSQL1
'-------------------------------------------------------------------------------------------
If i copy the SQL and run in MS Query, i can obtain the results correctly
but i just could not put it into the "Form.RecordSource"
Thanks for your kind help in advance!