NetTalk Central

Author Topic: Browse with different forms for insert and for change  (Read 5103 times)

rjolda

  • Sr. Member
  • ****
  • Posts: 329
    • View Profile
    • Email
Browse with different forms for insert and for change
« on: May 01, 2010, 11:11:53 AM »
Hi,
Can I have a different form for inserts and for changes and deletes?
Where would I get into the code for inserts and changes to call different forms?
thanks,
Ron Jolda

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Browse with different forms for insert and for change
« Reply #1 on: May 02, 2010, 01:52:07 AM »
If you embed your browse on a form you can then add your own insert/change/delete buttons with different URL's

kashiash

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • Email
Re: Browse with different forms for insert and for change
« Reply #2 on: May 02, 2010, 02:00:58 PM »
i have similrar question:
how to call different form for change for specific condition ?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Browse with different forms for insert and for change
« Reply #3 on: May 02, 2010, 09:58:41 PM »
Hi Ron,

I presume the change is really between Insert and Change, since for Delete you don't really see the form.
There's no easy way to do this using the template, but I'll see if I can add an advanced override for that to the next build.

cheers
Bruce

Rene Simons

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Re: Browse with different forms for insert and for change
« Reply #4 on: May 02, 2010, 10:30:33 PM »
Hi,
When the difference consists of just leaving out or including some fields I use the loc:act variable in the field condition.

Rene
Rene Simons
NT14.14

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Browse with different forms for insert and for change
« Reply #5 on: May 03, 2010, 05:13:25 AM »
to answer your question kashiash I have done it but only by adding my own buttons. I set a variable as the URL and then if a condition changes I just refresh my button which updates the URL.

kashiash

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • Email
Re: Browse with different forms for insert and for change
« Reply #6 on: May 12, 2010, 01:57:49 PM »
Kevin
Can you explain what exactly you change and where in embeds ?

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Browse with different forms for insert and for change
« Reply #7 on: May 13, 2010, 11:21:48 PM »
1) Add your own buttons for insert change etc
2) on those buttons make add your own URL. Check out the FAQ in Docs as you need to add some stuff at the end of the URL

That's it. Nothing needed in embeds unless you want to dynamically change the URL which in that case just set the URL as a GSV, update that value eg if a user clicks a checkbox etc and then refresh the button.