Hi everyone, i want to ask you if you already implemented something like this:
Example:
i have a sales document line and an action related to it (it's an action of the subform, like item tracking lines, for example)
This action is doing something like
MyPage.SETTABLEVIEW(mytable);
...
MyPage.Getparameter(1,2,3,4,5);
MyPage.Seteditable(true)
...
MyPage.RUN(/RUNMODAL);
This is a common way to pass parameters/special filters to a form.
My question is simple: how can i have the same behavior of the page, but having it shown in a factbox?Or better, how can i call all the functions before the run of the page? (i know ProviderID, my question is about the running of those preprocessing functions)
Obviously, the factbox updates every time i change the focus on the sales line.
Thanks in advance
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Comments
it would be perfect to declare the sourcetable of the factbox, but :whistle: there's no such property...thanks anyway to the readers of this topic
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
I'm not sure I understood exacly what you are trying to do, but anyway you can call Factbox page function from the main page in this way:
CurrPage.FactboxPartName.FORM.Factboxpagefunction(parameter1, parameter2...);
<Control1900000002> <Control1900000002> Container ContentArea
<Control1000000002> <Control1000000002> Group Group
Field1 Field Field1Name
........
........
<Control1000000032> <Control1000000032> Container FactBoxArea
FactboxPartName <FactboxPartName> Part
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
I understand that you can call the factbox function from the main page, however my factbox needs to get re-calculated each time a new document line is selected. Where would the call to the factbox function go on the main page? Is the main page aware somehow of when the selected document line changes?
second page
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog