AdoRecordSet Error

In this forum you may discuss all issues concerning the Lazarus IDE and Freepascal (both running on Windows or Linux).

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
dkjMusic
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 30.11.2016, 03:03

AdoRecordSet Error

Post by dkjMusic »

I am using pl_zeosdb0 5.91 in Code Typhon. I get the following error:

No value given for one or more required parameters.
Press OK to ignore and risk data corruption.
Press Abort to kill the program.

I have traced the problem via breakpoints to the following statement in TZAdoPreparedStatement.ExecuteQueryPrepared:

AdoRecordSet.Open(FAdoCommand, EmptyParam, adOpenForwardOnly, adLockOptimistic, adAsyncFetch);

When I hover the cursor over "EmptyParam" it displays "EmptyParam = ???"". What should this parameter value be? Should I revise the TZAdoPreparedStatement.ExecuteQueryPrepared code to specify EmptyParam as null or nil?

I'm at a standstill on the project until I resolve this, so I would appreciate any help provided.
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: AdoRecordSet Error

Post by marsupilami »

Hello Which Version of Zeos is part of your Code Typhoon?

With best regards,

Jan
Post Reply