on 02-07-2005 5:10 PM
Hi
I'm talking from the weight column in the matrix in the Orderform.
Imho there are three possibilities to achieve this:
1. Those Select $[...]
2. More or less directly by iterating through the column objects (.specific)
3. Iterating through the DBDatasource.
I went with 2 but the performance is just annoying when formated searches comes in to play.
I don't know where to find documentation about those Select $[...] Queries so I couldn't test. Does anybody know a source?
I can somehow feel that Iterating through DBDatasources wouldn't be very fast but i am not 100% sure.
How has it to be done? Maybe somebody can point me in the right direction.
Thanks Phil
Hi Phil,
You have information about formatted searches in the marketplace, under Service&SupportKnowledge&ServicesKnowledge BaseCustomizingFormatted Search. There are 2 interesting documents here.
From one of them:
"To retrieve data from the active window a special query should be created. The SAP Business One system provides 2 different syntaxes for the query:
· $[Tablename.Fieldname]
Tablename indicates the table, which the active window relates to.
Fieldname the field from the active window.
· $[$Field Index. Field Column. Number/Currency/Date.0]
This syntax uses the fields index instead of the specific document table."
By the way, I think you are not going to be able to calculate a Sum, becouse you cant refer to an specific row within the matrix. You can refer to the first row, or to the actual row. But not specify the row number.
Hope helps,
Ibai Peñ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
7 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.