Create a Constants table in VB code
- From: mpfohl@xxxxxxxxxxx
- Date: 23 Apr 2007 08:53:24 -0700
I need to create a constants table that exists entirely in VB code.
The table consists of 3 columns and 5 rows
I want the table to look like this:
ID Start Finish
1 3/1/07 3/5/07
2 3/6/07 4/10/07
....etc.
I then want to have code to pull out values in the table e.g.
GetStart(1) would use the Dlookup function to return the value in the
"Start" from the row with id "1". I'm pretty confident I can program
this portion of it.
What I don't know how to do is declare this table to exist in VB. Do
I want a table? Do I want an array instead? What is the best way to
go about this?
Thanks
.
- Follow-Ups:
- Re: Create a Constants table in VB code
- From: John W . Vinson
- Re: Create a Constants table in VB code
- From: Bob Hairgrove
- Re: Create a Constants table in VB code
- Prev by Date: Re: Combo Box Value Change Color or ????
- Next by Date: RE: VBA Code Help
- Previous by thread: Re: Combo Box Value Change Color or ????
- Next by thread: Re: Create a Constants table in VB code
- Index(es):
Relevant Pages
|