In one particular place in my project, my field assignments aren't sticking
qryCrop['LatestTestDate'] := latesttestdate;
qryCrop['LatestTestValue'] := highesttestvalue;
qryCrop.fieldbyname('LatestTestDate').asdatetime := latesttestdate;
qryCrop.fieldbyname('LatestTestValue').AsFloat := highesttestvalue;
qryCrop.fieldbyname('LatestTestDate').asdatetime := latesttestdate;
qryCrop.fieldbyname('LatestTestValue').AsFloat := highesttestvalue;As you may see I am doing the same pair of assignments three times into a TADOQuery.
After some interesting debugging, I find that any assignments before a breakpoint don't make it into the record buffer while any assigmments after a breakpoint seem to work fine.
It feels like a version problem with ADODB. However, I have only one adodb.dcu on my search path.
Does anyone know when the dcp is used and when the dcu is used?
---------------------------------------------------------------------------
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/
