[Lazarus] SQLDB issues.

Michael Van Canneyt michael at freepascal.org
Tue Jan 5 08:57:27 CET 2010


Can you post the files somewhere ? It should work; it sure does here.

BTW. You can set the 'Active' property to true even in the designer,
it should show the data in the grid as well.

Michael.

On Tue, 5 Jan 2010, Matt Shaffer wrote:

> Yes, it is indeed.
>
> On Tue, Jan 5, 2010 at 1:21 AM, Serge Girard (via Orange) <
> girard.sergea at orange.fr> wrote:
>
>> Matt Shaffer a écrit :
>>
>>  So I found this helpful wiki page
>>> http://wiki.lazarus.freepascal.org/SQLdb_Package for getting started with
>>> the db components. Great! I (believe) I've followed the tutorial exactly,
>>> everything's working until I try to drop a tdbgrid with my datasource onto
>>> the form. No data is shown. I double check my sql query, "select * from
>>> actions", I click the run button and the data shows, so I was confused as to
>>> why it wouldn't show in the grid. I compiled the program anyway, thinking
>>> maybe the IDE's auto query executor was broken, but no luck. Still
>>> completely blank. I've tried the same thing with a dblistbox as well.
>>>
>> Uhm , is your DbGrid/dblistbox linked to a datasource , and the datasource
>> to your Query ?
>>
>>
>>
>>
>> --
>> _______________________________________________
>> Lazarus mailing list
>> Lazarus at lists.lazarus.freepascal.org
>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>>
>


More information about the Lazarus mailing list