hi - this might be a stupid question but am new to arrays,
have an array from a recordset using getrows.
i know how to loop through the array to list all records but what if i want to display a specific record from the array - do i have to loop through all records anyway?
at the moment i think it should be
if im not making sense let me know!
have an array from a recordset using getrows.
i know how to loop through the array to list all records but what if i want to display a specific record from the array - do i have to loop through all records anyway?
at the moment i think it should be
Code:
for j2=0 to UBound(kcus, 2)
if x_carid = kcus(5,j2) then j2 = j3 end if
next
x_fname = kcus(0,j3)
x_lname = kcus(1,j3)
x_lname = Left(x_lname,8)
x_pcode = kcus(3,j3)
x_reg = kcus(4,j3)
if im not making sense let me know!