"" wrote:
> Hi Rohit,
>
> You need to set the TypeMaxEditLen property to a higher value.
> It
> defaults to 60 characters in Spread 6. You can read about it
> more in
> the online help.
>
> I would suggest in the future to post any Spread related
> questions to
> our sup****t forum so that you will get a timely response from
> our
> sup****t team:
> http://www.clubfarpoint.com/Forums/
>
> - Donald
> FarPoint Technologies, Inc.
>
> Rohit wrote:
> > Hi,
> > I have one application (interface for a database) which
> shows some
> > data in grid format. Farpoint spread control is used for
> this (Version
> > 6.0). It is bound to the database at run time using ADO Data
> Control.
> > When I fetch the data , some of the text data gets
> truncated. i.e. if
> > actual data is "Minister for Health & Family Welfare Social,
> Jusice &
> > Empowerment" (len = 65) it is shown as "Minister for Health
> & Family
> > Welfare Social, Jusice & Empowe" (len = 60).
> >
> > I could not recognise the problem.Could any one give the
> solution?
> >
> > Thanks in Advance.
> >
> > Regards
> > Rohit
> >
> > --
> > Posted using the http://www.dbforumz.com
interface, at author's
request
> > Articles individually checked for conformance to usenet
> standards
> > Topic URL:
http://www.dbforumz.com/General-Discussion-farPoint-Visual-Basic-ftopict237587.html
> > Visit Topic URL to contact author (reg. req'd). Re****t abuse:
http://www.dbforumz.com/eform.php?p=825737
> >
> > Posted Via Usenet.com Premium Usenet Newsgroup Services
> > ----------------------------------------------------------
> > ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
> > ----------------------------------------------------------
> > http://www.usenet.com
Hi Donald,
Thanks a lot for your reply.
I tried to set Typemaxeditlen property to 100, But still it is not
working.
My code looks as given below
sub combo1_Click ()
Datacontrol.RecordSource = sCmdSrc
Datacontrol.Refresh
spread.DAutoCellTypes = True
spread.DataSource = dtMasters
spread.Refresh
End Sub
in DataColConfig I have written the folowing code
spread.Col = 4
spread.Row = -1
spread.TypeMaxEditLen = 100
spread.Refresh
If I check value in ADODC recordset I am getting the full text.but in
the grid it is truncated.
Thanks & Regards
Rohit


|