Board index » delphi » Error inserting on D6 Ent and SQL 7

Error inserting on D6 Ent and SQL 7

Hi, i'm having this odd error:
Multiple step operation generated errors. Check each status value.
When i try to post info to a SQL 7 table using a TADOQuery.
what can it be? All my other forms.queries works perfectly.
thanks
--
Guillermo Casta?o Acevedo
Gerente de Sistemas - Grupo Millennium Ltda
Guiller...@GrupoMillennium.com
www.GrupoMillennium.com
 

Re:Error inserting on D6 Ent and SQL 7


Do you change any TFileds in the Datasources OnStateChange because I found
that sometimes caused strange errrors when doing and insert and I moved them
to OnNewRow and the problem went away. (This worked ok when I used the BDE)

"Guillermo Casta?o A" <Guiller...@GrupoMillennium.com> wrote in message
news:3C0943B0.AF4716FC@GrupoMillennium.com...

Quote
> Hi, i'm having this odd error:
> Multiple step operation generated errors. Check each status value.
> When i try to post info to a SQL 7 table using a TADOQuery.
> what can it be? All my other forms.queries works perfectly.
> thanks
> --
> Guillermo Casta?o Acevedo
> Gerente de Sistemas - Grupo Millennium Ltda
> Guiller...@GrupoMillennium.com
> www.GrupoMillennium.com

Re:Error inserting on D6 Ent and SQL 7


Nop, i have no code in the Datasource events at all... Only on the dataset
(TADOQuery).
thanks

Quote
Greg Nixon wrote:
> Do you change any TFileds in the Datasources OnStateChange because I found
> that sometimes caused strange errrors when doing and insert and I moved them
> to OnNewRow and the problem went away. (This worked ok when I used the BDE)

> "Guillermo Casta?o A" <Guiller...@GrupoMillennium.com> wrote in message
> news:3C0943B0.AF4716FC@GrupoMillennium.com...
> > Hi, i'm having this odd error:
> > Multiple step operation generated errors. Check each status value.
> > When i try to post info to a SQL 7 table using a TADOQuery.
> > what can it be? All my other forms.queries works perfectly.
> > thanks
> > --
> > Guillermo Casta?o Acevedo
> > Gerente de Sistemas - Grupo Millennium Ltda
> > Guiller...@GrupoMillennium.com
> > www.GrupoMillennium.com

--
Guillermo Casta?o Acevedo
Gerente de Sistemas - Grupo Millennium Ltda
Guiller...@GrupoMillennium.com
www.GrupoMillennium.com

Re:Error inserting on D6 Ent and SQL 7


Guillermo

Check for primary key in your table

Regards

   David  B.E      supp...@agrosoft.co.il
   (Delphi is behind the power of things.................)

Re:Error inserting on D6 Ent and SQL 7


You were right, one of the PK fields was smallint and i was trying to
assing it a too large number. Changing it to integer fixes the problem.
thanks a lot

Quote
"David B.E" wrote:
> Guillermo

> Check for primary key in your table

> Regards

>    David  B.E      supp...@agrosoft.co.il
>    (Delphi is behind the power of things.................)

--
Guillermo Casta?o Acevedo
Gerente de Sistemas - Grupo Millennium Ltda
Guiller...@GrupoMillennium.com
www.GrupoMillennium.com

Other Threads