Args.record(Datasourcename);
Hth Tobias
-Ursprüngliche Nachricht-
Von: byteway_so [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 23. November 2005 12:58
An: development-axapta@yahoogroups.com
Betreff: [development-axapta] args
Hi,
How can I pass a datasource (with selected records
Hi,
You need to use:
Args args;
Table yourtable;
;
Select firstonly yourtable where yourtable == the record that you want to transfer;
args = New Args();
args.record(yourtable);
I hope this can help you.
Best regards,
Diego Gagliano
Hi, byteway_so,
Is what you mean the datasource that is in the form? If so, then just send the DataSourceName using record accessor method. So, if you want to get the FormObjectSet object, then use element.args().record().dataSource() function.
Ex.:
Args args;
;
args = new Args();
Thanks all for your replies! I got it working now.
The statement that got me back on track was :
//args.record(SalesTable);
/b
Sonny Wibawa Adi wrote:
Hi, byteway_so,
Is what you mean the datasource that is in the form? If so, then just send the DataSourceName using record accessor
Hi,
How can I pass a datasource (with selected records) in an args object?
Tried the dataset method without luck, also parm(datasourceName)
didn't work.
Args arg;
;
args = new Args();
//args.parm(datasourceName);
//args.dataset()= datasourceName;
Any hints?
Hi.
I want to change the args parameter (received journalid) in the init
from the report prodjournalbom.
I will run this program in batch every day but the journalid change
every day. I will only print the journal with 'xyz' in the
prodjournaltable.name that stays everytime the same.
How
6 matches
Mail list logo