Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text variable lenght

Status
Not open for further replies.

coolg123

Programmer
May 17, 2007
7
US
Hi,
I've 3 columns next to each other and i've comma(,) between them.
because of the coulmns of variable length i see alot space b/w column and comma.
I know i can make the column dynamic to go number of lines vertically(with 'CAN GROW' property) can i make it dynamic length horizontally?


Thanks alot in advance.

CoolG
 
What is the information that is being displayed? Instead of having 3 columns could you create a formula that output the data?

example:

{field1} + "," + {field2} + "," {field3}

if the data is numeric add a Totext() for each field
i.e totext({field1})
 
sorry, left out a +

{field1} + "," + {field2} + "," + {field3}

 
Thank you very much,
I feel so stupid after seeing the answer...


CoolG
 
Also if you use & instead of +, you never need to convert data types, it does so itself.

{field1} & "," & {field2} & "," & {field3}

-k
 
Thanks synapsevampire. I did not realize that. I've been working in CR7 (that syntax doesn't work)for the last 2 years and just started with CR11.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top