hi, I have code to reference a library, however I am not too sure where to insert it in a report, so the reference will be used on opening of the report, i'e tried on open but i need it to go in before this happens
a more normal (common?) approach would be simply add the reference under tools\References. of course, it is possible to add the reference programatically, but even this needs to be accomplished before attempting to instantiate the object(s) which would utilize the references. Typically, this is done in some early part of the application code, often in 'one-shot' code attached to a 'start-up' form.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.