开发者

Crystal Reports - varying field size

Guys, i have a开发者_如何学C crystal report with a combination of database fields and static text. Is it possible to resize the field or reduce white space between these fields and the static text?

For ex: John works for "fieldA ", his title is "fieldB ".

In some cases, there is significant white space between the static text and the field, say when the fieldA value has only few letters.

TIA


Drop the database field right inside the static text field. In that case, you can put the text in the static text field on either side of the database field and resizing is automatic.


Is there a reason you are treating these separately?

For situations like this, you would typically make a static text box on the report, and drop the calculated field or database field directly into the middle of the text.

Alternatively, you could create a calculated field and include a formula: "John works for """ + {FieldA} + """, his title is """ + {fieldB} + """." (syntax will depend on the language being used).


To reduce the white-space, this answer might help.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜