PV OPEN DOCUMENT Error

View: New views
3 Messages — Rating Filter:   Alert me  

Parent Message unknown PV OPEN DOCUMENT Error

by John Foster :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all:

On 4D 2004.6 OS X

I use this command

PV OPEN DOCUMENT (ACTIVESP;"";0)

to open a document. I then click on the Cancel button and I get:

Error: 27
Document does not exist.

I cannot get it to go away no matter what.

Anybody seen this? Know how to fix? What am I missing here?

Thanks,
John...

--------------------------------------------------------------

John Foster
Eternity Software
425-486-1622

  http://www.eternity-software.com/ES_Products.html

--------------------------------------------------------------


**********************************************************************
The 4D v11 SQL Roadshow - coming to a city near you!
http://www.4D.com/roadshow/index.html

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
Post: mailto:4d_tech@...
Options: https://lists.4d.com/mailman/listinfo/4d_tech
**********************************************************************

RE: PV OPEN DOCUMENT Error

by Garri Ogata :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi John,

Yep, I think its a bug in 4D View.  I'm using 2004.7.  but you can get around it by calling PV ON ERROR prior to the PV OPEN DOCUMENT.  That will at least let you trap it to make sure that you don't get the error message.   Now you have to trap for all the other problems that could be legit.  Not the best solution but one that will work.

Garri
----------------------------------------

> From: truegold@...
> Date: Thu, 15 May 2008 20:29:36 -0700
> To: 4d_tech@...
> Subject: PV OPEN DOCUMENT Error
>
> Hi all:
>
> On 4D 2004.6 OS X
>
> I use this command
>
> PV OPEN DOCUMENT (ACTIVESP;"";0)
>
> to open a document. I then click on the Cancel button and I get:
>
> Error: 27
> Document does not exist.
>
> I cannot get it to go away no matter what.
>
> Anybody seen this? Know how to fix? What am I missing here?
>
> Thanks,
> John...
>
> --------------------------------------------------------------
>
> John Foster
> Eternity Software
> 425-486-1622
>
>   http://www.eternity-software.com/ES_Products.html
>
> --------------------------------------------------------------
>
>
> **********************************************************************
> The 4D v11 SQL Roadshow - coming to a city near you!
> http://www.4D.com/roadshow/index.html
>
> 4th Dimension Internet Users Group (4D iNUG)
> FAQ:  http://www.4d.com/support/faqnug.html
> Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
> Unsub:  mailto:4D_Tech-Unsubscribe@...
> Post: mailto:4d_tech@...
> Options: https://lists.4d.com/mailman/listinfo/4d_tech
> **********************************************************************

_________________________________________________________________
Stay in touch when you're away with Windows Live Messenger.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_messenger_052008**********************************************************************
The 4D v11 SQL Roadshow - coming to a city near you!
http://www.4D.com/roadshow/index.html

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
Post: mailto:4d_tech@...
Options: https://lists.4d.com/mailman/listinfo/4d_tech
**********************************************************************

Parent Message unknown RE: PV OPEN DOCUMENT Error

by John Foster :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Garri,

> Yep, I think its a bug in 4D View.  I'm using 2004.7.  but you can  
> get around it by calling PV ON ERROR prior to the PV OPEN  
> DOCUMENT.  That will at least let you trap it to make sure that you  
> don't get the error message.   Now you have to trap for all the  
> other problems that could be legit.  Not the best solution but one  
> that will work.

Thanks. I thought it was a bug but I've been wrong before.

In this case, fortunately, it's simple. And this approach will work.

appreciate,
John...

--------------------------------------------------------------

John Foster
Eternity Software
425-486-1622

  http://www.eternity-software.com/ES_Products.html

--------------------------------------------------------------


**********************************************************************
The 4D v11 SQL Roadshow - coming to a city near you!
http://www.4D.com/roadshow/index.html

4th Dimension Internet Users Group (4D iNUG)
FAQ:  http://www.4d.com/support/faqnug.html
Archive:  http://dir.gmane.org/gmane.comp.lang.inug-4d.tech
Unsub:  mailto:4D_Tech-Unsubscribe@...
Post: mailto:4d_tech@...
Options: https://lists.4d.com/mailman/listinfo/4d_tech
**********************************************************************