Hi Guys

I have a SQL query that returns values. I want to take the results and populate a dynamic array. I want to use a dynamic array because I run this query quarteky and the number of rows in the result differs each time. Please help...

Select D.Ref From D Where Print = 'Y' And Status = 'A' Order By Ref is my SQL query.