Hello everybody,
I am new to Postgresql. I'm currently using a multiuser MsAccess database, and I want to migrate to PG because of the errors that I have to deal with, when more than 20-25 users simultaneoulsy access that database.
Details about Access database (so that you know what I want from PG Frontend):
-app is used in a bank, so it needs to be VERY safe and secure (safe transactions, no data corruption and no unauthorised access)
-database has about 60 tables;
-the main tables have about 8000 / 32000 / 25000 records
-accessed by 30-40 users simultaneously (soon it will grow in complexity and number of users)
-it has the back-end located in a network share, and the front-ends are located on workstations
-I DO NOT use linked tables; I use ADO + Microsoft Jet for OLEDB 4.0 and transactions(BeginTrans/Commit/Rollback)
-a single ADO connection opened when launching application and closed at the end
-for data manipulation I used ONLY "INSERT INTO" and "UPDATE" SQL statements, called with ADOConnection.Execute (SQL_STRING)
-ALL the edit/add record operations consists of the following:
* the user search for a record;
* then opens a client-side ADO recordset with only one record which then is displayed, field by field, through VBA code, in a modal form, like this:
forms("frmXYZ").controls("txtabc")= rs.fields("abc")
forms("frmXYZ").controls("txtbcde")= rs.fields("bcde")
...............and so on............................;
* the modal form can be closed ONLY with the following actions:
- SAVE AND CLOSE -> calls a procedure with INSERT/UPDATE
- CLOSE WITHOUT SAVE ->simply close the form
-the ADO Connection is initialised in a SINGLE Module, which makes very easy to configure the connection parameters,since they can edited in a single place;
BELOW ARE MY QUESTIONS (I need you to give me a point to start from, because there's plenty on information over the net and I don't know where to begin from ) :
?????????????????????????????????????????????????????????
Q1. Would it be safe and efficient enough to use the same Access app. as FrontEnd, and only rewrite the code to connect ADOConnecton to PGSQL database ?
Q2. If Q1=yes, then how should I connect ? (using DSN, ODBC / OLEDB etc) ; and how much does the PGSQL differ from AccessSQL (I mean the INSERT and UPDATE Statements) ?
Q3. If Q1=NO, then what interface would be the most recommended to develop for adding/edit records in a PG database, which allows THE FASTEST and EASIEST development (in the same 'single record edit mode' described above) ?
Q4. (opposite to Q3)If Q1=NO, then what interface would be the most recommended to develop for adding/edit records in a PG database, which allows building a COMPLEX interface, nu matter how difficult and time-consuming the development would be ?
Q4. What about TCL/TK (I know nothing about it, but I'm willing to learn), or a web-based interface using PHP ? In this case, what software will be needed / recommended ? (web server- ex APACHE, Websphere, etc)
Q5. What about an interface built in VB6 ? (I have good knowledge of both VBA and VB6)
?????????????????????????????????????????????????????
*** NOTE: At my job, I use WinXP / Win2k; For installing Postgres server, most likely it would be a Windows machine, though I know it will be better to use FreeBSD or Linux
Any help would be much appreciated; I need you to tell me where should I start with learning, cause right now I'm a little bit confused.
Thanx in advance !
I am new to Postgresql. I'm currently using a multiuser MsAccess database, and I want to migrate to PG because of the errors that I have to deal with, when more than 20-25 users simultaneoulsy access that database.
Details about Access database (so that you know what I want from PG Frontend):
-app is used in a bank, so it needs to be VERY safe and secure (safe transactions, no data corruption and no unauthorised access)
-database has about 60 tables;
-the main tables have about 8000 / 32000 / 25000 records
-accessed by 30-40 users simultaneously (soon it will grow in complexity and number of users)
-it has the back-end located in a network share, and the front-ends are located on workstations
-I DO NOT use linked tables; I use ADO + Microsoft Jet for OLEDB 4.0 and transactions(BeginTrans/Commit/Rollback)
-a single ADO connection opened when launching application and closed at the end
-for data manipulation I used ONLY "INSERT INTO" and "UPDATE" SQL statements, called with ADOConnection.Execute (SQL_STRING)
-ALL the edit/add record operations consists of the following:
* the user search for a record;
* then opens a client-side ADO recordset with only one record which then is displayed, field by field, through VBA code, in a modal form, like this:
forms("frmXYZ").controls("txtabc")= rs.fields("abc")
forms("frmXYZ").controls("txtbcde")= rs.fields("bcde")
...............and so on............................;
* the modal form can be closed ONLY with the following actions:
- SAVE AND CLOSE -> calls a procedure with INSERT/UPDATE
- CLOSE WITHOUT SAVE ->simply close the form
-the ADO Connection is initialised in a SINGLE Module, which makes very easy to configure the connection parameters,since they can edited in a single place;
BELOW ARE MY QUESTIONS (I need you to give me a point to start from, because there's plenty on information over the net and I don't know where to begin from ) :
?????????????????????????????????????????????????????????
Q1. Would it be safe and efficient enough to use the same Access app. as FrontEnd, and only rewrite the code to connect ADOConnecton to PGSQL database ?
Q2. If Q1=yes, then how should I connect ? (using DSN, ODBC / OLEDB etc) ; and how much does the PGSQL differ from AccessSQL (I mean the INSERT and UPDATE Statements) ?
Q3. If Q1=NO, then what interface would be the most recommended to develop for adding/edit records in a PG database, which allows THE FASTEST and EASIEST development (in the same 'single record edit mode' described above) ?
Q4. (opposite to Q3)If Q1=NO, then what interface would be the most recommended to develop for adding/edit records in a PG database, which allows building a COMPLEX interface, nu matter how difficult and time-consuming the development would be ?
Q4. What about TCL/TK (I know nothing about it, but I'm willing to learn), or a web-based interface using PHP ? In this case, what software will be needed / recommended ? (web server- ex APACHE, Websphere, etc)
Q5. What about an interface built in VB6 ? (I have good knowledge of both VBA and VB6)
?????????????????????????????????????????????????????
*** NOTE: At my job, I use WinXP / Win2k; For installing Postgres server, most likely it would be a Windows machine, though I know it will be better to use FreeBSD or Linux
Any help would be much appreciated; I need you to tell me where should I start with learning, cause right now I'm a little bit confused.
Thanx in advance !