NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: bergsj on November 03, 2008, 06:08:30 AM

Title: 'Other' button on browse
Post by: bergsj 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!
Title: Re: 'Other' button on browse
Post by: Bruce 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
Title: Re: 'Other' button on browse
Post by: bergsj 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!