NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: MikeR on March 14, 2014, 03:10:28 AM
-
When adding a child record of a parent, after the add, the parent table refreshes, however the child table remains the same, if you try adding a second record the focus is now on a different record, although it shows the children of the original parent, creating the perception that you are adding records to the same parent, however you are adding to the new parent as per example below.
Example (see attachment 1)
When we add students to a class the first record is fine as per image below, however when the second student is added the Classes refreshes however the Class Students is not refreshed, causing the second student we adding to be added to the wrong class as per second image below.
(See attachment 2)
As you can see the focus is on the first record Grade 1 , the class students are on Grade 5, but when I insert the information is for Grade 1
[attachment deleted by admin]
-
Hi Mike how are you adding the child browse? Via the templates or adding a 2nd browse to a form? The latter can sometimes give you more control. Also do you have much embed code on the child update form?
-
Hi Kevin.
There is no embeded code.
Only two browseTemplates
The parent has the second browse as a child
The child browse is filtered on the parent record.
-
I have experienced exactly this issue is 7.35. Is your child form called as popup? If it is uncheck the call as popup on the browse form tab and test if it still occurs.
It's possible that The refresh whole browse after change on the browse form\change tab may help although since you are talking about in insert it may have no effect.
-
Hi Terry
Yes, my child insert was set as a pop-up. I have unchecked the pop-up on the child form and this has resolved the problem.
Bruce I'm out of the office for the next couple of days but will post an example when I'm back.
Thanks
-
Hi Bruce
I have included an example with data, the app and dictionary. The Login and password is admin
If you add students to the class on the first page no problem, however if you page to the next page of the parent records and then add a student you will notice that the parent page is refreshed.
This only happens if you using a pop-up form, it works fine using a normal form.
Cheers
Mike
[attachment deleted by admin]
-
Hello, I have had the same problem appears when we use some filter.
I stayed in version 7.10, I can not upgrade my systems to version 8 for this reason.
Left a attached example (webserver exampes Books (71) with a filter)
Thanks and I hope comments
Agustín
[attachment deleted by admin]
-
Hi Mike,
I've tweaked this for build 8.08 so it should be ok.
Augstin: Let me know the exact sequence to duplicate the problem in that example 71, and I'll confirm it's fixed there too.
cheers
Bruce
-
Bruce. (I send the sequence. I hope you understand me)
* In Filter form
1) I declare a variable (LOC: FILTER) (in filter form) to filter BrowseInvoices.
* In BrowseInvoices
1) Filters -> conditional filters -> I call parent procedure (filter) 'INV: Customer =' & p_web.GSV ('Loc: Filter')
2) I call the procedure child (children tab) (BrowseLineItems)
* In BrowseLineItems
1) Filter tabs table relationship with the invoice table (BrowseInvoices)
Problem.
When I want to insert from the form (UpdateLineItems) Registry lose focus.
attached image
[attachment deleted by admin]
-
unrelated tip: in that example, UpdateInvoices procedure, is a line of embed code;
loc:options = 'beforeShowDay: jQuery.datepicker.noWeekends'
You should just remove it (it causes a GPF in NT8).
Other than that the app seems to work ok Augustin, so it appears the problem is sorted out.
-
you're right, the image is another example.
I test.
thanks
Agustín