DO (gTransport) WITH THIS.cFrx2files,m.frxtype,.F.,gAShowMe, m.gOTherm,THIS.cCurrentFile,THIS.lTransDlog
SET UDFP TO &oldudfp
SET MESSAGE TO (cOldMess)
THIS.c25alias = THIS.OpenFile(THIS.cfrx2files)
IF !EMPTY(THIS.c25alias)
IF (FCOUNT() = C_FRXFLDS OR FCOUNT() = C_30FRXFLDS) AND FIELD(1) = "PLATFORM" && may be 3.0 transport, so check for 2.x + 3.0 field counts (jd 11/13/95)
LOCATE FOR Platform = THIS.Platform
IF FOUND()
RETURN .T.
ENDIF
ENDIF
USE IN (THIS.c25alias)
ENDIF
THIS.lHadError=.T.
RETURN .F.
ENDPROC
*------------------
PROCEDURE PostForm
*------------------
REPLACE ALL uniqueid WITH SYS(2015) FOR uniqueid = "~A" OR uniqueid = '^'
REPLACE ALL timestamp WITH THIS.nTimeStamp FOR platform = THIS.platform
ENDPROC
*------------------------------------
PROCEDURE Cleanup && FRXConverter
*------------------------------------
*- this proc is called by Error, and tries to put things back the way they were
*- if cleaning up from a crashed project conversion, the pjx cleanup will
*- handle the reports
LOCAL i
IF !THIS.lUserCall
*- report opened individually
*- Delete temp files if we had an error
CLOSE TABLES
IF FILE(THIS.cFrx3files)
DELETE FILE (THIS.cFrx3files)
IF FILE(FORCEEXT(THIS.cFrx3files,IIF(JUSTEXT(THIS.cFrx3files) = "LBX","LBT","FRT")))