NetTalk Central

Author Topic: Browse with View, different Prefixes  (Read 2775 times)

bergsj

  • Jr. Member
  • **
  • Posts: 81
    • MSN Messenger - swjvandenberg@hotmail.com
    • View Profile
    • Email
Browse with View, different Prefixes
« on: January 31, 2011, 05:42:29 AM »
Hi,
In my dictionary I have two tables for example. One is called CARS with prefix CAR. And the other one is a VCARS which is a view on the backend and therefor has a different prefix VCAR.
When I configure a browse with the table (view) VCARS and tell it to use the form for updating the CARS table, I cannot use the default Edit/View/Delete row buttons, because of the different prefixes.
How can I solve this. I now do this with custom row buttons, but they don't support the POPUP mechanism. I would like to use the default buttons. But how?
Greetz,
Sjoerd

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Browse with View, different Prefixes
« Reply #1 on: January 31, 2011, 10:06:49 PM »
Set the form procedure to be the form you want.
In that form the SessionValue for the original browse row identifier will be set.
In the form, in the PreChange embed, load the record you wish to change, and set the Values for _that_ record's unique key.

cheers
Bruce