PC Review


Reply
Thread Tools Rate Thread

Database for VBA

 
 
KB
Guest
Posts: n/a
 
      17th Mar 2010
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

 
Reply With Quote
 
 
 
 
Jeff Boyce
Guest
Posts: n/a
 
      17th Mar 2010
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" <(E-Mail Removed)> wrote in message
news:3DEC5924-ABF4-4737-B005-(E-Mail Removed)...
>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
>



 
Reply With Quote
 
KB
Guest
Posts: n/a
 
      17th Mar 2010
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" <(E-Mail Removed)> wrote in message
> news:3DEC5924-ABF4-4737-B005-(E-Mail Removed)...
> >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
> >

>
>
> .
>

 
Reply With Quote
 
Jeff Boyce
Guest
Posts: n/a
 
      18th Mar 2010
I've not run across this issue before, so I'll step back. Hopefully one of
the other newsgroup readers has some insight on this...

--

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" <(E-Mail Removed)> wrote in message
news:46D4D9DE-364E-42CD-AEB0-(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
>> news:3DEC5924-ABF4-4737-B005-(E-Mail Removed)...
>> >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
>> >

>>
>>
>> .
>>



 
Reply With Quote
 
KB
Guest
Posts: n/a
 
      18th Mar 2010
Thank you for trying to help

"Jeff Boyce" wrote:

> I've not run across this issue before, so I'll step back. Hopefully one of
> the other newsgroup readers has some insight on this...
>
> --
>
> 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" <(E-Mail Removed)> wrote in message
> news:46D4D9DE-364E-42CD-AEB0-(E-Mail Removed)...
> > 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" <(E-Mail Removed)> wrote in message
> >> news:3DEC5924-ABF4-4737-B005-(E-Mail Removed)...
> >> >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
> >> >
> >>
> >>
> >> .
> >>

>
>
> .
>

 
Reply With Quote
 
Steve
Guest
Posts: n/a
 
      18th Mar 2010
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
(E-Mail Removed)



"KB" <(E-Mail Removed)> wrote in message
news:3DEC5924-ABF4-4737-B005-(E-Mail Removed)...
>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
>



 
Reply With Quote
 
Gina Whipp
Guest
Posts: n/a
 
      18th Mar 2010
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" <(E-Mail Removed)> wrote in message
news:46D4D9DE-364E-42CD-AEB0-(E-Mail Removed)...
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" <(E-Mail Removed)> wrote in message
> news:3DEC5924-ABF4-4737-B005-(E-Mail Removed)...
> >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
> >

>
>
> .
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Any solution for error message "Could not attach file 'App_Data\Database.mdf' as database 'Database'."? ornit_sagy@yahoo.com Microsoft ADO .NET 0 8th Jan 2007 08:34 PM
Any solution for error message "Could not attach file'App_Data\Database.mdf' as database 'Database'."? ornit_sagy@yahoo.com Microsoft ADO .NET 1 8th Jan 2007 08:12 PM
How to Add an All Values Item to a Database Query by Using the FrontPage 2003 Database Results Wizard =?Utf-8?B?RGFuaWVs?= Microsoft Frontpage 4 2nd Feb 2004 05:36 PM
WINS could not start due to a missing or corrupt database.Restore the database using WINS Manager (or winscl.exe found in the Windows 2000 Resource Kit) and restart WINS. If WINS still does not start, begin with a fresh copy of the database. =?Utf-8?B?V2hvcHJvZmVzc29y?= Microsoft Windows 2000 0 9th Dec 2003 09:41 PM
Help w/ The database database name needs to be repaired or isn't a database file dcollar Microsoft Access 2 18th Jul 2003 10:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:03 PM.