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

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

AdoRecordSet Error

Postby dkjMusic » 11.12.2016, 14:11

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
Gold Boarder
Gold Boarder
Posts: 581
Joined: 17.01.2011, 14:17

Re: AdoRecordSet Error

Postby marsupilami » 12.12.2016, 19:38

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

With best regards,

Jan


Return to “Lazarus / Freepascal”

Who is online

Users browsing this forum: No registered users and 1 guest