Randomly missing fields in dataset
Sometimes a report just get: "Field not found:" for some of the fields.
As it occure rarely it's very hard to find out the cause of this random loss.
I would like to have some suggestions of what to lookup for. Maybe there are som settings of the components that can be critical.
In my program I creates the components dynamically but even though I understand that all standard settings is used automatically if I don't change them.
Here is a part of a report that shows how it look like:
As it occure rarely it's very hard to find out the cause of this random loss.
I would like to have some suggestions of what to lookup for. Maybe there are som settings of the components that can be critical.
In my program I creates the components dynamically but even though I understand that all standard settings is used automatically if I don't change them.
Here is a part of a report that shows how it look like:
Comments
void __fastcall TDM1::Report4GetValue(const UnicodeString VarName, Variant &Value)
{
if (VarName == "GetQuantity")
{
Value = TableMasterPrices->FieldByName("Quantity")->AsString;
return;
}
}
Could you please explain this a bit more in detail?
It has been a while with no errors but now it has happend again and solved only by restarting the program.
It's strange when some fields from the same datasource is resolved but other not.