 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Eric Lyons Guest
|
Posted: Tue Dec 09, 2003 8:55 pm Post subject: TADoQuery post raises exception |
|
|
I using a simple TADOQuery that returns a single row. I then edit a single
column and post the change.
Here's the code.
qyUtility.SQL.Clear;
qyUtility.SQL.Text := 'select * from BR_SEQUENCES where RECORD_NUM =
:Record_num';
qyUtility.Parameters.ParamByName('RECORD_NUM').Value := strSeq_RecordNum;
qyUtility.Open;
if qyUtility.RecordCount = 1 then
begin
qyUtility.Edit;
qyUtility.FieldByName('LastUsed').AsString := newvalue;
qyUtility.Post;
qyUtility.Close;
end;
This works on almost every machine I have except 1. The post raises and
exception stating (Unable to open table VARCHAR""BR_SEQUENCES). I'm not sure
if this is an ado problem or something in the delphi vcl. BTW, I'm using
the ODBC for OLEDB provider and the ODBC driver is for a pervasive database.
Any comments are appreciated.
Thanks,
Eric Lyons
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|