|
|
|
|
|
| | |
|
vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Please help with Arrays |
From: |
Jeremy Weber |
Date: |
12/1/1999 6:10:28 PM |
IP: |
208.184.101.11 |
I have two arrays. The first array is two dimensional and simply looks like this...
1 Windows31
2 windows95
3 windows98
4 windowsnt
5 linux
6 solaris
etc...
The second comes from a text field in an access database. The value is typically something like this
curval = 1,3,5
I split this array using the following...
tpc = split(curVal,",")
What I need to do is loop through the second array to eventually show the user the corresponding value from the first array. IE...
if curval = 1,3,5
then
Windows31
windows98
linux
Would all be selected. Any help at all would be appreciated. You may email me directly if you think you may have a solution to this problem.
Jeremy Weber
jweber@mecasw.com
|
|
|
|
|
|
|
|
|
|
|
|
|