Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating custom strings for use w/ "do" command 1

Status
Not open for further replies.

randy135

Technical User
Oct 6, 2000
1
US
I have a dropdown list w/ several lines, each represents a movie. I would like to be able to go to a specific movie dependent on the selected item.

When item "AAAA" is selected it should go to movie "first_movie"

How can I accomplish this using the "do" command? [sig][/sig]
 
I would recommend you use a list that contains all the items. When an item is selected the code would look something like

gotomovie(getat(gMyFileList, SelectedItemnumber)

to do it with a do command you would need to make the above statement into a string and use a do

eg set vOpenThisMovie = string(gotomovie(getat(....,....))
go vOpenThisMovie.

Can't see why you would want to do that but it will work.
[sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top