Re: Skip files in GetFiles Method - WeOnlyDo Discussion board

Re: Skip files in GetFiles Method (General questions)

by Clark Manlosa, Tuesday, May 20, 2008, 17:40 (5829 days ago) @ woddrazen

Hi Clark,


Can you please try instead True use value 1 and instead False use 0 value.

Something like this:
[code]if Right(RemoteFile, 4) = .sql then
Skip = 0
else
Skip = 1[/code]

Please try this in both your samples.

Let us know how it goes.


Regards,
Drazen


Hi Drazen,

I tried the above suggestion but loopitem event does allow an integer or numeric value for the variable Skip since it was declared as boolean data type.

I also tried it with ItemSkip property but I am still getting the same error invalid property to object .

Hope to hear more suggestions from you.

Thanks so much.

Clark


Complete thread: