Re: Parameters in MS Access
- From: "muttley" <muttley@xxxxxxxxxxx>
- Date: Mon, 20 Feb 2006 11:11:58 -0300
Please, could You send me a example or tutorial application using Ms Access
with ADO, with Insert, update, delete etc
TIA
"George Kuascha" <gkhokie@xxxxxxxxxxx> escreveu na mensagem
news:43f3dcb2@xxxxxxxxxxxxxxxxxxxxxxxxx
I'm getting an error message 'Jet database does not recognize [yID] as an
invalid field name or expression' for the following code. The parameter
value [yID] is invalid for some reason. I'm using MSAccess2000 with D6.
What
is the problem?
ADODataSet.Parameters.ParamByName('[yID]').Value:=
X_.FieldValues['ID'];
ADODataset.Active:= false;
ADODataset.CommandText:= 'TRANSFORM First(X.TIME) AS FirstOfTIME '+
'SELECT X.ID, X.NO, '+
'WHERE (X.ID) = [yID]'+
'GROUP BY X.ID, X.NO '+
'PIVOT X.NO ';
ADODataset.Open;
.
- References:
- Parameters in MS Access
- From: George Kuascha
- Parameters in MS Access
- Prev by Date: An unknown error has occured...
- Next by Date: Re: Tutorial MS ACCESS WITH DELPHI ?
- Previous by thread: Re: Parameters in MS Access
- Next by thread: increment
- Index(es):
Relevant Pages
|