描述 Smart View 函數 HsSetText。
資料來源類型:Oracle Hyperion Financial Management
描述
HsSetText 會將儲存格文字傳送至資料來源。您可以使用全部維度成員,或儲存格參照、預設 POV 或三者的組合。
註:
使用者必須按一下提交資料以儲存儲存格文字。
語法
專用連線:
HsSetText("CellTextComments","PrivateConnectionName","POV","CellTextLabel")
共用連線:
HsSetText("CellTextComments","WSFN|ProviderType|Server|Application|Database","POV","CellTextLabel")
URL 連線:
HsSetText("CellTextComments","URLFN|URL|Server|Application|Database","POV","CellTextLabel")
如需詳細的語法資訊,請參閱手動建立函數。
範例
在此範例中,HsSetText 會將文字從儲存格 H3 傳送到 HFM01 應用程式。
專用連線:
HsSetText("H3","HFM01","Scenario#Actual;Year#2004;Period#"&B$2&";View#<Scenario View>; Entity#UnitedStates.Connecticut;Value#<Entity Currency>;Account#"&$A3&";ICP#[ICP None]; Custom1#GolfBalls;Custom2#Customer2;Custom3#[None],Custom4#Increases")
共用連線:
HsSetText("H3","WSFN|HFM|hfm_svr|HFM01|HFM01","Scenario#Actual;Year#2004; Period#"&B$2&";View#<Scenario View>;Entity#UnitedStates.Connecticut; Value#<Entity Currency>;Account#"&$A3&";ICP#[ICP None];Custom1#GolfBalls; Custom2#Customer2;Custom3#[None],Custom4#Increases")
URL 連線:
HsSetText("H3","URLFN|https://<servername:port>/hfmadf/../hfmofficeprovider/OfficeProvider|<servername:port>|<servername:port> |HFM01|HFM01","Scenario#Actual;Year#2004;Period#"&B$2&";View#<Scenario View>;Entity#UnitedStates.Connecticut; Value#<Entity Currency>;Account#"&$A3&";ICP#[ICP None];Custom1#GolfBalls;Custom2#Customer2;Custom3#[None],Custom4#Increases")