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 | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.