Re: SQLite and Delphi 2007
- From: "BRoberts" <berdontemail@xxxxxxxxxx>
- Date: Sun, 29 Jun 2008 22:09:01 -0400
"TD" <dlee@xxxxxxxxxxx> wrote in message news:098dd3c6-97f4-4c4c-84a5-32b6bbbcccfe@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Jun 27, 12:53 am, "BRoberts" <berdontem...@xxxxxxxxxx> wrote:
Thanks for relpying. I have the TASQLITE3DB connected to the database
file; database does have data in it. I have the TASQLITE3TABLE setup
to access the table "runlog". I have the TDatasource conected to the
TASQLITE3TABLE. I have TDBEdit's datasource set to the TDatasource
and TDBEdit's datafield set to "Unit" which is a field in the "runlog"
table. I know the database connection is working at design time
because when I right click on "Fields" under the TASQLITE3TABLE and
select "Add Fields" I can see all of the fields in that table. Could
it be that the connection is not there at runtime?
Make sure that the table is open at runtime. I'm not familiar with the components you are dealing with but try
aTable.Open;
in your form's constructor (onCreate).
.
- References:
- SQLite and Delphi 2007
- From: TD
- Re: SQLite and Delphi 2007
- From: BRoberts
- Re: SQLite and Delphi 2007
- From: TD
- SQLite and Delphi 2007
- Prev by Date: Ok: Feature Request: Show call locations.
- Previous by thread: Re: SQLite and Delphi 2007
- Next by thread: Thread Priority
- Index(es):
Relevant Pages
|