NetTalk Central

Author Topic: NWF "Default Tab Style" with a couple of NWB's  (Read 3441 times)

rupertvz

  • Sr. Member
  • ****
  • Posts: 323
    • View Profile
    • Email
NWF "Default Tab Style" with a couple of NWB's
« on: August 01, 2017, 12:29:36 AM »
Hi Guys,

I have a NWF (Default  Tab Style) with a couple of tabs (NWB's) below.

1.  A report is linked to all NWB's called from the one NWF.  The report limits records based on the unique session value set by the respective NWB.
Printing the report from any of the browses prints the filter (based on the session value) from the last browse.   (And not the selected browse from which the report was called)

I think this is because the last browse in the list, was the last to load the primary key into SessionValue?
Is there a way to overcome this?


2.  The NWF (with subsequent BRW's) loads slower than all the other NWB in the app.
I assume that all of the NWB's load records initially once the NWF opens?
Is there a way to only load the records for the NWB selected under the NWF? (Not all linked NWB's)

« Last Edit: August 01, 2017, 01:53:33 AM by rupertvz »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: NWF "Default Tab Style" with a couple of NWB's
« Reply #1 on: August 01, 2017, 11:49:03 PM »
1. It would seem your approach is flawed. Rather than use a session value in your browse filter, set when browses are generated, use a Value passed from the browse button. eg tick on RowId or add a parameter there. Then use that for your browse.

We can chat about this at the webinar on thursday if you are unsure.

2. I'm not sure what you are asking here - lets chat about this on thursday.

cheers
Bruce