<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body>
Hi Michael,<br>
<blockquote type="cite"
 cite="midPine.WNT.4.33.0207252358140.455-100000@malpertuus.wisa.be">
  <blockquote type="cite">
    <pre wrap="">Well, having a unified DB API like Perl DBI, PHP PEAR, Java JDBC and
others saves much development time. It's not nice to change lots of
lines of code just to move from one database to another.
    </pre>
  </blockquote>
  <pre wrap=""><!---->Depending on how you would work, you'd normally have only one or two lines
of code to change:

Something like

DB:=TMYSQLDatabase.Create(Nil);
DS:=TMySQLDataset.Create(Nil);

Would become

DB:=TIBDatabase.Create(Nil);
DS:=TIBDataset.Create(Nil);

All the rest would remain 100% the same...</pre>
</blockquote>
Could please send a complete example on this? The test and sample programs
on the FCL provided by FPC 1.0.6 don't show this. I Could not figure, for
example, how a Database and a Dataset would interact (I do not want each
Dataset to have it's own connection to the database server).<br>
<br>
By the way, have you seen my message about a possible memmory allocation
bug on the DB classes from the FCL?<br>
<br>
<br>
[]s, Fernando Lozano<br>
<br>
</body>
</html>