Page 1 of 1

Any idea how to retreive the fieldname assign to a specific parameter ?

Posted: Tue 21 Jun 2005 07:06
by swierzbicki
Hi,

I'm building an SQL with parameters.
At runtime, a pagecontrol will automatically generated edit controls uppon the discovered parameters.

Right now, every param are handled with Variant. This is not a proper solution. I want to create the corresponding edit control type

If the param is "assigned" to a datetime, a TDateTime Picker must be created ... and so on.

Is there a way to know which param belongs to which field ?

Thank you

Re: Any idea how to retreive the fieldname assign to a specific parameter ?

Posted: Wed 22 Jun 2005 04:23
by Guest
Try to use COMMENT option for column's in database. (see MySQL manual CREATE TABLE :)

Posted: Wed 22 Jun 2005 07:19
by Ikar
Parameter name usually corresponds to the field name.