Hi All.
IS ther a "Nice" way to limit how many records someone enters into a
DBGrid?
Basically I want to limit people to only entering 20 items into a
DBGrid, or better still tell the table to only accept 20 records, but I
think this will be a frontend thing.
I was thinking the best way to do it is to look at the beforepost event
and cound the records, (or even rows in the dbgrid) and say they cant
add anymore if they already have 20.
This sound logical? or is there a nicer way to handle this?
Cheers, Jeremy
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/