NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: gavinwebb on February 02, 2012, 10:37:43 PM
-
When my user logs in I lookup with customer they belong to. I have a My Settings menu which I want use to open a Form to edit the fields in the customer table for that user. I have an update form already for the customer called "UpdateCustomer", I also have the unique ID for the customer in a session variable. Can you tell me how to make this call please from my menu?
Thanks
-
http://www.capesoft.com/docs/NetTalk6/NetTalkWebFAQ.htm#W4
-
Thanks Bruce, I've looked at the examples and I've put this in my menu (as a URL) and it works i.e. opens the record I need:
'UpdateCustomers?change_btn=change&_bidv_=' & p_web.AddBrowseValue('pageheadertag','Customers',CUS:PK_CustomerID,p_web.GetSessionValue('CustomerID'))
However.........it opens full screen, whereas when I go via a browse the form opens as a popup. How can I make this work as a popup.
I tried using the procedure call method, this worked without "popup" checked, but when I checked popup it didn't work.
Any ideas?
-
So calling it in procedure mode works fine unless I check the box about popup - then it fails to have the record.
I can confirm what somebody else reported "Popup reseting session value of unique key". It put in this trace statement in GenerateForm embed:
MESSAGE(p_web.GSV('CUS:CustomerID'))
When in non-popup it has the ID value, when in popup mode it's empty.
Is this a bug, how can I get around it?
-
Hi Bruce
I'm running 6.26 and this still seems to be an issue. i.e. calling a form directly from a browse in procedure popup mode.
Is there a way I can work around this?
Thanks
Gavin
-
support for popups added in 6.27