Patch level :
Files correlati : Ricompilazione Demo : [ ] Commento : git-svn-id: svn://10.65.10.50/trunk@19870 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
cd3a602b45
commit
1bc841ff39
@ -1280,13 +1280,9 @@ bool TStampaPerCategorie::user_create()
|
||||
filename.ext("dbf");
|
||||
TFilename filetrr = "at2700a";
|
||||
filetrr.ext("trr");
|
||||
if (!filetrr.custom_path())
|
||||
{
|
||||
filetrr = "recdesc/at2700a";
|
||||
filetrr.ext("trr");
|
||||
}
|
||||
if (!filetrr.exist())
|
||||
return error_box("Manca il file at2700a.trr sia in custom che in recdesc. Impossibile proseguire!");
|
||||
if (!filetrr.custom_path() && !filetrr.exist())
|
||||
return error_box("Manca il file %s sia in custom che nella cartella del programma. Impossibile proseguire!", (const char*)filetrr);
|
||||
|
||||
_file = new TExternisamfile(filename, filetrr, false);
|
||||
|
||||
//stampa file personalizzato
|
||||
@ -1294,13 +1290,9 @@ bool TStampaPerCategorie::user_create()
|
||||
namepers.ext("dbf");
|
||||
TFilename perstrr = "at2700b";
|
||||
perstrr.ext("trr");
|
||||
if (!perstrr.custom_path())
|
||||
{
|
||||
perstrr = "recdesc/at2700b";
|
||||
perstrr.ext("trr");
|
||||
}
|
||||
if (!perstrr.exist())
|
||||
return error_box("Manca il file at2700b.trr sia in custom che in recdesc. Impossibile proseguire!");
|
||||
if (!perstrr.custom_path() && !perstrr.exist())
|
||||
return error_box("Manca il file %s sia in custom che nella cartella del programma. Impossibile proseguire!", (const char*)perstrr);
|
||||
|
||||
_filepers = new TExternisamfile(namepers, perstrr, false);
|
||||
|
||||
|
||||
|
@ -616,14 +616,12 @@ bool TFrequenza::user_create()
|
||||
freqname.ext("dbf");
|
||||
TFilename freqtrr = "at2900";
|
||||
freqtrr.ext("trr");
|
||||
if (!freqtrr.custom_path())
|
||||
{
|
||||
freqtrr = "recdesc/at2900";
|
||||
freqtrr.ext("trr");
|
||||
}
|
||||
if (!freqtrr.custom_path() && !freqtrr.exist())
|
||||
return error_box("Manca il file %s sia in custom che nella cartella del programma. Impossibile proseguire!", (const char*)freqtrr);
|
||||
|
||||
_file = new TExternisamfile(freqname, freqtrr, FALSE);
|
||||
|
||||
return TRUE;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool TFrequenza::user_destroy()
|
||||
|
Loading…
x
Reference in New Issue
Block a user