Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Retrieving 2 or more values from a DB query
#4
Solved: 11 Years, 4 Months, 4 Weeks ago
Hi Basanth,

When I tried this:
Code:
adj = Split(val2, VBLF)

For i = Lbound(adj) to Ubound(adj)
msgbox adj(i)
Next

All that prints out is the same as before:
TRAIN1
TRAIN2

How can I go through the array (read about the LBound and UBound function) and assign each element to a new value? So that TRAIN1 and TRAIN2 are stored in 2 separate variables.

Thank you.
Reply


Messages In This Thread
RE: Retrieving 2 or more values from a DB query - by egun - 09-03-2009, 09:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Query regarding "Call" statement anupam4j 1 2,071 09-26-2014, 01:46 PM
Last Post: vinod123
  Retrieving data from web table nsuresh316 1 3,159 03-03-2014, 08:29 AM
Last Post: basanth27
  Data Table Query Suma Parimal 4 4,837 01-21-2014, 12:50 PM
Last Post: Suma Parimal
  UFT Query invisible786 0 1,933 01-15-2014, 09:41 PM
Last Post: invisible786
  Retrieving data from Txt file into datatable kriday 3 5,850 07-23-2013, 11:04 AM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 7 Guest(s)