NetTalk Central

Author Topic: Popup form  (Read 3122 times)

bergsj

  • Jr. Member
  • **
  • Posts: 81
    • MSN Messenger - swjvandenberg@hotmail.com
    • View Profile
    • Email
Popup form
« on: December 14, 2010, 04:41:22 AM »
Guys,

When I have a browse containing a view of Address records and have set the form type to be popping up, then this works great for the insert button.
When I put an edit button on a row I cannot use the 'default' one since the view has primary ID field VNAW.ID and the form expects NAW.ID. I need to create a custom button calling the form with formAddress?NAW__ID=VNAW.ID. On the custom button template I cannot find anything to enable popup forms.

How can I deal with this issue?
Greetz,
Sjoerd

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Popup form
« Reply #1 on: December 14, 2010, 05:19:32 AM »
At this stage I don't have template support for popup forms off custom buttons.
You can certainly look at the code in the generated button, and duplicate it.

Perhaps in the form it would be better to set the necessary Naw:Id to match the incoming Vnaw:Id.

cheers
Bruce

bergsj

  • Jr. Member
  • **
  • Posts: 81
    • MSN Messenger - swjvandenberg@hotmail.com
    • View Profile
    • Email
Re: Popup form
« Reply #2 on: December 14, 2010, 05:27:23 AM »
"Perhaps in the form it would be better to set the necessary Naw:Id to match the incoming Vnaw:Id."

What's the best approach on doing this?

Greetz,
Sjoerd