PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WEBDEV 2024 → refresh table child
refresh table child
Started by antonio, Jul., 09 2009 1:45 PM - No answer
Posted on July, 09 2009 - 1:45 PM
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