| View previous topic :: View next topic |
| Author |
Message |
keba Newbie
Joined: 22 Nov 2005 Posts: 2
|
Posted: Dec 8th, 2005 08:13 AM Post subject: connection |
|
|
Dear Authors
I was trying from last time. i would like to connect to database, writing code in the module using the error trap bu i failed to do that , so if authors could solve my problem .
My code is as follows
On Error GoTo connect_database_error
gconn.ConnectionString = gconn1 & App.Path & "\Exer20.mdb" & gconn2
gconn.Open
connect_database = True
Exit Function
connect_database_error:
I would be grateful if u all solve the problem faster |
|
| Back to top |
|
VB_Developer Newbie
Joined: 25 Feb 2006 Posts: 18 Location: Hyderabad, India
|
Posted: Feb 26th, 2006 04:00 AM Post subject: |
|
|
Hi,
Could you please post your full code and let us know the values of this both variables gconn1 and gconn2.
Thanks |
|
| Back to top |
|
|