bcd19eefb2
Files correlati : Ricompilazione Demo : [ ] Commento :include corretti git-svn-id: svn://10.65.10.50/trunk@16368 c028cbd2-c16b-5b4b-a496-9718f37d4682
34 lines
732 B
C++
Executable File
34 lines
732 B
C++
Executable File
#include <modaut.h>
|
|
#include <tabutil.h>
|
|
|
|
#include "bainstlib.h"
|
|
|
|
class TInstall_VE : public TInstallmodule_app
|
|
{
|
|
protected:
|
|
virtual int module_number() const {return VEAUT;}
|
|
virtual bool something_to_load() const;
|
|
|
|
public:
|
|
virtual ~TInstall_VE () {}
|
|
};
|
|
|
|
//le tabelle di vendita, non essendo ministeriali, vengono aggiornate soltanto se vuote! Questo per...
|
|
//..evitare la comparsa di record non creati dall'utente che va in confusione mentale!!
|
|
bool TInstall_VE::something_to_load() const
|
|
{
|
|
if (test_database())
|
|
{
|
|
TTable num("%NUM");
|
|
if (!num.empty())
|
|
return false;
|
|
}
|
|
return TInstallmodule_app::something_to_load();
|
|
}
|
|
|
|
int bainst31(int argc, char** argv)
|
|
{
|
|
TInstall_VE app;
|
|
app.run(argc, argv);
|
|
return 0;
|
|
} |