Maximilian Tyrtania
2007-08-07 12:23:23 UTC
Hi there,
This is my 1st post to this list, so please bare with me.
We have a big inhouse application that currently uses a non PGSQL backend,
and we are considering to migrate to Postgres. Now, the problem is that my
client app is a pretty big RB application that uses the conventional
approach to read data from a database like this:
Dim RS as RecordSet
Rs=SomeDBConnection.SQLSelect(SomeSQL)
While NOT Rs.eof
//do something
Rs.movenext
Wend
Or :
SomeDBConnection.Execute("Insert ...")
If SomeDB.Connection error then...
My question is basically if there is a painless way to make that kind of
code "pgSQL4RB-compliant", without using any fancy bindings.
Tia,
Maximilian Tyrtania | ***@fischerAppelt.de
fischerAppelt Kommunikation GmbH
Friedichstr. 149 | D-10117 Berlin | Germany
Tel. ++49-30-726146-728 | Fax ++49-30-726146-710
www.fischerAppelt.de
---------------------------------------------------------------------------
Sitz der Gesellschaft: Hamburg
Standorte: Hamburg, Berlin, Düsseldorf, Frankfurt, München, Stuttgart
Die Gesellschaft ist Teil des Everpublic Networks
Handelsregister: Amtsgericht Hamburg, HRB 49259
Geschäftsführer: Andreas Fischer-Appelt, Bernhard Fischer-Appelt
+++ fischerAppelt macht Fernsehen: www.fischerappelt-tvmedia.com +++
This is my 1st post to this list, so please bare with me.
We have a big inhouse application that currently uses a non PGSQL backend,
and we are considering to migrate to Postgres. Now, the problem is that my
client app is a pretty big RB application that uses the conventional
approach to read data from a database like this:
Dim RS as RecordSet
Rs=SomeDBConnection.SQLSelect(SomeSQL)
While NOT Rs.eof
//do something
Rs.movenext
Wend
Or :
SomeDBConnection.Execute("Insert ...")
If SomeDB.Connection error then...
My question is basically if there is a painless way to make that kind of
code "pgSQL4RB-compliant", without using any fancy bindings.
Tia,
Maximilian Tyrtania | ***@fischerAppelt.de
fischerAppelt Kommunikation GmbH
Friedichstr. 149 | D-10117 Berlin | Germany
Tel. ++49-30-726146-728 | Fax ++49-30-726146-710
www.fischerAppelt.de
---------------------------------------------------------------------------
Sitz der Gesellschaft: Hamburg
Standorte: Hamburg, Berlin, Düsseldorf, Frankfurt, München, Stuttgart
Die Gesellschaft ist Teil des Everpublic Networks
Handelsregister: Amtsgericht Hamburg, HRB 49259
Geschäftsführer: Andreas Fischer-Appelt, Bernhard Fischer-Appelt
+++ fischerAppelt macht Fernsehen: www.fischerappelt-tvmedia.com +++