Quantcast
Channel: VFPX
Viewing all articles
Browse latest Browse all 3798

Commented Unassigned: FoxBin2Prg: Support for file types SPR and MPR [43280]

$
0
0
The conversion of the text version of a project file to the binary version (pj2 -> pjx) sets the type field of the files belonging to the project according to the FoxPro.H header file.

The two file types "SPR" and "MPR" are missing from the FoxPro header file and so these two file types are not converted properly. (tested with 1.19.1.46 Preview 6)

Fix for the problem: Extend the procedure "fileTypeCode" with the missing file types:

PROCEDURE fileTypeCode
LPARAMETERS tcExtension
tcExtension = UPPER(tcExtension)
RETURN ICASE( tcExtension = 'DBC', 'd' ;
, tcExtension = 'DBF', 'D' ;
...
, tcExtension = 'H', 'T' ;
, tcExtension = 'SPR', 'E' ;
, tcExtension = 'MPR', 'P' ;
, 'x' )
ENDPROC
Comments: ** Comment from web user: ralfxwagner **

Always a pleasure. Thanks for the quick update, I'll look into it.


Viewing all articles
Browse latest Browse all 3798

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>