Subject Re: [ib-support] Change colmn 'fieldname' display
Author Helen Borrie
At 05:30 PM 16-04-01 +1200, you wrote:
>hi,
>
>I AM USING D2 so alot of the sample files are of no use.
>
>any help for a beginner would be great.
>
>Want to do a VERY simple thing and that is to change the apperance of text for a column.
>
>I'm using a TIB_Query, database, transactions, datasorce components in a datamodule.
>
>On a form i've got a grid (TIB_GRID) component.
>
>All field names in upper case and i'd like ta change this.
>
>Tried using the property FieldsGridLabel the TIB_Query and typed in the following
>
>LASTNAME = Lastname - and ran the program with no change.
>
>the SQL statement used is Select * from customers.
>
>all i want is to display all entries.
>
>have had a look at the online help with no idea as to what to do (was rushed also).


This might help more: double-click on the TIB_Query component on your form or datamodule to reveal a kind of "mini-IDE" where you can set these stringlist properties individually. Here you can set all of the Fields... properties as well as the ColumnAttributes properties individually, column by column.

As a rule for these stringlist properties, when setting them directly (i.e. not through the "mini-IDE") use the format FIELDNAME=Value, with no spaces around the '=' sign. For attributes that need two, e.g. the BOOLEAN columnattribute, the string takes the form FIELDNAME=BOOLEAN='T','F

You have posted your question to the general InterBase/Firebird list...Were you aware that IB Objects has its own support list?
mailto:ibobjects-subscribe@yahoogroups.com

Cheers,
Helen



All for Open and Open for All
InterBase Developer Initiative ยท http://www.interbase2000.org
_______________________________________________________