NetTalk Central

Author Topic: Edit in place browse inside a form  (Read 3145 times)

Matthew51

  • Full Member
  • ***
  • Posts: 152
    • View Profile
    • Email
Edit in place browse inside a form
« 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]
Contractor with 10+ years of NetTalk experience looking for work.
www.linkedin.com/in/matthew-leavitt
BisWare.ca
Check out my free EasyTime Template

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Edit in place browse inside a form
« Reply #1 on: April 24, 2014, 01:12:19 AM »
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

Matthew51

  • Full Member
  • ***
  • Posts: 152
    • View Profile
    • Email
Re: Edit in place browse inside a form
« Reply #2 on: April 24, 2014, 09:44:45 AM »
I've been bugging my boss about NT8.  I'm told "soon."  I guess I'll put this one on hold till "soon" happens.
Contractor with 10+ years of NetTalk experience looking for work.
www.linkedin.com/in/matthew-leavitt
BisWare.ca
Check out my free EasyTime Template

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Edit in place browse inside a form
« Reply #3 on: April 24, 2014, 09:35:37 PM »
ha ha - yeah.
Tell him the feature is on hold until he makes up his mind <g>

cheers
Bruce