Glad to hear it...
After I received Marco's code, it was easy to see what you were doing wrong,
so it was a pretty easy fix.
The RMScript.DLL is a pretty versatile tool.
Anything you can do in an HTA (HyperText Application) you can do in RBase
in-line code.
Much more powerful than trying to call an external script file and you can
use either VBScript or JScript.
After testing with the eFilm desktop, I added two functions to the DLL, both
addressing the ERR object. In addition to being able to get the LastError
of the script, you can get the Error Number via the MScrErrNumber function
and the Error Description via the MScrErrDescription function, which works
better when you might use ON ERROR RESUME NEXT statement in your VBScript
Code.
----- Original Message -----
From: "Luc Delcoigne" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Wednesday, August 18, 2010 2:47 AM
Subject: [RBASE-L] - re: connection R:base > Efilm
Hello Mike and Marco,
YES !!! IT WORKS !!!
there was need of some little tweeking to get the names of the two variables
right.
But now I have the connection I need, and from the patient record I can
retrieve and view the correct images in Efilm.
Thanks a lot to both of you !.....
Luc Delcoigne
--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]
(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body,
place any
text to search for.
================================================