View Full Version : Update Weblist Constrain
Wim Schimmel
3-Apr-2015, 04:15 PM
Hi,
If have a Selection Weblist with constrain and click a row to change the record in a zoom view, if the constrain is not valid there is a error (4402) cannot set rowid of server when going back to Weblist.
What is the best way to refresh the weblist
Wim
Harm Wibier
7-Apr-2015, 04:27 AM
There is a function FindDDRecordInBuffer on the List that you can call when your constraint changes. An example of that is available in the WebOrder sample under Demo -> Constrained Grid.
Regards,
Wim Schimmel
7-Apr-2015, 08:39 AM
Harm,
Then constrain is not changed, i only change the record in the zoom view and now is my list (selected view) not correct and gives an error.
I think there must be a refresh of the list after exit (save) of the zoomview.
Which procedure is called in the selected view after closing the zoom view.
Wim
Dennis Piccioni
7-Apr-2015, 12:37 PM
Hi Wim,
are you saying this worked in 18.0 but now doesn't in 18.1?
Wim Schimmel
7-Apr-2015, 02:52 PM
Hi Dennis,
No nothing to do with 18.0, but I found this
zoom view
Procedure OnGetNavigateBackData tWebNavigateData ByRef NavigateData
Send OnNavigateBack of oSelectLocatie
End_Procedure
select view
Procedure OnNavigateBack Handle hoCallback tWebNavigateData ByRef NavigateData
Send Refind_Records of oJaar_Stand_DD
Send FindDDRecordInBuffer of oList
End_Procedure
Wim Schimmel
21-Apr-2015, 11:16 AM
Is there a change in 18.1 A3 , the above procedure works in A2 and not in A3.
Error now in NavigateBackToHere from cwebview.pkg
My selection view has a constrain and on the zoom view i change the record, so the constrain of the clicked row is now invalid.
Wim Schimmel
21-Apr-2015, 12:32 PM
Move "" to NavigateData.sRowID @ OngetNavigateBackData and there is no error
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.