NetTalk Central

Author Topic: 'Other' button on browse  (Read 2323 times)

bergsj

  • Jr. Member
  • **
  • Posts: 81
    • MSN Messenger - swjvandenberg@hotmail.com
    • View Profile
    • Email
'Other' button on browse
« on: November 03, 2008, 06:08:30 AM »
Hello,

I have a browse with Invoices. On every row I have 2 buttons. One is the change button. The other one is a custom button. The change button opens the linked (to the browse) form and let's you change an invoice. The custom button has to show the invoice on a second form (using the same table) and ask you if you want to delete this record.
Showing the correct invoice in the second form is the problem. I have turned on 'Include Row ID field', but every time the second form is shown the last position of the 'change'-form is shown, not the one from the button I just pushed.
Anyone have a clue? I'm stuck. ???

Many thanks!
Greetz,
Sjoerd

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11183
    • View Profile
Re: 'Other' button on browse
« Reply #1 on: November 03, 2008, 06:36:35 AM »
Hi Sjoerd,

Check out FAQ #4 as it tells you more specifically how to call a form "by hand". In your case, the second form would be called in "change" mode, but where the form has the "delete" button turned on. Then the user can see the form, and click on Delete.

Cheers
Bruce

bergsj

  • Jr. Member
  • **
  • Posts: 81
    • MSN Messenger - swjvandenberg@hotmail.com
    • View Profile
    • Email
Re: 'Other' button on browse
« Reply #2 on: November 03, 2008, 07:47:50 AM »
Bruce,

Indeed, when I check out 'Include Pressed Button' and manually add '?<!-- Net:s:SID-->&Change_btn=Change' after the URL, then the correct Invoice is opened.

Thanks!
Greetz,
Sjoerd