Normal Topic PopUpChoiceList display (Read 696 times)
Stew Bell
Member
*
Offline



Posts: 21
Joined: Dec 17th, 2011
PopUpChoiceList display
Nov 4th, 2013 at 1:06am
Print Post Print Post  
Hi
I have a large PopupchoiceList which displays all choices side by side. 
eg.
Choice 1 Choice 2 Choice 3 Choice 4   etc

How do I make it a vertical list?
eg
Choice 1
Choice 2
Choice 3 

I would also like to know the code to fill in fields in a child subform record with the same info as in the parent.

thanks

Stew Bell
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2480
Joined: Aug 20th, 2003
Re: PopUpChoiceList display
Reply #1 - Nov 4th, 2013 at 4:09pm
Print Post Print Post  
Hello Stew Bell,

What is your current programming for @PopupChoiceList()?

@FormFieldValue() can be used in programming on the subform to grab values from the Parent form.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Stew Bell
Member
*
Offline



Posts: 21
Joined: Dec 17th, 2011
Re: PopUpChoiceList display
Reply #2 - Nov 5th, 2013 at 12:26am
Print Post Print Post  


var vresult as string
var vchoices as string




vchoices =
"502     Office" +
"505      GENERATOR" +
"507      TILT A WHIRL" +
"508      SCRAMBLER 2" +
"509      GENERATOR" +
"511      ZIPPER" +
"516      SCRAMBLER 1" +
"517      SLIDE 1" +
"518      SPIDER" +
"519      HURRICANE" +
"522      GRAVITRON" +
"523      ELI WHEEL" +
"524      FUNHOUSE" +
"528      BERRY GO RND" +
"530      ORIENT EXPRESS" +
"531      BEES" +
"535      BIKES" +
"536      RAIDERS" +
"539      TRAIN" +
"541      ROCKET RACE" +
"542      SCOOTER" +
"547      SKEEBALL" +
"552      CAROUSEL" +
"559      GONDOLA" +
"560      GONDOLA SCENERY" +
"569      CENTRAL PARK" +
"570      MERRY GO RND" +
"576      SWING" +
"577      MARDI GRAS" +
"580      BERRY GO RND 2" +
"582      CLIFFHANGER" +
"585      TORNADO" +
"586      2 OFFICE" +
"588      FREAK OUT" +
"589      SLIDE 2" +
"590      CONST ZONE" +
"591      WACAMOLE" +
"592      WATER RACE" +
"593      DERBY" +
"594      FULL TILT" +
"595      PENTHOUSE" +
"596      QUASAR" +
"598      TERRY HOUSE" +
"599      Columbus" +
"600     Musik Express" +      
"601      Glendale House" +
"602      Londonaire House" +
"603      Dannys House" +
"604      TandM Bunk" +
"605      500kw Gen" +
"606      Dog Ride"
     

vresult = @PopupChoiceList(vchoices, "Select Equipment")
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2480
Joined: Aug 20th, 2003
Re: PopUpChoiceList display
Reply #3 - Nov 5th, 2013 at 2:12pm
Print Post Print Post  
Hello Stew Bell,

You will want to separate each individual item with a semi-colon. The following should work for you. 

Code
Select All
var vresult as string
var vchoices as string




vchoices =
"502     Office;" +
"505      GENERATOR;" +
"507      TILT A WHIRL;" +
"508      SCRAMBLER 2;" +
"509      GENERATOR;" +
"511      ZIPPER;" +
"516      SCRAMBLER 1;" +
"517      SLIDE 1;" +
"518      SPIDER;" +
"519      HURRICANE;" +
"522      GRAVITRON;" +
"523      ELI WHEEL;" +
"524      FUNHOUSE;" +
"528      BERRY GO RND;" +
"530      ORIENT EXPRESS;" +
"531      BEES;" +
"535      BIKES;" +
"536      RAIDERS;" +
"539      TRAIN;" +
"541      ROCKET RACE;" +
"542      SCOOTER;" +
"547      SKEEBALL;" +
"552      CAROUSEL;" +
"559      GONDOLA;" +
"560      GONDOLA SCENERY;" +
"569      CENTRAL PARK;" +
"570      MERRY GO RND;" +
"576      SWING;" +
"577      MARDI GRAS;" +
"580      BERRY GO RND 2;" +
"582      CLIFFHANGER;" +
"585      TORNADO;" +
"586      2 OFFICE;" +
"588      FREAK OUT;" +
"589      SLIDE 2;" +
"590      CONST ZONE;" +
"591      WACAMOLE;" +
"592      WATER RACE;" +
"593      DERBY;" +
"594      FULL TILT;" +
"595      PENTHOUSE;" +
"596      QUASAR;" +
"598      TERRY HOUSE;" +
"599      Columbus;" +
"600     Musik Express;" +
"601      Glendale House;" +
"602      Londonaire House;" +
"603      Dannys House;" +
"604      TandM Bunk;" +
"605      500kw Gen;" +
"606      Dog Ride"


vresult = @PopupChoiceList(vchoices, "Select Equipment") 



-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged