From: Steve on
Please describe what you mean by "..... the database becomes unstable ...."
Access IS NOT trying to run the VBA just because you have the VBA in a
table! Post a specific example of where you are having a problem.

Steve
santus(a)penn.com



"KB" <KB(a)discussions.microsoft.com> wrote in message
news:3DEC5924-ABF4-4737-B005-61340095370A(a)microsoft.com...
>I am building a database catalogue of all our reports and want to include
>the
> SQL and VBA used in the reports. I have added a memo field to hold this
> data
> but the database becomes unstable when I add the VBA (I copy it from MS
> Excel
> and paste it in the memo field). I suspect that Access is trying to run
> the
> VBA.
>
> Could someone suggest how I can embed this data in the database. I know
> that
> I could hyperlink to files external to the database but don't want to do
> this
> unless there are no other issues.
>
> Thanks
>


From: Gina Whipp on
KB,

You say the VBA in the memo field is causing corruption. How are you
inserting the VBA into the memo field. Also, what version of Access and
what SP is it on?

--
Gina Whipp
2010 Microsoft MVP (Access)

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm

"KB" <KB(a)discussions.microsoft.com> wrote in message
news:46D4D9DE-364E-42CD-AEB0-098EB999803B(a)microsoft.com...
Hi Jeff

Thank you for your response. To give you a bit more background, we have a
number of reports within the department that we want to document in a way
that can be searched by anyone in the department (so that they can find
which
reports might be relevant to them and to reduce duplication). We are
building
a MS Access catalogue that will be the main data store with a sharepoint
user
interface. Although most people won't need to see the VBA and SQL stored in
the database we want to have all the documentation/backup of the code for
the
various reports in one place i.e. within the database. A number of the
reports that we want to document are built in MS Excel and are automated
through VBA.

I thought MS Access would be a good way to go and that VBA in a memo field
would be seen as text but it seems to be corrupting the databse. I have used
Access's documenter in the past but do not have a similar documenter for
Excel (although I am aware there are products we could buy). I am loathed to
have a central folder with backups of the code and hyperlinks due to the
fragility of them but would welcome any ideas.....

K

"Jeff Boyce" wrote:

> It sounds like you are trying to document the application.
>
> Do you require electronic documentation, or could you use Access' built in
> documenter and print off the documentation?
>
> For that matter, instead of documenting it yourself, what about just using
> Access' built in documenter?
>
> Regards
>
> Jeff Boyce
> Microsoft Access MVP
>
> --
> Disclaimer: This author may have received products and services mentioned
> in this post. Mention and/or description of a product or service herein
> does not constitute endorsement thereof.
>
> Any code or pseudocode included in this post is offered "as is", with no
> guarantee as to suitability.
>
> You can thank the FTC of the USA for making this disclaimer
> possible/necessary.
>
> "KB" <KB(a)discussions.microsoft.com> wrote in message
> news:3DEC5924-ABF4-4737-B005-61340095370A(a)microsoft.com...
> >I am building a database catalogue of all our reports and want to include
> >the
> > SQL and VBA used in the reports. I have added a memo field to hold this
> > data
> > but the database becomes unstable when I add the VBA (I copy it from MS
> > Excel
> > and paste it in the memo field). I suspect that Access is trying to run
> > the
> > VBA.
> >
> > Could someone suggest how I can embed this data in the database. I know
> > that
> > I could hyperlink to files external to the database but don't want to do
> > this
> > unless there are no other issues.
> >
> > Thanks
> >
>
>
> .
>