![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a table |
#3
| |||
| |||
|
|
I'm using Access 2007. I probably need a tutorial because I have tried to piece this together from different sources. I am sure this is a simple thing but I can't wrap my mind around it. I have a table with item names in it. These are the labels for the values I have in a second table. I need to create a module which will be called in the main/first form to load an array with the label names. Then I need to use that array throughout the project, on forms and reports. I would like to have it display on the forms and reports 'dynamically', with a for loop so that I do not have to hard code the form. Letting the number of items determine what is displayed. This problem is not my main concern, I can always work around it. My main concern/problem is the module and global array variables. I can't make it work. The rest I can probably work my way through. The code I have so far doesn't work at all. I need to decalre the arry, find out the number of labels in the file, redim the array for that number then open the table and fill the array. I think I know what to do I just don't know how to do it. Thanks for your help. Rich pointed out the tables work. This sub will list the field names |
![]() |
| Thread Tools | |
| Display Modes | |
| |