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

From parzival1969@gmx.at
Newsgroups comp.lang.clipper.visual-objects
Subject Fieldspec for fieldlength on bbrowser ignored
Date 2012-03-08 13:21 -0800
Organization http://groups.google.com
Message-ID <8113115.1242.1331241704752.JavaMail.geo-discussion-forums@vbne13> (permalink)

Show all headers | 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