Donate Share

tDBF component for Delphi and BCB

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

RecordCount

You are viewing a single message from this topic. View all messages.

  1. 2003-03-14 20:32:36 UTC
    Hi people,

    How do I use the RecordCount?

    I put a filter on my table to return exact one record, some sort of search query.

    This is my code:

    DataModule_Mest.tblKlant.Filter := 'MEST_NR = ' + mst_nr;
    DataModule_Mest.tblKlant.Filtered := True;
    DataModule_Mest.tblKlant.Active := True;

    if DataModule_Mest.tblKlant.RecordCount <> 1 then

    But I always get back 4781 as recordcount.

    Am I doing something wrong here?

    Thanks for any help!

    Gr. Joris
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.