Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Checking a field in every row in a database

butcher4obutcher4o Member Posts: 3
I am using paradox7 table and i want to check for experation date in a field but not only in the selected row but in the whole table. How to do this !?

Comments

  • injektiloinjektilo Member Posts: 113
    cycly trough table and check
    [code]
    table1.first;
    while not table1.eof do
    begin
    if table1.fieldbyname('DATEFIELD').asdatetime < ADate then
    begin
    //do something
    end;
    table1.next;
    end;
    [/code]

Sign In or Register to comment.