Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently September 28th, 2024, 3:15 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: reading database into array and array into listbox
PostPosted: June 24th, 2005, 4:18 pm 
Offline

Joined: June 21st, 2005, 6:00 pm
Posts: 3
I'm currently reading data from an excel spreadsheet. I'd like to read all the values of a field in excel into a single array and then display that array in a listbox. Am I right in assuming that I'll need to write some script for this or can this part be done through GUI. I havn't tackled opus script yet so I'm trying to keep as much of this in GUI as possible.

Whats the best way to tackle this even if I have to go the script route?

Also I notice when you are assigning Variables to fields after creating a query that if I choose array as a variable type the new variable will not be created. Is this a bug or as designed?

Shawn


For this message hendris has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: reading database into array and array into listbox
PostPosted: June 30th, 2005, 12:48 pm 
Offline

Joined: June 18th, 2005, 3:16 pm
Posts: 86
Opus: Opus Pro v9.75
OS: Windows 10.?
System: HP xw660 Server 32GB RAM, Toshiba Satellite Laptop
hendris wrote:
I'm currently reading data from an excel spreadsheet. I'd like to read all the values of a field in excel into a single array and then display that array in a listbox. Am I right in assuming that I'll need to write some script for this or can this part be done through GUI. I havn't tackled opus script yet so I'm trying to keep as much of this in GUI as possible.

Whats the best way to tackle this even if I have to go the script route?

Also I notice when you are assigning Variables to fields after creating a query that if I choose array as a variable type the new variable will not be created. Is this a bug or as designed?

Shawn


Shawn

Yes, you will have to use script to do what you plan. Here is a post that will help in accessing your Excel data.

viewtopic.php?t=401&highlight=excel

The rest of the solution to your problem is simply assigning your variable(s) to a list. Try the example in the post from Robin Garrett above, then put a Listbox onto your test page and assign your data to it. Good luck.

pc_amethyst


For this message pc_amethyst has been thanked by : mackavi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group