DiscoPistol
Active Member
- Joined
- Jun 6, 2006
- Messages
- 262
Morning all,
Just after a bit of advice about an unusual problem I've encountered.
I've been asked to build a database for another organisation with the proviso that the Front end and Back end are separate.
I've managed to do this but I've had to build in 64 bit (as I have a 64bit machine and 64 bit Office) but I have an inkling that the other organisation will be on 32bit
The code I have looks like this
I do have some machines with 32bit Runtime on but the above code (not surprisingly) doesn't work and my revised code (see below) doesn't work either. Of course its Runtime so I have no idea why.
My question is, am I missing something obvious? Will the code never run in Runtime for instance or have I missed something out?
I don't usually dabble in Access so any ideas would be welcome.
Thanks
DP
Just after a bit of advice about an unusual problem I've encountered.
I've been asked to build a database for another organisation with the proviso that the Front end and Back end are separate.
I've managed to do this but I've had to build in 64 bit (as I have a 64bit machine and 64 bit Office) but I have an inkling that the other organisation will be on 32bit
The code I have looks like this
Code:
Set Cn = CreateObject("ADODB.Connection")
With Cn
.Provider = "Microsoft.Ace.OLEDB.12.0"
.ConnectionString = "Data Source=" & database_path
End With
Cn.Open
I do have some machines with 32bit Runtime on but the above code (not surprisingly) doesn't work and my revised code (see below) doesn't work either. Of course its Runtime so I have no idea why.
Code:
Set Cn = CreateObject("ADODB.Connection")
With Cn
.Provider = "Microsoft.Jet.OLEDB.4.0"
.ConnectionString = "Data Source=" & database_path
End With
Cn.Open
My question is, am I missing something obvious? Will the code never run in Runtime for instance or have I missed something out?
I don't usually dabble in Access so any ideas would be welcome.
Thanks
DP