Вы находитесь на странице: 1из 10

SAP BusinessObjects Web Intelligence Rich Client

UserResponse

string UserResponse([dp;]prompt_string[;Index])

dp

prompt_strin

g

Index

DataProvider .

,
( , Index),
.

UserResponse(" ?") "-", " ?"


"-" .
UserResponse([ ];" ?") "-", "
?" " " " ".
UserResponse([ ];" ?"; ) 23,
" " "-" " ",
"-" 23.

="C" + UserResponse (" C:")


:")

="" + UserResponse ("

=If(UserResponse(" :")="";"";UserResponse("
:"))
=If(UserResponse(" :")="";"";UserResponse("
:"))
=If (UserResponse(": - * ")="*")
Then " " Else UserResponse(": -
* ")
=If (UserResponse(": - * ")="*")
Then "" Else UserResponse(": - *
")

=Substr(UserResponse(" ") ;1;10)


=Substr(UserResponse(" ") ;1;10)

SAP BusinessObjects Web Intelligence Rich Client

If

If(bool_value;true_value;false_value)

bool_valu

e

true_valu ,
bool_value ""
e

false_val ,
bool_value ""
ue

true_value false_value
If false_value
If.

If(bool_value;true_value;If(bool_value;true_value;false_value|If...))

Web Intelligence
If...Then...Else.

=If(UserResponse(" :")="";"";UserResponse("
:"))
If([ ]>1000000;" ";" ") "
" , 1 000 000, " " ,
1 000 000.
If([ ]>1000000;" ";[]) " "
, 1 000 000,
.
. :

If...Then...Else

SAP BusinessObjects Web Intelligence Rich Client

If...Then...Else

If bool_value Then true_value [Else false_value]



bool_value

true_value

, bool_value
""

false_value

, bool_value
""

, Else

true_value false_value .

And, Between, InList, Or Not


If.

If,
ElseIf. :

If test_value Then true_value [Else false_value|ElseIf test_value Then


true_value [Else false_value]]

Web Intelligence
If(bool_value;true_value;false_value).

If [ ]>1000000 Then " " " "


, 1 000 000.
If [ ] >1000000 Then " " Else [] " "
, 1 000 000,
.
If [ ]>1000000 Then " " Else " " "
" , 1 000 000 " " ,
1 000 000.
If [ ]>1000000 Then " " ElseIf [ ] > 800000 Then
" " Else " " " " ,
1 000 000, " " , 800 000 1 000
000 " " .
. :

If

""""

Between

Inlist

""""

SAP BusinessObjects Web Intelligence Rich Client

""""

And . , And,
"", "".

bool_value And bool_value [And bool_value...]

If [] = " " And []>100000 Then "


" " ",
[] = " " And []>100000.
SAP BusinessObjects Web Intelligence Rich Client

Between

Between , .

bool Between(first_value;second_value)

Between If Where.


, ,
Between. (
Web Intelligence InfoView.)

If [] Between(800000;900000) Then " " "


", [] 800000 900000.
[ ] Between (10000;20000) "",
10000 20000.
If ([ ] Between (200000;500000);" ";"/
") " ", [ ] 300000.
SAP BusinessObjects Web Intelligence Rich Client

Inlist

Inlist , .

bool test_value Inlist(value_list)

test_value + InList , InList.

If Not ([] InList("";"";"")) Then " " Else


"" " ", [] "", "" "" ,
, "".
If [] InList(" ";" ") Then " "
" ", [] " " " ".

SAP BusinessObjects Web Intelligence Rich Client

""""

Or . , Or,
"", "".

bool_value Or bool_value [Or bool_value...]

If [] = " " Or []=" " Then "" Else ""


"", []=" " " " , ,
"".
SAP BusinessObjects Web Intelligence Rich Client

Not , .

bool Not(bool_value)

If Not([] = "") Then " " " ", [] ,


"".
SAP BusinessObjects Web Intelligence Rich Client

Where

Where , .

Average ([ ]) Where ([] = "")


"".
Average ([ ]) Where ([] = "" Or [] = "")
"" "".
[] Where (Not ([] Inlist (""; "")))
, "" "".
[ ] [] Where [ > 500000].
[ ] , 500000.
[ ], Average ([
]) , 500000.

SAP BusinessObjects Web Intelligence Rich Client

FormatNumber

string FormatNumber(;format_string)

format_string

(, [], [] )
FormatNumber .

FormatNumber([];"#,##.00") 835 420,00, [] 835 420.

=FormatNumber([Branch Id];"#") + " " + [Branch Name]


SAP BusinessObjects Web Intelligence Rich Client

LastExecutionDate

LastExecutionDate(dp)

dp

, dp

DataProvider .

LastExecutionDate([ ]) "4/3/2002", " "


4 2002 .

=FormatDate(LastExecutionDate();"dd.MM.yyyy HH:mm:ss")

SAP BusinessObjects Web Intelligence Rich Client

DataProvider

DataProvider(obj)

DataProvider([ ]) "", [ ]
"".

SAP BusinessObjects Web Intelligence Rich Client

LastExecutionDuration

num LastExecutionDuration(dp)

dp

LastExecutionDuration([]) 3, ""
3 .
SAP BusinessObjects Web Intelligence Rich Client

LastExecutionTime

time LastExecutionTime(dp)

dp

, dp .

DataProvider .

LastExecutionTime([ ]) "14:48:00",
" " 14:48:00.

SAP BusinessObjects Web Intelligence Rich Client

FormatDate

FormatDate( ;format_string)

format_string

, .

(: [], [] . .) FormatDate.

FormatDate(CurrentDate();"dd/MM/yyyy") "15/12/2005", 15
2005 .