Subject | Re: [IBO] qrIBOT??? |
---|---|
Author | Svein Erling Tysvær |
Post date | 2001-11-30T11:18:36Z |
Hi David.
and s2 (unless you do that in your code before the point when we get a
glance) and adding a ';' at the end of your TIB_DSQL component. I don't
know whether this last semicolon is wrong, just that I never use it myself.
You also do things a bit different from what I'm used to - using sql.text
rather than sql.clear and sql.add, but I guess this is OK (as long as your
call to ShowMessage return sensible information). Finally, I'm puzzled
about why you use ParamByName? You always use them in a specific order and
using Params[] directly is faster than ParamByName (but both should of
course work).
Set
>I found a way to obtain the field names at runtime usingGood to hear. Using SchemaCache.GetTableFields would have been another option.
>SchemaCache.GetTableNames(param1, param2), so the task is completed.
>I could not discern anything unusual that I was doing that could cause thatWell, I can only see two things that may be wrong - no initialisation of s
>error. Any ideas?
and s2 (unless you do that in your code before the point when we get a
glance) and adding a ';' at the end of your TIB_DSQL component. I don't
know whether this last semicolon is wrong, just that I never use it myself.
You also do things a bit different from what I'm used to - using sql.text
rather than sql.clear and sql.add, but I guess this is OK (as long as your
call to ShowMessage return sensible information). Finally, I'm puzzled
about why you use ParamByName? You always use them in a specific order and
using Params[] directly is faster than ParamByName (but both should of
course work).
Set