BEFORE_FIRST error

Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
2 posts Page 1 of 1

monahanks

Posts: 41
Joined: Wed Mar 30, 2011 10:19 am

Post by monahanks » Thu Feb 19, 2015 11:18 am
Good morning,
I have a project that (in part) reads a .CSV file, writes the data to a fixed width file, and then reads the fixed width file. When I try to print the 2 columns of the rowset, I get the BEFORE_FIRST error. I am attaching the job log and the XML information (as word docs).

Where am I going wrong on this?

Thanks,
Kevin
Attachments
1000000021892.log
(26.26 KiB) Downloaded 336 times

BEFORE_FIRST_xml.docx
(14.67 KiB) Downloaded 372 times

Support_Rick

Support Specialist
Posts: 592
Joined: Tue Jul 17, 2012 2:12 pm
Location: Phoenix, AZ

Post by Support_Rick » Thu Feb 19, 2015 11:46 am
Put your Print Statement inside a For-Each loop across ${savedcontrol}. If you only need the first record, then just do an <exitLoop/> after the print values task.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
2 posts Page 1 of 1