NetTalk Central

Author Topic: Insert Child Form from Child Browse calls Parent form  (Read 2886 times)

CaseyR

  • Sr. Member
  • ****
  • Posts: 448
    • View Profile
    • Email
Insert Child Form from Child Browse calls Parent form
« on: August 26, 2010, 04:11:31 PM »
I have a long standing parent form that creates an In-Memory parent record with child records through a browse on the parent form.   The browse has standard Insert and Delete buttons that call a child form.  It has worked fine for years.  At some point it has stopped working and now instead of calling the child form, the browse Insert button calls the parent form for a new record.  The child form, however called on Delete

I presumed I had somehow entered the wrong procedure as the Form Control Procedure for the Browse but it is correct.  I crawled all through the Browse procedure template and generated Clarion source code and all the references such as loc:formaction were to the child form not the parent.

The page source script for the Browse is:
<script type="text/javascript" defer="defer">var BrowseBookingDates=new browseTable('BrowseBookingDates','AddBooking_frm','MNDAT:AutoNumber',1,'browsebookingdates_addbooking',1,1,1,'AddBooking','','',1,'Are you sure you want to delete this record?','1','','','AddBookingDate');
BrowseBookingDates.setGreenBar('','','','');
BrowseBookingDates.greenBar();
</script>

AddBooking is the parent form
BrowseBookingDates is the child Browse
AddBookingDates is the child form

I am stumped.  Any help would be greatly appreciated.  Using NT 4.49