You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

Getting a field value to the current page from an another page

5 replies [Last post]
ashok_star2004's picture
User offline. Last seen 34 weeks 16 hours ago. Offline
Joined: 02/13/2009
Posts: 45

Hi All!Can u tell how can i get a field value to the current page from an another page

Ashar's picture
User offline. Last seen 4 years 39 weeks ago. Offline
Joined: 03/26/2008
Posts: 227
Re: Getting a field value to the current page from an ...

do you mean diffferent pages in the same component or different component?

ashok_star2004's picture
User offline. Last seen 34 weeks 16 hours ago. Offline
Joined: 02/13/2009
Posts: 45
Re: Getting a field value to the current page from an ...

hi!!its the different page in the same component

Thanks,
Ashok

Ashar's picture
User offline. Last seen 4 years 39 weeks ago. Offline
Joined: 03/26/2008
Posts: 227
Re: Getting a field value to the current page from an ...

If its in same component, then the value will be in component buffer. you can access it the same way you access the values on the same page.

ashok_star2004's picture
User offline. Last seen 34 weeks 16 hours ago. Offline
Joined: 02/13/2009
Posts: 45
Re: Getting a field value to the current page from an ...

thanks Ashar!!i've got it.One more one,if its in another component,then how can we get them??

Guest's picture
Guest (not verified)
Re: Getting a field value to the current page from an ...

Use component level varible and assign the values to these variables.
And where ever you want to access these variable, first use same declare statement and you can pull the value from that variable

Component integer &name;
&name = ps_personal_data.name;