Bryan - Gendev
Programmer
To run specific SQL queries I have created an array and populated it with :-
n.1 query description
n.2 SQL query
My first listbox on the form is a lookup for all field names. Normally hidden
My second listbox is the operational one and shows the n.1 entries.
Having the user select a line in listbox2 I want to use the string in the second cell to run the SQL query.
How do I show the second cell str in my SQL editbox please?
In other words how do I find the line in the underlying array so that I can I find indexnum to use this in the click() method
thisform.text1.Value = gaMyListArray2[indexnum,2]
Thanks
GenDev
n.1 query description
n.2 SQL query
My first listbox on the form is a lookup for all field names. Normally hidden
My second listbox is the operational one and shows the n.1 entries.
Having the user select a line in listbox2 I want to use the string in the second cell to run the SQL query.
How do I show the second cell str in my SQL editbox please?
In other words how do I find the line in the underlying array so that I can I find indexnum to use this in the click() method
thisform.text1.Value = gaMyListArray2[indexnum,2]
Thanks
GenDev