Yes, you don't have assigned your map, and, no: it's not a view!!
You should use a select on the table mapped with!!

The real advantage of a map is to use the same methods for different
tables. Ex: Order & Order-History
If you want to launch the same report once from the order screen &
once from the Order-History screen, pass a record to your map, an
then in this map, declare methods you will would use in OrderTable &
in Order-HistoryTable

I hope, you have a better idea now

Bye

Vario

--- In [EMAIL PROTECTED], Aksnes Eva <[EMAIL PROTECTED]>
wrote:
> Strange

> I've tried that - no success.

>     JournalTransMap    journalTrans;
>     ;

>     while select journalTrans where journalTrans.JournalId ==
> _journaltable.JournalId
>     {
>         print journaltrans.transid;
>         pause;
>     }
>
> -----Original Message-----
> From: vario0 [mailto:[EMAIL PROTECTED]
> Sent: 28. januar 2004 17:06
> To: [EMAIL PROTECTED]
> Subject: [development-axapta] Re: Select from Map
>
>
> --- In [EMAIL PROTECTED], "eva_aksnes"
<[EMAIL PROTECTED]>
> wrote:
> > Is it possible to run a select based on a map?
> > How?
> >
> > Like I want to select journaltransactions with a given journalid
> from
> > JournalTransMap. How can I do that??
>
> I don't understand very well your question but, yes, you can.
>
> You should see a map like a table.
>
> Declare your map like this:
> "JournalTransMap myJournalTransMap"
> and then, select the records you need and it should work!!!
>
> Bye
>
> Vario
>
>
>
> Yahoo! Groups Sponsor     
>
> ADVERTISEMENT

>
<http://rd.yahoo.com/SIG=12c0723ft/M=267637.4116730.5333196.1261774/D=
egroup
>
web/S=1705006764:HM/EXP=1075392455/A=1945637/R=0/*http://www.netflix.c
om/Def
> ault?mqso=60178397&partid=4116730> click here     

> <http://us.adserver.yahoo.com/l?
M=267637.4116730.5333196.1261774/D=egroupmai
> l/S=:HM/A=1945637/rand=223685581>      
>
>
>   _____ 
>
> Yahoo! Groups Links
>
>
> *      To visit your group on the web, go to:
> http://groups.yahoo.com/group/development-axapta/
> <http://groups.yahoo.com/group/development-axapta/>
>  
>
> *      To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]
subject=Unsubscribe>
>  
>
> *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service
> <http://docs.yahoo.com/info/terms/> .


Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to