Subject | TIB_DSQL.ParamByName with arrays |
---|---|
Author | superflexible |
Post date | 2010-01-21T21:03:22Z |
Hello,
I want to use DSQL with UPDATE and INSERT statements and I have some array fields. Unfortunately, setting "Prepared:=true" does not initialize the ArrayDesc for the parameters. So I can't assign their values via AsVariant.
The empty ArrayDesc surprises me because at design time, the component editor shows the array dimensions quite perfectly when I hit the Prepare button.
Any ideas?
Cheers,
Tobias Giesen
www.superflexible.com
I want to use DSQL with UPDATE and INSERT statements and I have some array fields. Unfortunately, setting "Prepared:=true" does not initialize the ArrayDesc for the parameters. So I can't assign their values via AsVariant.
The empty ArrayDesc surprises me because at design time, the component editor shows the array dimensions quite perfectly when I hit the Prepare button.
Any ideas?
Cheers,
Tobias Giesen
www.superflexible.com