Welcome! Log In Create A New Profile

Advanced

Records limits

Posted by Mike Bernard 
Mike Bernard
Records limits
October 22, 2008 03:38PM

What's the best ways to limit the number of records in a table to have applications?

I'm using TableCount (Table), ex: is very simple, but works

IF Table..Empty = True THEN
st_total_of_records..Visible = False
ELSE
st_total_of_records = TableCount(Table)+" register(s)"
END


IF st_total_of_record <= 5 THEN
BTNew..State = Active
Message.. Visible= False
ELSE
BTNew..State = Grayed
Informe..Visible = True
END


There is another way to do this for example, limit the FIC or something else?

Thank's
Fabrice Harari
Re: Records limits
October 22, 2008 04:28PM
Hello Mike...

You can use hnbrec to get the number of records in a file without having to display them

best regards

Fabrice Harari
WinDev, WebDev, WinDev Mobile consulting
Mike Bernard
Re: Records limits
October 22, 2008 06:34PM
Thank you Fabrice...

Regards
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: