NetTalk Central
Toggle navigation
Login
Register
×
Welcome,Guest
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Other Button on a browse - record ID
« previous
next »
Print
Pages: [
1
]
Author
Topic: Other Button on a browse - record ID (Read 2647 times)
JohanR
Sr. Member
Posts: 375
Other Button on a browse - record ID
«
on:
July 16, 2023, 03:06:23 AM »
Hi,
I have added an 'Other' button on a browse
What is the correct way to populate a URL to call a procedure with a parameter coating the record ID of the relevant browse record?
URL set to 'ServeDocOrderPDF' & '?document_isn=' & clip(doc:document_isn)
I have it working in one browse, but for some reason not working in another browse.
So perhaps not quite the correct way?
thanks
Johan
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: Other Button on a browse - record ID
«
Reply #1 on:
July 16, 2023, 11:37:21 PM »
select a procedure to call,
tick on "include Row ID Field".
Logged
JohanR
Sr. Member
Posts: 375
Re: Other Button on a browse - record ID
«
Reply #2 on:
July 17, 2023, 12:37:25 AM »
Hi Bruce
How do I extract the field_id in the receiving procedure?
thanks
Johan
Logged
Bruce
Global Moderator
Hero Member
Posts: 11250
Re: Other Button on a browse - record ID
«
Reply #3 on:
July 17, 2023, 02:06:43 AM »
I believe it's in the session value already for you.
If not you'll need to do a p_web.StoreValue in the receiving side, but from memory I don't think that's necessary.
Logged
JohanR
Sr. Member
Posts: 375
Re: Other Button on a browse - record ID
«
Reply #4 on:
July 17, 2023, 11:04:34 AM »
Hi Bruce
thanks, got it ,
both work, I prefer the p_web.GetValue, just feels better to actually get the value.
loc:document_isn = p_web.GSV('doc:document_isn')
and
loc:document_isn = p_Web.GetValue('doc:document_isn')
Thanks
Johan
Logged
Print
Pages: [
1
]
« previous
next »
NetTalk Central
»
NetTalk Web Server
»
Web Server - Ask For Help
»
Other Button on a browse - record ID