Ricardo Silva
|
Posted: 01/22/2004, 8:30 AM |
|
Is it possible to limit the size of the label that is going to be displayed?
I want to display the memo field "DESCRIPTION" but I want to limit the grid
row to 2 lines. If the user wants to see the rest, he must click on the link
in order to be directed to a new page with the complete data...
Is it possible?
Thanks in advance.
Bets regards,
Ricardo
|
|
|
Edd
Posts: 547
|
Posted: 01/22/2004, 1:52 PM |
|
1 Change the label to be HTML
On the BeforeShowEvent create a variable to accept the value of the field
Dim aField
aField = Gridname.FieldName.value
aField = Left(aFiled, 100) & "<a href=""wherever.asp?Parm=" & SomeReference & """>..more </a>
Gridname.FieldName.value = aField
You can get more sphisticated and scan for Line Returns and substitute "<BR>" - but it up to you.
_________________
Accepting and instigating change are life's challenges.
http://www.syntech.com.au |
|
|
|