TdaSQLBuilder.ApplyUpdates
in version 10 I have done this
lSQLBuilder := TdaSQLBuilder.Create(ssl_qryCRsOpenAndClosedDates);
lSQLBuilder.SearchCriteria[0].Value := AccountIn;
lSQLBuilder.SearchCriteria[1].Value := DateToStr(StartDate);
lSQLBuilder.SearchCriteria[2].Value := DateToStr(EndDate);
lSQLBuilder.applyupdates;
lSQLBuilder.Free;
However, when i do this in ReportBuilder 9, I get the following message:
Expected: "(" or '[', but found 'applyupdates' instead.
Is there a way i can achieve the same thing in RB9?
how do I do this in 9?
lSQLBuilder := TdaSQLBuilder.Create(ssl_qryCRsOpenAndClosedDates);
lSQLBuilder.SearchCriteria[0].Value := AccountIn;
lSQLBuilder.SearchCriteria[1].Value := DateToStr(StartDate);
lSQLBuilder.SearchCriteria[2].Value := DateToStr(EndDate);
lSQLBuilder.applyupdates;
lSQLBuilder.Free;
However, when i do this in ReportBuilder 9, I get the following message:
Expected: "(" or '[', but found 'applyupdates' instead.
Is there a way i can achieve the same thing in RB9?
how do I do this in 9?
This discussion has been closed.
Comments
Once the SQLBuilder object is destroyed (freed), the ApplyUpdates routine
will be called automatically if the object has changed so there is no need
to make the call in your case.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com