|
|
|
Передать параметры!!!
|
|||
|---|---|---|---|
|
#18+
Здравствуйте, Уважаемые!!! Подскажите как передать параметры (Object[] strReportParamArray,out Object[] nReportIDs) (функия VisualBasic)) в функцию? RwxReportErrors RwxAddExtReport(string strReport, DateTime tdateExec, string strUserName, string strGASTheme, bool bCreateMultiple, Object[] strReportParamArray, out Object[] nReportIDs) (функия VisualBasic) Adds an extended report for processing using multiple value parameters bool bCreateMultiple: Boolean flag to indicate multiple report creation per parameter value pair combination or merging of all retrieved report information into a single report Object[]strReportParamArray: Specially formed one dimensional string array of report parameter values in the form: INPUT sample data: number of rows is equal to number of parameters "@param1=value11;value12;value13;"; "@param2=value21;value22;"; where @param1,@param2 are the global parameters configured for the specific report string strReportParams: Report parameter string out Object[] nReportIDs: Returned array of Report IDs for the newly added report(s) Returns: Operation error code (RwxReportErrors) The report will be submitted for execution and it will not be executed immediately. The method call will return without waiting for the report to execute. The returned integer array of nReportIDs can be used to query for the report status and/or cancel the submitted report. Как передать параметры Выделенные жирным шрифтом в функцию. Я передаю так Dim A, reportID As Variant – описываю переменные A = Array("@NewParameter = 02", "@KodEnerg = 01", "@Kod_sost = 02001") – присваиваю массив множества rwxClass.RwxAddReport(reportName, Now, "S-TALGAT\ASPNET", "", True, A, reportID) – передаю в функцию Выдает ошибку Wrong number of arguments or invalid property assignment (Error 450) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 28.08.2006, 08:47 |
|
||
|
|

start [/forum/topic.php?fid=60&fpage=268&tid=2165394]: |
0ms |
get settings: |
8ms |
get forum list: |
18ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
59ms |
get topic data: |
7ms |
get forum data: |
2ms |
get page messages: |
22ms |
get tp. blocked users: |
1ms |
| others: | 252ms |
| total: | 377ms |

| 0 / 0 |
