Re: Problems creating subform



BruceM wrote:
Thanks for the reply. I was indeed doing a lot of development work. I have learned the value of backups, and perform them as soon as I have incorporated a new element of the database. It helped me in this case.
Good for you! Most of us learned this the hard way!


When you say that it is a good idea to do the former during development, do you mean it is a good idea to decompile and recompile? If so, is the
procedure to enter the following at the command line (all on one line)?


"C:\Program Files\Microsoft Office\Office\msaccess.exe" /decompile "c:\MyPath\MyFile.mdb"

If that is what you meant, do I recompile at a code window or at the command line? By the way, what is compiling and decompiling?
Decompile is run from a comman line prompt, not from within Access / VBA. What it does is, it removes the compiled (executable) code from an ..mdb file. The result is that the next time you run the file, the source code is re-compiled, while you have gotten rid of any executable code rubbish that were left behind during development (deleting the source code for a procedure, or a whole module, doesn't remove its compiled code, I believe).
To be honest, I usually just do the "import-into-a-new-mdb" trick, and it does the job just fine. Effectively, it produces the same result, in that compiled code is not carried accross.



I compact and repair during the development process, which as I understand it is a good idea. Do I understand correctly?
Definitely a good idea, though not enough. It compacts the data itself (releases unused space from deleted records or even whole tables) and re-indexes the tables, but does not get rid of the executable code garbage. Importing all objects into a new .mdb, on the other hand, does both, to the best of my knowledge. Yet, i still compact and repair all the time during development (it's very fast when there's little data, like the case usually is during development), while I would only create a new copy at the end of the day. For one thing, there's no such thing as one precaution too many!

Nikos
.



Relevant Pages

  • Re: a little confused about packages...
    ... seem to take care of this on its own. ... a console are the same errors that I get in the ide... ... You have all the source code files in the "src" directory, ... use the "classes" directory for the compiled code. ...
    (comp.lang.java.help)
  • Re: Are they obligued to give me the source code?
    ... Michael Schnell a écrit: ... Thus if the compiled code can be downloaded the source code needs to be downloadable from the same site. ... Did you get that from the German ruling? ...
    (comp.os.linux.embedded)
  • Re: Destructive Functions
    ... >>> I believe you are thinking of coalescing here. ... >>> COMPILEd code are required to reference (as in eql) the literals ... >>> in the source code. ... > corresponding objects in the compiled code are eql. ...
    (comp.lang.lisp)
  • Re: Paging Mr. Rettig [ws Re: Explanation of macros; Haskellmacros]
    ... I don't recall if there is a compiled code ... >>source code that was being evaluated. ... I don't think MIT Scheme tracks macro expansions. ... > line in the definition of bar which invokes baz, ...
    (comp.lang.python)
  • Re: Paging Mr. Rettig [ws Re: Explanation of macros; Haskellmacros]
    ... I don't recall if there is a compiled code ... >>source code that was being evaluated. ... I don't think MIT Scheme tracks macro expansions. ... > line in the definition of bar which invokes baz, ...
    (comp.lang.lisp)