Normal Topic Pull Down List (Read 4204 times)
NHUser
Full Member
***
Offline



Posts: 320
Location: Amherst, NH
Joined: Aug 2nd, 2010
Pull Down List
Feb 1st, 2021 at 7:52pm
Print Post Print Post  
I would like to create a list of two elements in my current file (RECEIVING) from another file (APPROVED VENDORS) in my data base that would act like a pull down list.  I want to be able to have the list appear and then select one (click one) of the items on the list and add it to two elements in my current file.

How would i do that?

Any help is greatly appreciated.

NHUser
  
Back to top
 
IP Logged
 
jjj
Member
*
Offline



Posts: 5
Joined: Jul 5th, 2017
Re: Pull Down List
Reply #1 - Feb 4th, 2021 at 4:59am
Print Post Print Post  
I'm no expert, but you'll have to write 3 statements in the program manager, with a button or field that triggers on Element Entry.
the list, the position of the popup, variable/field to store the data in.

for example:
vList1 = ("Item1","Item2","Item3")
PopupSelectPosition(4,@XPos(ThisElement),@YPos(ThisElement))
Chosenfield = @PopupChoiceList(vList1,"Select Item")

If you're getting the list from another database, you'd need to use a xlookup.
  
Back to top
 
IP Logged