I'm not sure if I understand you correctly, but if you have a method
somewhere that receives the tablebuffer as a parameter, you can make
something like this:

void myMethod(tmpTab1 _Tab1)
{
    tmpTab1    localTab1;
    ;
    localTab1.setTmpData(_tab1);
    //...
}

After this you can work on your localTab1 without affecting (or being
affected by) the original passed tab1.
I'm not 100% sure on the exact method name for setTmpData, but if you play
arround with it you should find it.

Best regards

Thomas Turn Jensen
----- Original Message -----
From: "Bojan Jovicic" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 28, 2004 9:10 AM
Subject: [development-axapta] Variable passing


>I am having following problem. I have a form that has a table as
>datasource.
> That table has property temporary set to yes. I want to select all the
> records that satisfy certain condition from that table.
> Lets say table is named tmpTab1. So when i do
> SELECT *
> FROM tmpTab1
> WHERE tmpTab1.field == ...
> I get the data in form filtered also. I tried creating one variable of
> same
> type as that table and selecting through it, but again i get the form
> filtered. I even created a class that has a varibale of same type as that
> table, and created a method for passing the table to object of that
> class(which i instantiated), but again i get the form table filtered.
>
> Any ideas?
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Express yourself with Y! Messenger! Free. Download now.
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>



Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to