Method Assign

Forum related to version 6.1.5 of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
fongoses
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 18.10.2005, 18:14
Location: Porto Alegre - RS - Brazil

Method Assign

Post by fongoses »

Hi

I am trying to use the method Assign on TZQuery to copy one query object to another, but the method doesn't function.

The error like this "Can't set a TZQuery to TZQuery".

I'm using Delphi 5 and ZeosLib 6.1.5 with updates.

The code was:

Code: Select all

  FEncontrados.Assign(frmParams.sqlBusca);
Both FEncontrados and sqlBusca are TZQuery type.

Thanks.
Post Reply