PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WEBDEV 2024 → Link to Form - Master/Detail Relationship
Link to Form - Master/Detail Relationship
Iniciado por Roy Gum, jun., 04 2008 11:57 PM - 1 resposta
Publicado em junho, 04 2008 - 11:57 PM
Hi,

I am trying to create a link on a record in a table that will perform a PageDisplay() and go to another web page and maintain a master detail relationship.

In this case, I have a table that lists a numner customers orders. The customer wants to click on a particular order in the table and display the order detail.

How do I do this?
Publicado em junho, 13 2008 - 9:20 AM
Hi,

In the new page, let's name it page_detail create the following code in the page code in the global declaration section
Procedure page_detail(order)


then in the calling pageDisplay use

PageDisplay(page_detail,order)


where order is the order code/number you wish to display. You can add more parameters if you wish.

Hope it help's
Regards
Hugo