I'm changing a program from codebase to flashfiler, the below code will show the grid count after a filter has been done, and show in TotalEdit. How would you get this in SQL to do the same thing.
int numrecs = 0;
DM->tblResident->DisableControls();
for(DM->tblResident->GoTop();!DM->tblResident->Eof; DM->tblResident->Skip(1L)) {
numrecs++;
}
DM->tblResident->EnableControls();
TotalEdit->Text = IntToStr(numrecs);
Thanks
heydyrtt
int numrecs = 0;
DM->tblResident->DisableControls();
for(DM->tblResident->GoTop();!DM->tblResident->Eof; DM->tblResident->Skip(1L)) {
numrecs++;
}
DM->tblResident->EnableControls();
TotalEdit->Text = IntToStr(numrecs);
Thanks
heydyrtt