IEExtractTable return value always 0

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
glavender
Newbie
Posts: 10
Joined: Thu Aug 21, 2014 7:20 pm

IEExtractTable return value always 0

Post by glavender » Thu Aug 28, 2014 4:40 pm

When using IEExtractTable>, the output file is created or over-written fine. However, I was trying to test if file could not be created to make sure my error handling was working. I set the existing data file to Read Only. I ran my script with the Read Only file as the output file. It did not over-write the file, but the return code was 0 like everything was normal.
Thank you,
Gerry

glavender
Newbie
Posts: 10
Joined: Thu Aug 21, 2014 7:20 pm

Re: IEExtractTable return value always 0

Post by glavender » Fri Aug 29, 2014 3:51 pm

I guess I will just have to write a routine to see if the file was created and check the timestamp.

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: IEExtractTable return value always 0

Post by Marcus Tettmar » Tue Sep 02, 2014 4:39 pm

Agree that's no good. I've made a note to make sure this is fixed///improved.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

glavender
Newbie
Posts: 10
Joined: Thu Aug 21, 2014 7:20 pm

Re: IEExtractTable return value always 0

Post by glavender » Fri Sep 05, 2014 1:47 pm

Thank you Marcus.

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts