I'm trying to import a file using importfile() but want to suppress any
validation errors so using "return 2" as per the help. However the IDE keeps
crashing whenever I get to that point. I tried "return 1" and it would crash
as well but not as much.
I tried a build and it didn't crash so it seems my deployed files are fine
with it. Is this a known issue with the IDE?
TIA, using 9.0.1 6533 on XP
Greg
Suggestion: Use a "Return 1" and track the error column yourself in your
own log. Returning a "2" to accept the error may not be recoverable
and thus the GPF!
regards .... Chris
"Greg W" <sa...@winfieldsolutions.com> wrote in message
news:3fe6f54c@forums-2-dub...
The problem with return 1 is PB only suppresses the error message but not
the followup "do you want to continue" messagebox. That messagebox will only
confuse the client so I need to suppress all and take care of validation
myself.......thus return 2
Greg
"Chris Pollach" <Poll...@SCC-CSC.gc.ca> wrote in message
news:3fe70234$1@forums-2-dub...
Do you have a sample of the code that is causing the crash? If so can you post it?
Jim
"Greg W" <sa...@winfieldsolutions.com> wrote in message news:<3fe717cc$1@forums-1-dub>...
Another suggestion ... have you tried this through a DataStore vs DW
Control? That might suppress the extra MessageBox as the DS is not expecting
a visual interface.
regards ... Chris
"Greg W" <sa...@winfieldsolutions.com> wrote in message
news:3fe717cc$1@forums-1-dub...
That is what I ended up doing. However, FYI after a virus scan, a full
rebuild, a spybot scan and a defrag the "return 2" doesn't throw any errors
anymore. So, something was shakey from before
Greg
"Chris Pollach" <Poll...@SCC-CSC.gc.ca> wrote in message
news:3fe89a2e$1@forums-1-dub...
"Greg W" <sa...@winfieldsolutions.com> wrote in message
news:3fe89ff1$1@forums-1-dub...