I just found that at runtime :
Code: Select all
If Query['MyDate'].IsNull then DoSomething();while
Code: Select all
If Query.FieldByName('MyDate').IsNull then DoSomething();Is this a VCL bug or a MyDAC bug ?
Ps : MyDate is a TDateTimefield type
Code: Select all
If Query['MyDate'].IsNull then DoSomething();Code: Select all
If Query.FieldByName('MyDate').IsNull then DoSomething();Code: Select all
Query['MyDate']Code: Select all
Query.FieldByName('MyDate')Code: Select all
Query['MyDate']
Query.FieldValues['DName']
Query.FieldByName('MyDate').Value