furtivevole
Technical User
I have taken over maintenance of someone else's .asp pages. These use vbScript (new to me), and there are a lot of other unknowns which makes it trickier/riskier to try things out than it would usually be.
One of these is a web-based form, from which (among other things) the user has to select a Customer. Currently this is from a hard-coded list (i.e. with a series of <option>cust_name</option> tags).
We would like instead to read the customer list dynamically from an Access table.
I'm stuck on how best to do this. For instance, using vbScript, if I read the table into an array (declared as public), could I then use this to populate the HTML list box - or is there a more elegant method? Depends presumably on the scope of the array variable outside the vbScript code.
Any ideas please?
Linnet
One of these is a web-based form, from which (among other things) the user has to select a Customer. Currently this is from a hard-coded list (i.e. with a series of <option>cust_name</option> tags).
We would like instead to read the customer list dynamically from an Access table.
I'm stuck on how best to do this. For instance, using vbScript, if I read the table into an array (declared as public), could I then use this to populate the HTML list box - or is there a more elegant method? Depends presumably on the scope of the array variable outside the vbScript code.
Any ideas please?
Linnet