At 09:59 AM 7/17/2015, Michael J. Sinclair wrote:
Hi all,
The following code was working perfectly, 2 days ago after a windows
update, it
stopped working. The error message is...
Can not find the U:\note.txt file
Strange, it works when I trace it.
--offnote.cmd
SET VAR vpnum REAL
IF vpnum IS NULL OR vpnum = 0 THEN
GOTO END
ENDIF
SET HEADINGS OFF
DROP TABLE offnotes_dup
PROJECT TEMPORARY offnotes_dup FROM offnotes USING * +
WHERE patnumbr = .vpnum
UPDATE offnotes_dup SET dictdata = +
'############################################################################'
+
WHERE dictdata = 'DICTATED BUT NOT READ TO EXPEDITE FILING'
OUTPUT u:\note.txt
SELECT dictdata FROM offnotes_dup +
WHERE patnumbr = .vpnum ORDER BY rdate_=D linenum=A
OUTPUT SCREEN
LAUNCH u:\note.txt
ERASE u:\note.txt
LABEL END
RETURN
What am I doing wrong?
Most likely to do with the Windows security updates.
A few suggestions ...
. TRACE the code and confirm the creation of note.txt file on your U:\ drive.
. Revisit and verify logged-in user permissions to that specific drive
You may wish to create file in a sub-folder with full permissions rather than
the root of the drive.
Hope that helps!
Very Best R:egards,
Razzak
www.rbase.com
www.rbaseX.com
www.facebook.com/rbase
--
32 years of continuous innovation!
17 Years of R:BASE Technologies, Inc. making R:BASE what it is today!
--
--- 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.
================================================