[Lazarus] Inactive Dataset

Dave Coventry dgcoventry at gmail.com
Thu May 29 09:14:02 CEST 2008


Aaaaah.

I was uable to compile the fpc db libs but I managed to get access to
a broadband connection and downloaded the daily snapshot.

Now I can't load my app into Lazarus:



2008/5/28 Jalal <jalsalihi at yahoo.com>:
> 123555
>
> Dave Coventry,
>
>> As does explicitly using "SQLQuery.Close" prior to opening the Query. :(
>
> I suggest you use SQLQuery.Active := True (or False) instead of Open and
> Close.
>
>
>> Alternatively, is there another way of extracting the information?
>
> If you don't need the db-aware visual controls you can use the libpq
> functions directly, they aren't hard to use. Some are:
>
> PQconnectdb
> PQstatus
> PQexec
> PQnfields
> PQntuples
> PQfname
> PQgetvalue
> PQclear
> PQfinish
>
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error1.png
Type: image/png
Size: 10654 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20080529/2e3114cc/attachment-0014.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error2.png
Type: image/png
Size: 8441 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20080529/2e3114cc/attachment-0015.png>


More information about the Lazarus mailing list