Access 97: MDE ignores Conditional Compilation Arguments 
Author Message
 Access 97: MDE ignores Conditional Compilation Arguments

Hello All!

I used to define a few conditional compilation constants in Tools menu,
Advanced tab, Conditional Compilation Arguments box. For example:

    LICENSE = 2  :  PUBLISH = -1

After making an MDE-file from this MDB-project, these settings have gone!
All modules throughout the project was compiled as if

    LICENSE = 0 :  PUBLISH = 0

This is rather awkward and unlogical behavior in comparing to standardized
languages like C or Lisp. Is there some workaround or is that an unavoidable
"MSA feature"?
--
Sincerely,
                  Dmitri Ivanov
                  www.aha.ru/~divanov



Fri, 27 Sep 2002 03:00:00 GMT  
 Access 97: MDE ignores Conditional Compilation Arguments
I don't have Access 97 to test this on, but I can't repro this in Access
2000.  Have you tried a test with #Const instead in A8 to see if that works?

 -- Dev

:Hello All!
:
:I used to define a few conditional compilation constants in Tools menu,
:Advanced tab, Conditional Compilation Arguments box. For example:
:
:    LICENSE = 2  :  PUBLISH = -1
:
:After making an MDE-file from this MDB-project, these settings have gone!
:All modules throughout the project was compiled as if
:
:    LICENSE = 0 :  PUBLISH = 0
:
:This is rather awkward and unlogical behavior in comparing to standardized
:languages like C or Lisp. Is there some workaround or is that an
unavoidable
:"MSA feature"?
:--
:Sincerely,
:                  Dmitri Ivanov
:                  www.aha.ru/~divanov
:
:
:
:



Fri, 27 Sep 2002 03:00:00 GMT  
 Access 97: MDE ignores Conditional Compilation Arguments

Quote:
> I don't have Access 97 to test this on, but I can't repro this in Access
> 2000.  Have you tried a test with #Const instead in A8 to see if that

works?

#Const introduces a local preprocessor constant visible in the current
module only. It certainley works in A8.

But typing ubiquitous #Const declarations with the same name and value of
global use is not perfect idea :-(.
--
Sincerely,
                  Dmitri Ivanov
                  www.aha.ru/~divanov



Sat, 28 Sep 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Conditional Compilation Arguments and MDE

2. Conditional compilation to run Word2000 and 97 code under Word97

3. Conditional Compilation Arguments : How to change via ADDIN

4. access mde compilation failure

5. global conditional compilation constants in Access 2002

6. Create MDE with Access 97 / 2002 problem

7. Conditional Formating Substitute for Access 97

8. err 3072 (Access 97) MDE

9. Access 97 MDE to support both Word 8 And Word 9

10. Access 97 Library MDE references adn RefLibPaths

11. Access 97 .MDE libarary references

12. String > Conditional Statement Access 97

 

 
Powered by phpBB® Forum Software