NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: charl99 on August 20, 2012, 07:24:02 AM

Title: Multiple Selections
Post by: charl99 on August 20, 2012, 07:24:02 AM
I checked some of the postings regarding this and would really like to see an example if anybody actually has one!

My situation slightly different though. I am on a Browse, and then I want to press a Button that goes to a Browse showing what is available and selected. 

A bit difficult to describe, let my try again. I have an insurance policy, and I can select certain Sections. Once selected from the Sections file, I copy these to the Policy Sections file. So I never go to a Form to Select the Sections.

(Please see attachment. I basically want that Window Select Browse 2nd pic to be called from the left side of the 1st pic.)

So obviously I have to do a Select Sections Browse in NetTalk, and call it from a Browse.  I just don't know if it is possible, how to call it, etc.  I do not even need to know what is already selected, just the Browse to Select from should be cool.

Any ideas anybody, Bruce?

Thanks
Charl


[attachment deleted by admin]
Title: Re: Multiple Selections
Post by: kevin plummer on August 20, 2012, 06:42:15 PM
Rather than trying to highlight multiple records, add a check box field (you need to store this in your DB) and then use this info to filter your other browse.
Title: Re: Multiple Selections
Post by: Bruce on August 20, 2012, 09:40:24 PM
I confess that despite the description, I'm not sure I understand what you are trying to do.

I think what you want is a form, with a single multi-select field on it. (it looks like a drop list.).
Then also on the form is a browse, with a child browse.

As the user multi-selects things on the drop-down, the parent browse, and child browse are populated.

cheers
Bruce
Title: Re: Multiple Selections
Post by: charl99 on August 21, 2012, 03:49:37 AM
Thanks Bruce and Kevin,

I followed Bruce advice here, a Form with the Drop down and a Add Section Button.  When Button is pressed I just whack the handcode in there under the Client Code Settings.  Works like a charm.

I sometimes still struggle how to get my head around _how_ to do things on the web as oposed to Desktop, but this is a pretty nifty solution. It also gets easier by the day.

Cheers
Charl