[fpc-pascal] TField.Attributeset explanation?

Reinier Olislagers reinierolislagers at gmail.com
Mon Sep 5 11:05:34 CEST 2011


On 5-9-2011 10:30, michael.vancanneyt at wisa.be wrote:
> On Mon, 5 Sep 2011, Reinier Olislagers wrote:
>> When inserting records with an empty CUST_NO, I get an error that
>> CUST_NO is required.
> 
> That is normal.
> 
> Just set the 'Required' property of the CUSTNO field to False.

AAARGGH. A million thanks, Michael. That works.
I KNEW it would be simple. Why hadn't I looked at required in the
fielddefs...!?!?!?
> 
> Forget the 'Attributeset' property. It's not used in FPC.
> 
> (in fact, I don't even know what it's for or where it comes from)
Ok, I noticed it isn't used ;)

Thanks again,
Reinier



More information about the fpc-pascal mailing list