prabha_friend
Prabhakaran Karuppaih
- Local time
- Tomorrow, 00:27
- Joined
- Mar 22, 2009
- Messages
- 1,020
ProjectA: C# class library project
ProjectB: .Net MAUI Blazor Hybrid project
ProjectB: .Net MAUI Blazor Hybrid project
The problem is building the connection string. Where the database file (any database file) would be residing after deployment and How to access the exact same file... is where the problem is.Jet/ACE are ODBC compliant. To get data from an .mdb or .accdb, your code needs to use ODBC to make proper connections. I think DAO is only used within VBA. You probably need to use ADO.
If you don't know where the database is then that is a problem. Do they move around? Because if they don't then you can have a setup procedure that locates the database so that the app can build the correct connection string.The problem is building the connection string. Where the database file (any database file) would be residing after deployment and How to access the exact same file... is where the problem is.
You know... In MAUI. The target machine may be an Android or an Iphone or a PC. PC has drives and what about other devices...If you don't know where the database is then that is a problem. Do they move around? Because if they don't then you can have a setup procedure that locates the database so that the app can build the correct connection string.
Files are files. They're just buckets of bits. Using a file is different and these .accdb's are to be used to provide data.
.....I'm pretty sure ......I think he wants the phones.....
You're being pretty aggressive and downright nasty. Get a grip. Take a deep breath and allow our colleague to chime in. It's probably sleepytime for him now.I, on the other hand, read what our colleague writes, and if possible I try to help him
And yet you refused to elaborate on exactly how one would be able to get data from an .accdb on a phone when asked. If you think that is the solution our friend is looking for then, what's the big deal? Share it with us while the OP sleeps.I don't think proposing a solution, even if you said there isn't one,