NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: britech on July 26, 2010, 10:14:01 AM
-
Hi folks,
Is it possible to Hide or Unhide the Browse edit buttons at Run-Time , based on a value in a highlighted record column?
I have some records, that at various stages, they progress from 'Ordered', 'Dispatched', 'Picked Up', etc.
I want the end user to be able to change a record, but only before the status changes to 'Dispatched' .
Is there a mechanism available to do the hide and unhide of the <Change> and <Delete> buttons at Run-time?
Looking foreward to any feedback.
Thanks in advance.
Brian
-
I think if they are buttons on the Browse you may be able to use the options in the conditional tab, display options to disable them based on a condition. The condition needs to go on the button field. I have done this with EIP fields on a browse and not buttons so not sure 100% if it will work but worth a try.
-
Thanks Kevin,
I see that it is possible when the buttons are in the row. Unfortunately, I'm tight for space in the browse already.
I was hoping (not a particulalry solid business plan), that we could intercept something when a row is selected.
Perhaps I'll try intercepting the Change button and testing the record for eligibility at that point before they can actually change anything.
Appreciate the input.
Cheers,
Brian
-
The other option if your browse is a field on a form is to add your own insert, change, delete buttons and every time a user clicks the browse check for the condition, update your SSV and refresh the buttons.