Subject | RefreshOnParamChange property under TIBOQuery |
---|---|
Author | James |
Post date | 2004-03-16T15:13Z |
Hi
I find the RefreshOnParamChange very useful in the native IBO component.
However in IBO dataset compatible component I can't find this property.
So at runtime I try to do this
"ibo_query.internaldataset.RefreshOnParamChange:=true" before opening
the iboquery. But it doesn't work. Is there any work around in this?
Is this line
iboquery.unprepare;
iboquery.parambyname('code').AsString:=edit_1.text;
iboquery.open;
better than this line
iboquery.close;
iboquery.parambyname('code').AsString:=edit_1.text;
iboquery.open;
Thanks
Regards,
James
I find the RefreshOnParamChange very useful in the native IBO component.
However in IBO dataset compatible component I can't find this property.
So at runtime I try to do this
"ibo_query.internaldataset.RefreshOnParamChange:=true" before opening
the iboquery. But it doesn't work. Is there any work around in this?
Is this line
iboquery.unprepare;
iboquery.parambyname('code').AsString:=edit_1.text;
iboquery.open;
better than this line
iboquery.close;
iboquery.parambyname('code').AsString:=edit_1.text;
iboquery.open;
Thanks
Regards,
James