Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Return 2 crashes PB in itemerror event

10 views
Skip to first unread message

Greg W

unread,
Dec 22, 2003, 8:36:57 AM12/22/03
to
Hi all

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


Chris Pollach

unread,
Dec 22, 2003, 9:31:56 AM12/22/03
to
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...

Greg W

unread,
Dec 22, 2003, 11:11:56 AM12/22/03
to
Chris

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...

Jim Smith

unread,
Dec 23, 2003, 2:01:29 PM12/23/03
to
Greg,

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>...

Chris Pollach

unread,
Dec 23, 2003, 2:40:30 PM12/23/03
to
Greg;

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...

Greg W

unread,
Dec 23, 2003, 3:05:05 PM12/23/03
to
Chris

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...

Chris Pollach

unread,
Dec 23, 2003, 3:24:39 PM12/23/03
to
Must have been the "data" spyware!

"Greg W" <sa...@winfieldsolutions.com> wrote in message

news:3fe89ff1$1@forums-1-dub...

0 new messages