Guest_imported
New member
- Jan 1, 1970
- 0
Hello,
i want to put information from a access database in a listview.
Heres my code so far:
void __fastcall TProbleemForm::FormCreate(TObject *Sender)
{
DatabaseForm->ProbleemRegistrerenTable->Open()
for( int i = 0; i<DatabaseForm->ProbleemRegistrerenTable
->RecordCount; i++ )
{
//Here there have to be more code, something like
//ListView1->Item->Add(....) i think, but that does not work
DatabaseForm->ProbleemRegistrerenTable->Next();
}
}
Now is my qeustion what i've got to do to put the information from my database-table-index to a column in the listview and how i set the right column for each index in the database-table (cause i have more than one column in my listview for a record in the database)
Ok...thanx in advance,
silkk