Hi,
I have two pages one is abc and another is xyz both have two separate table on the page abc i have a button when i click on button it open page xyz . I want to pass some field value from page abc to page xyz without save data on xyz page table is it possible ? or is it mandatory to save data in xyz page table before open page xyz..
Hi, Can any one help me about the issue i can not resolved it data is not showing on my XYZ page where as it shows in message box. I checked it with globalvariable and page variable both ways but no luck.
Its displayed in the page .
Here you're assigning the Rec.EmployeeID value to the EmployeeID variable. Is it a global variable? Is it displayed in the page?
Hi, stefano
Thanks for your quick response.
I have tried your suggestion but its not showing data on XYZ page but show in message box below is my code
PAGE : XYZ
procedure GetRecordFromABCPage(var Rec: Record Request)
var
myInt: Integer;
begin
Message(Rec.EmployeeID);
EmployeeID := Rec.EmployeeID;
end;
PAGE ABC:
action("XYZ") {
ApplicationArea = All;
trigger OnAction()
Begin
pGXYZ. GetRecordFromABCPage (Rec);
PAGE.RUN(PAGE:: XYZ);
end;
}
Inside your XYZ page definition, create a procedure like:
Procedure YourProcedureName(var YourRecord: Record YourRecord)
{
//write your code here
}
From page ABC:
Declare a variable like XYZ: Page XYZ;
and then call:
XYZ.YourProcedureName(YourRecord)
Hi,
Stefano Demiliani Thanks for your quick response.
can you help me with some code example ?
Page XYZ can expose a procedure (function) that can be called from page ABC with the desired parameter. Just declare procedure XXX on your page XYZ.
Sohail Ahmed
813
YUN ZHU
771
Super User 2025 Season 1
Mansi Soni
529