K
Kirk Groome
Hi All,
I have a record with fields 11 throught 150 and I want to loop throught the
fields and put them in an array. What is the correct way to do this.
code sample
.... Open record set and find a record
For Rooms = 11 To 14
aRoom(Rooms, AddDays) = rstRoomAvailability![(rooms)] '
should be the same thing as btest = rstRoomAvailability![11] PROBLEM
LINE
' aRoom(11) = rstRoomAvailability![11]
' aRoom(12) = rstRoomAvailability![12]
' aRoom(13) = rstRoomAvailability![13]
' aRoom(14) = rstRoomAvailability![14]
Next
Thanks Kirk
I have a record with fields 11 throught 150 and I want to loop throught the
fields and put them in an array. What is the correct way to do this.
code sample
.... Open record set and find a record
For Rooms = 11 To 14
aRoom(Rooms, AddDays) = rstRoomAvailability![(rooms)] '
should be the same thing as btest = rstRoomAvailability![11] PROBLEM
LINE
' aRoom(11) = rstRoomAvailability![11]
' aRoom(12) = rstRoomAvailability![12]
' aRoom(13) = rstRoomAvailability![13]
' aRoom(14) = rstRoomAvailability![14]
Next
Thanks Kirk