1. Jochen Peters
  2. Valentina Server
  3. 火, 9月 01 2015, 05:18 PM
  4.  メールで購読
Help
How i do this on Valentina Reports
Example
If fieldName="C" Then
Label1.Text="Credit"
Else
Label1.Text="Pay Off"
End if
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Hello, Alexis,

I can see two options:

1) The fastest way is to add an Expression, for example:
=IF(fieldName= 'C', 'Credit', 'Pay Off' )

2) Or you can add it to your source query for this report
コメント
There are no comments made yet.
Jochen Peters 承諾済みの回答
I am confused
is any example of this
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
It's just 2-step operation:
a. Drag Expression control to report
b. Input =IF(fieldName= 'C', 'Credit', 'Pay Off' ) in the dialog which shows up after dragging.

The documentation (with examples and video) for an Expression field:
参照
  1. http://valentina-db.com/docs/dokuwiki/v5/doku.php?id=valentina:products:vstudio:help:report_editor:controls:expression_field:expression_field
コメント
There are no comments made yet.
Jochen Peters 承諾済みの回答
ok
thanks is working
コメント
There are no comments made yet.
  • ページ :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories