NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: osquiabro on August 31, 2018, 06:20:05 AM
-
When save or close the form, returning to the browse it does not go to the selected record that was in use, but to the beginning of the browse, with page mode and popup mode same issue
i'm create a new browse from scratch with NT wizard and same problem..
-
please post an example.
-
i saw that the problems occurs when a browse is in div mode.
-
I think I have seen this and I may have a solution.
Check the last field in the browse(s) in question. It could be a string field, a button, doesn't matter.
Now check if that field is set as "Last in Cell" and/or "Last on Line."
I seem to recall seeing this behavior before and correcting it by making sure the last field in a row is set to "Last in Cell" and or "Last on Line."
The behavior kind of makes sense. When the form "closes", the browse thinks, "Hmmm, now which row was I on? Heck, I don't know because I don't know where one row starts and another row begins."
Anyway, I haven't ran into this in quite a while.
See Ya,
Don
-
Hi Don, your technique don't work in version 10.33.
Bruce see the attachments with example 81, any example with browse in DIV mode produce the problem.
-
It was a shot in the dark. :-)
However, I have duplicated the effect. Upon form close, browse returns to first record/row in a page loaded browse. Have not looked at a file loaded browse.
This is NT Build 10.33.
Don
-
I think you're both mis-reading what's happening.
It returns to the browse, and the browse is populated from the record you edited (as the first row).
ie the edited record _is_ the highlighted record, but it's repopulated from that record downwards.
This is, as I recall, by design.
cheers
Bruce
-
in my case always return to first row in a list no matter what, but in tablet mode return to selected or edited record
-
i have another issue with this when filter with locator then call a form a return, thi return to the first record of filter, if going to the last record with locator filter always return to the first record when close a form.
-
if you have another issue, start a new thread.
-
I think you're both mis-reading what's happening.
It returns to the browse, and the browse is populated from the record you edited (as the first row).
ie the edited record _is_ the highlighted record, but it's repopulated from that record downwards.
This is, as I recall, by design.
cheers
Bruce
Yes sir. I'm aware of that feature. I initially assumed the OP's issue was a misunderstanding of that feature until I looked at it. Seems to depend on the developer's use of "last on line" / "last in cell" and the combination thereof. It's not a showstopper in any way. I'll try to modify a shipped example app and get it to you.
Don
-
Bruce,
Tested with example app Basic with Menu.
Went step by step changing default settings one by one.
Keys to duplicate the issue:
- Browse must be in DIV mode.
Browse must be called as a popup from a menu.
Modded example app attached.
Don
-
i'm not alone ;D ;D
-
hi bruce, any idea or tips for this? I have a client that is driving me crazy with this..
thanks..
-
I've duplicated in Don's example where the browses is opened as a popup from the menu.
Is that the same as your situation Osa?
cheers
Bruce
-
yes Bruce, same situation but not popup from menu..
-
well, I've fixed the issue in Don's example, for the 10.35 release.
It remains to be seen if that fixes your issue though since the example you posted did not have a problem.
cheers
Bruce
-
Bruce, work perfectly
Thanks.