Welcome! Log In Create A New Profile

Advanced

refresh table child

Posted by antonio.pcs.crosspost 
antonio.pcs.crosspost
refresh table child
July 09, 2009 11:44AM
On a page, I have a form and a tablechild with lines for this form
When I intro on this pages the tablechild is refresh and is showing all the records, but if I intro a new record on the tablechild, the tablechild is not refresh.
this is the code for the intro a new record for the tablechild
// Validate the form
// Transfer controls to items
PageToFile()
// Record
SWITCH CallMode
CASE "Creation"
// Add the form
IF HAdd(Lineas_transferencia)=False THEN DisplayPreviousPage()


CASE "Modif"
// Modify the form
IF HModify(Lineas_transferencia)=False THEN DisplayPreviousPage()

AUTRES CASE
Error("Incorrect mode: "+CallMode)
DisplayPreviousPage()
END

// back to previous page
IF PreviousPage()<>"" THEN
// Call the refresh Procedure
// info("previous page")

WHEN EXCEPTION IN
ExecuteProcess(PreviousPage()+".RADrefresh",trtProcedure)
DO
// Indicates the error if other than "Procedure not found"
ExceptionEnable()
IF ExceptionInfo(errCode)<> 1027 THEN EXCEPTION
END
END

DisplayPreviousPage()

Why is not refreshing the table showing the new or the modify records?
Many thanks for your help

best regards
Antonio



Message forwarded from pcsoft.us.windev
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: