NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Matthew51 on April 23, 2014, 12:57:39 PM
-
Net Talk: 6.55
See the attached screenshot for reference.
I have an invoice forum that allows the user to change the quantity and price of the details using edit in place. The problem I have is when someone enters a new price I need to update a bunch of totals. If they use the up/down arrows to change the quantity then ValidateValue::DetailBrowse gets called, and I can update everything. However if they instead type in a new number, or change the price then nothing happens.
Is their any embed point, or other method I can use to update the numbers? I can use embeds inside the browse to update itself (the extended column), but I don't see a way for the browse to force an update on the form.
[attachment deleted by admin]
-
Hi Matthew,
Unfortunately you're still on NT6.
In NT7 (and even more improved in NT8) is an "event" system which flows through the browses, forms, and browses on forms and so on.
So in NT8 it "just works". In other words you treat the browse as a "form field" - and on the reset list (of the form field) you can then specify other fields on the form (ie the total fields).
In other words you set the "relationship" between the browse, and the totals, and the rest just happens.
In NT6 though it's quite hard to do - and requires both an understanding of the code flow, and some nifty embed code. (It's hard - which is why I changed it for Nt7 and made it easy.)
cheers
Bruce
-
I've been bugging my boss about NT8. I'm told "soon." I guess I'll put this one on hold till "soon" happens.
-
ha ha - yeah.
Tell him the feature is on hold until he makes up his mind <g>
cheers
Bruce