ODBC Error
Posted: Fri 15 Oct 2010 18:00
Hi,evrybody.I need your help.I set UniConnection' Provider as ODBC to access MS Access database.But when program run to this query , A error message will popup."[ODBC Microsoft Access Driver] Invalid precision Value".
This is my query :
With Query3 Do
Begin
Close;
With SQL Do
Begin
Clear ;
Add('SELECT * FROM LockSerialID');
Add('WHERE SerialID = :SerialID');
End;
ParamByName('SerialID').Value := TempString;
Open ;
End;
The TempString is a string and do not empty.
Help me,please.[/img]
This is my query :
With Query3 Do
Begin
Close;
With SQL Do
Begin
Clear ;
Add('SELECT * FROM LockSerialID');
Add('WHERE SerialID = :SerialID');
End;
ParamByName('SerialID').Value := TempString;
Open ;
End;
The TempString is a string and do not empty.
Help me,please.[/img]