Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #3115

Fieldspec for fieldlength on bbrowser ignored

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
From parzival1969@gmx.at
Newsgroups comp.lang.clipper.visual-objects
Subject Fieldspec for fieldlength on bbrowser ignored
Date Thu, 8 Mar 2012 13:21:44 -0800 (PST)
Organization http://groups.google.com
Lines 30
Message-ID <8113115.1242.1331241704752.JavaMail.geo-discussion-forums@vbne13> (permalink)
NNTP-Posting-Host 84.114.43.92
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
X-Trace posting.google.com 1331242056 24873 127.0.0.1 (8 Mar 2012 21:27:36 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Thu, 8 Mar 2012 21:27:36 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=84.114.43.92; posting-account=AJEgEwoAAABYGqaOUBwWDixxwqWYS9vL
User-Agent G2/1.0
X-Received-Bytes 1643
Xref csiph.com comp.lang.clipper.visual-objects:3115

Show key headers only | View raw


Hello all,

Environment:
*) VO 2.8 SP3
*) bbrowser v2

A bbrowser gets formated in following way:

oViewStyle := bViewStyle{}
oViewStyle:Options := _or(BVO_LINEBREAK, BVO_WORDBREAK)  

oCol := obb:GetColumn(self:_kSpaltenAnmerkung)
oCol:FieldSpec := dbARBEITSEINTEILUNG_ANMERKUNG{}
oCol:Caption := "Anmerkung"
oCol:editable := .T.
oCol:Width := 120
oCol:dataview := oViewStyle
oCol:HeightVariable := BACTIV

The result is correct formated cell with variable hight. 

But: The user can enter unlimited data. When the input is saved to the database its truncated to the maximum lenght of the field.

The fieldspec does contain a maximum length of 100 chars.

What am I missing here?

Thanks

Niko

Back to comp.lang.clipper.visual-objects | Previous | Next | Find similar | Unroll thread


Thread

Fieldspec for fieldlength on bbrowser ignored parzival1969@gmx.at - 2012-03-08 13:21 -0800

csiph-web