Here's the deal... I'm grabbing the 6 columns because I have to generate an automated "EMAIL" system, which I know how to build. I have to have the values (the emails in the columns) so the emails can be generated when a user updates their personal record information.
Basically when John Smith updates his personal record data... an email is sent to:
Value 1 = sd;fkj@dfk.com
Value 2 = sdfsdf@sdf;jsdf.com
Value 3 = ;dslf;@s;dfkl.com
Value 4 = ;sdfj;@sd;fs;dk.com
Value 5 = s;dfk;skdf@sd;fkls;dfk.com
Value 6 = ds;fsd;fk@sd;fkls;dfk.com
So you see why I need to have these 6 rows so I can capture the emails from the database table that have been previously entered by the administrator.
Just so you know, Value 1 is HR, Value 2 = President of the company, Value 3 = VEEP, Value 4 = Accounting, Value 5 - Legal and Value 6 = the CFO.
Does it make sense now? An array would be great. The SQL has to loop through the 6 Role IDs.
For i = 1 to NoOfRoles
.... Gather the values in an array
Next
Main Topics
Browse All Topics





by: angelIIIPosted on 2009-08-02 at 09:22:32ID: 24999302
usually, an array or collection...
why do you need to do so, actually?