Thanks for your help, but no go... im increasing the Point Value to 300
Another thing... when the run time error comes up, the following code is highlighted in the Customer form when i debug.
mrsCustomers.Open pstCustomersSQL, gcnCoastandCountry, adOpenStatic, adLockOptimistic, adCmdText
Thanks,
Spiz
Main Topics
Browse All Topics





by: ryancysPosted on 2004-04-23 at 10:02:16ID: 10901742
in your module:
EDB.4.0;Da ta Source=" & Replace(App.Path & "\CoastandCountry.mdb","\\ ,"\")
.com/MDAC/ ADO/Connec tion/ OLEDB _Providers .htm#OLEDB ProviderFo rMicrosoft Jet gs.com
try check whether the connection to db is established or not:
..
gcnCoastandCountry.Open "Provider = Microsoft.jet.OLEDB.4.0; Data Source = CoastandCountry.mdb"
if gcnCoastandCountry.state = adStateClosed then
msgbox "Connection valid"
elseif gcnCoastandCountry.state = adStateClosed then
msgbox "Connection failed"
else
msgbox "something wrong here.."
end if
..
For the connectionString, you may put a Full path too.. like:
change:
gcnCoastandCountry.Open "Provider = Microsoft.jet.OLEDB.4.0; Data Source = CoastandCountry.mdb"
to:
gcnCoastandCountry.Open "Provider=Microsoft.Jet.OL
ConnectionString references:
http://www.able-consulting
http://www.connectionstrin
Hope this helps