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


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

Fieldspec for fieldlength on bbrowser ignored

Started byparzival1969@gmx.at
First post2012-03-08 13:21 -0800
Last post2012-03-08 13:21 -0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

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

#3115 — Fieldspec for fieldlength on bbrowser ignored

Fromparzival1969@gmx.at
Date2012-03-08 13:21 -0800
SubjectFieldspec for fieldlength on bbrowser ignored
Message-ID<8113115.1242.1331241704752.JavaMail.geo-discussion-forums@vbne13>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web