Re: [Axapta-Knowledge-Village] How can I pass parameter from a form to a class?

2009-09-10 Thread Anitha S
 I could not get the clear picture of ur query. I understood the first part
of it.
 Try this.
 From your question , i understud PURCHID is in the datasource.
 So you can directly use it as *datasourcename.PurchID or
FormControName.text()* and pass it as parameter to the class method.
 Else you can pass the Table as parameter.

 Hope it helps!!!

 Regards,
 Anitha

On Thu, Sep 10, 2009 at 6:34 AM, girac127  wrote:

>
>
> Hello all,
>
> I have created a job to query and create file. I will drag that into a
> class.
> Now I need to to pass a parameter from my form (the PurchTable.PurchID
> field of the record that is selected) to the class and use that as my
> parameter in my query.
> How can I accomplish this?
>
> Best regards
> G
>
> 
>


[Axapta-Knowledge-Village] How can I pass parameter from a form to a class?

2009-09-09 Thread girac127
Hello all,

I have created a job to query and create file. I will drag that into a class. 
Now I need to to pass a parameter from my form (the PurchTable.PurchID field of 
the record that is selected) to the class and use that as my parameter in my 
query.
How can I accomplish this?

Best regards
G