Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading a Table to an Array

Status
Not open for further replies.

maverick

MIS
Apr 21, 1999
193
0
0
US
Hey everyone,

anyone know a quick way to load myArray() with the content of a table ?

The table has no key or IDs, it just holds Label Captions

tia

+--------------------------+
| "Hacker by Heart" |
| Yahoo! : saenzcorp |
+--------------------------+
 
ok I added prikey because they were getting out of order,

here is more info: I have a report that I would like to change the header via this table,

for example:
record 1 = Report Header
record 2 = Report Footer
etc...

But I need to create an expression that that can use the value of record 1 as the caption on a label in the report

any ideas...

tia


+--------------------------+
| "Hacker by Heart" |
| Yahoo! : saenzcorp |
+--------------------------+
 
In the Object browser (F2 when in VBE) do a search for DLookUp or GetRows and then feel free to play with the F1 key.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top