Pietjeparasietje
Programmer
Hi Guys,
I've got another silly problem, which you guys can probably fix in just a sec, but I can't find the solution.
All I'm trying to do is select a record, and change a field of that selected record:
The sql statement is fine, and it does enter the data into that field, but as soon as I want to change it I get an :
"
[Microsoft][ODBC Microsoft Access Driver] Query is too complex.
"
error.
Just can't find what's wrong with it, this always works.
Please help, thanks,
Peter
I've got another silly problem, which you guys can probably fix in just a sec, but I can't find the solution.
All I'm trying to do is select a record, and change a field of that selected record:
Code:
qrySetFlag.SQL.Text := 'Select * from Item where ItemNumber = '+QuotedStr(Item);
qrySetFlag.Active := true;
qrySetFlag.edit;
qrySetFlag.FieldByName('Flag').text := 'Yes';
qrySetFlag.next;
qrySetflag.Close;
The sql statement is fine, and it does enter the data into that field, but as soon as I want to change it I get an :
"
[Microsoft][ODBC Microsoft Access Driver] Query is too complex.
"
error.
Just can't find what's wrong with it, this always works.
Please help, thanks,
Peter