VB6 - convertion from Access database to PostgreSQL

This is a multi-part message in MIME format.

------=_NextPart_000_0002_01C8625B.828A5930
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit



I have been asked to take a VB6 application that use an Access database and
convert it to use PostgreSQL.



From what I can see the VB application connects using DAO and also JET/ADO!

Not sure why it has both



If I do convert it to PostgreSQL do I have the option of standard ADO access
or do I have to use DAO?



Also, what are the performance considerations?



May thanks



Jonathan Blitz


------=_NextPart_000_0002_01C8625B.828A5930
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"City"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:Arial;
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
[at] page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I have been asked to take a VB6 application that use =
an
Access database and convert it to use =
PostgreSQL.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>From what I can see the VB application connects using =
DAO
and also JET/ADO!<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Not sure why it has both<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>If I do convert it to PostgreSQL do I have the option =
of
standard <st1:place w:st=3D"on"><st1:City =
w:st=3D"on">ADO</st1:City></st1:place>
access or do I have to use DAO?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Also, what are the performance =
considerations?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>May thanks<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Jonathan Blitz<o:p></o:p></span></font></p>

</div>

</body>

</html>

------=_NextPart_000_0002_01C8625B.828A5930--
Jonathan Blitz [ Di, 29 Januar 2008 08:44 ] [ ID #1919019 ]

Re: VB6 - convertion from Access database to PostgreSQL

On 29/01/2008 07:44, Jonathan Blitz wrote:

> If I do convert it to PostgreSQL do I have the option of standard ADO
> access or do I have to use DAO?

You can use the ADO provider for ODBC, and the PostgreSQL ODBC driver -
I've used this for quite some time without problems.

Ray.


------------------------------------------------------------ ---
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod [at] iol.ie
------------------------------------------------------------ ---

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend
Rod [ Di, 29 Januar 2008 11:44 ] [ ID #1919020 ]

Re: VB6 - convertion from Access database to PostgreSQL

Many thanks.

Now all I have to do is to figure out what price to quote them. :)

-----Original Message-----
From: pgsql-odbc-owner [at] postgresql.org
[mailto:pgsql-odbc-owner [at] postgresql.org] On Behalf Of Raymond O'Donnell
Sent: Tuesday, January 29, 2008 12:44 PM
To: Jonathan Blitz
Cc: pgsql-odbc [at] postgresql.org
Subject: Re: [ODBC] VB6 - convertion from Access database to PostgreSQL

On 29/01/2008 07:44, Jonathan Blitz wrote:

> If I do convert it to PostgreSQL do I have the option of standard ADO
> access or do I have to use DAO?

You can use the ADO provider for ODBC, and the PostgreSQL ODBC driver -
I've used this for quite some time without problems.

Ray.


------------------------------------------------------------ ---
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod [at] iol.ie
------------------------------------------------------------ ---

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend


---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match
Jonathan Blitz [ Di, 29 Januar 2008 16:25 ] [ ID #1919021 ]

Re: VB6 - convertion from Access database to PostgreSQL

On 29/01/2008 15:25, Jonathan Blitz wrote:

> Now all I have to do is to figure out what price to quote them. :)

Make sure it has plenty of zeros at the end! :-)

Ray.


------------------------------------------------------------ ---
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod [at] iol.ie
------------------------------------------------------------ ---

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings
Rod [ Di, 29 Januar 2008 16:29 ] [ ID #1919022 ]
Datenbanken » gmane.comp.db.postgresql.odbc » VB6 - convertion from Access database to PostgreSQL

Vorheriges Thema: psqlODBC 08.03.0100 released.
Nächstes Thema: Building ODBC driver issue