[Axapta-Knowledge-Village] Re: Tab Page Problem crazy one

2007-11-16 Thread Steeve Gilbert
Maybe it would be easier if you don't use a temp table and use 2 
datasource of the same table.  the 2nd dataSource as a !(not) filter 
on the currently selected RecId of the first dataSource.  Change the 
filter and refresh the second dataSource each time the 1 dataSource 
selection change.

Good luck!


--- In Axapta-Knowledge-Village@yahoogroups.com, Rajkumar 
[EMAIL PROTECTED] wrote:

 Hi
 
 There are two tabpages containing the same records in grid. The 
 datasource for tabpage 1 is regular table and for tabpage 2 is temp 
 table. I have to display all the records in tabpage 2 except the 
 record to which cursor is placed in tab page 1. Similalry when i 
 change the record up or down in tabpage 1 grid, the records in 
tabpage 
 2 also needs to changed based on the cursor in tabpage 1. 
 
 Since I use Temptable and I insert the records from regular table 
to 
 temp table in init method of the temp table datasource, changing 
the 
 display of records in tabpage 2 seems to be difficult. It might be 
a 
 simple issue, but its making me crazy. Any help on this is highly 
 valued.
 
 Regards,





Re: [Axapta-Knowledge-Village] Re: Tab Page Problem crazy one

2007-11-16 Thread RAJKUMAR
Hi Steeve,
   
  I have done the same but in pageactivated method on form control.
  Anyways thanx for ur reply.
   
  rgds,
  Raj

Steeve Gilbert [EMAIL PROTECTED] wrote:
  Maybe it would be easier if you don't use a temp table and use 2 
datasource of the same table. the 2nd dataSource as a !(not) filter 
on the currently selected RecId of the first dataSource. Change the 
filter and refresh the second dataSource each time the 1 dataSource 
selection change.

Good luck!

--- In Axapta-Knowledge-Village@yahoogroups.com, Rajkumar 
[EMAIL PROTECTED] wrote:

 Hi
 
 There are two tabpages containing the same records in grid. The 
 datasource for tabpage 1 is regular table and for tabpage 2 is temp 
 table. I have to display all the records in tabpage 2 except the 
 record to which cursor is placed in tab page 1. Similalry when i 
 change the record up or down in tabpage 1 grid, the records in 
tabpage 
 2 also needs to changed based on the cursor in tabpage 1. 
 
 Since I use Temptable and I insert the records from regular table 
to 
 temp table in init method of the temp table datasource, changing 
the 
 display of records in tabpage 2 seems to be difficult. It might be 
a 
 simple issue, but its making me crazy. Any help on this is highly 
 valued.
 
 Regards,




 

   
-
Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.

[Non-text portions of this message have been removed]