Micro Focus QTP (UFT) Forums
Creating an array from an specific field in the recordset - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Creating an array from an specific field in the recordset (/Thread-Creating-an-array-from-an-specific-field-in-the-recordset)



Creating an array from an specific field in the recordset - Arena - 04-04-2012

Hi,

I am tring to create an array from an specific column (field) in the recordset.

Code:
Arr = rs.GetRows(,,ARRAY(FieldName))
The script works just fine, but there is a warning message telling me that there is a Syntax error...

Can you tell me what is it missing, please?

Thanks!