Code: Select all
displayPrint(WIN,PAGE) =Y:-
retractFactDb(preview_update),
try inStream := inputStream_file::openFile8(re_temp_file_name)
catch TraceId do
STR = exceptionDump::dumpToString(TraceId), vpiCommonDialogs::note(STR), %temp line
Error = exception::getLastError(),
re_temp_open_er(WIN,convert(integer,Error)),fail
end try,
re_update_buffer(PAGE),
inStream:close()
The file that is trying to be opened is a temporary working file to print data from vpiTableed in a wysiwyg format. I can't figure out why it can't seem to create or open the file. "Error = exception::getLastError()" actually states that the "operation completed successfully" so I added the "STR = exceptionDump::dumpToString(TraceId), vpiCommonDialogs::note(STR)" line to see what was going on.
Any help would be greatly appreciated.
Cheers,
David Snook