Hi All,
I am looking at porting a complex Access reporting app to Alpha Five Web 10.5 (Well really Ver 11 when it comes out as I need the Charting and Mapping modules!)
So being quite new to Alpha Five I have everything to learn and it seems I am going to be pushing the envelope to convert this App. To develop the Access app I have used every bit of my 15 years as an Access / VBA developer skills to create it, so I know I am really biting off more than I can chew with my current low level of Alpha Five knowledge but the client really really wants this on the Web so... what the clients wants the client gets..
So one thing I have to find out before I can even begin down the road is...
Can this be done and How it can it be done?
I need to change the Connect string (to a MS SQL Server) on the fly as I report over some 160 databases on the same server. Yes 161 is the current count! Don't ask!
OK, so since you did ask! I know seems madness but basically one for each Client/Location. It is partly for security but mostly for performance. If all the databases were combined it run like a dog!
Each database has the same structure so that is fine.
On the main Charting form the users are presented with a list of databases they have access to (based on rights derived from "Master" or "Control" database that I reference) They select one or more of them (By moving them from an Available list-box to a Selected list-box) as per this screen shot
Then I go cycle through each database, extracting the data I need for the given date range from that database and append it to a local table that is de-normalized and now forms the basis for drill down graphing/charting. the user can do.
So I hope I am explaining myself
Right now, in Access I have vast number of linked tables and Pass-Through queries (think queries that run on the SQL Server rather than the client) that I change the Connect String by cycling through the tables and queries collections and change the connect string based on the current database I am working with. I have a (I may say so myself) a highly evolved process for this and it works very very well.
So how in Alpha Five Web world of Grids etc would I change the Named Connection string on the fly like this?
Any advance would be gratefully received!
Bruce
I am looking at porting a complex Access reporting app to Alpha Five Web 10.5 (Well really Ver 11 when it comes out as I need the Charting and Mapping modules!)
So being quite new to Alpha Five I have everything to learn and it seems I am going to be pushing the envelope to convert this App. To develop the Access app I have used every bit of my 15 years as an Access / VBA developer skills to create it, so I know I am really biting off more than I can chew with my current low level of Alpha Five knowledge but the client really really wants this on the Web so... what the clients wants the client gets..
So one thing I have to find out before I can even begin down the road is...
Can this be done and How it can it be done?
I need to change the Connect string (to a MS SQL Server) on the fly as I report over some 160 databases on the same server. Yes 161 is the current count! Don't ask!
OK, so since you did ask! I know seems madness but basically one for each Client/Location. It is partly for security but mostly for performance. If all the databases were combined it run like a dog!
Each database has the same structure so that is fine.
On the main Charting form the users are presented with a list of databases they have access to (based on rights derived from "Master" or "Control" database that I reference) They select one or more of them (By moving them from an Available list-box to a Selected list-box) as per this screen shot
Then I go cycle through each database, extracting the data I need for the given date range from that database and append it to a local table that is de-normalized and now forms the basis for drill down graphing/charting. the user can do.
So I hope I am explaining myself
Right now, in Access I have vast number of linked tables and Pass-Through queries (think queries that run on the SQL Server rather than the client) that I change the Connect String by cycling through the tables and queries collections and change the connect string based on the current database I am working with. I have a (I may say so myself) a highly evolved process for this and it works very very well.
So how in Alpha Five Web world of Grids etc would I change the Named Connection string on the fly like this?
Any advance would be gratefully received!
Bruce
Comment