473,406 Members | 2,849 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

External Source Control of Basic Modules in MS-Access?

I would like to, at a minimum, be able to export and import MS-Access
basic modules so that I can edit them using my own
editor. Additionally I'd like to move the routines into a source
control mechanism such as CVS.

Has anyone ever accomplished such a thing? Pointers would be
appreciated.
--
Randy Yates
Nov 13 '05 #1
9 1675
Randy Yates <ra*********@sonyericsson.com> writes:
I would like to, at a minimum, be able to export and import MS-Access
basic modules so that I can edit them using my own
editor. Additionally I'd like to move the routines into a source
control mechanism such as CVS.

Has anyone ever accomplished such a thing? Pointers would be
appreciated.


Let me add that I've got half of this working - I can export modules.
The problem is in importing - even though I DoCmd.DeleteObject a module,
Access complains that it exists when I try to add it back in.
--
Randy Yates
Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
ra*********@sonyericsson.com, 919-472-1124
Nov 13 '05 #2
It sounds like the collection needs to be refreshed between the
DoCmd.DeleteObject and the import step. That should completely remove
any "memory" of it...

Nov 13 '05 #3
Randy Yates wrote:
I would like to, at a minimum, be able to export and import MS-Access
basic modules so that I can edit them using my own
editor. Additionally I'd like to move the routines into a source
control mechanism such as CVS.

Has anyone ever accomplished such a thing? Pointers would be
appreciated.


Is CVS SCC compliant? If so you can use it natively within Access if you
have the developers edition. I use StarTeam like this.

--
[Oo=w=oO]

Nov 13 '05 #4
pi********@hotmail.com writes:
It sounds like the collection needs to be refreshed between the
DoCmd.DeleteObject and the import step. That should completely remove
any "memory" of it...


I looked around for a "refresh" or "update" method but couldn't
find one. Do you know how to do this?
--
Randy Yates
Sony Ericsson Mobile Communications
Research Triangle Park, NC, USA
ra*********@sonyericsson.com, 919-472-1124
Nov 13 '05 #5
S-M-R-T!! I am so smart! (Oh, I mean S-M-*A*-R-T!!)

DBEngine(0)(0).Containers("Modules").Refresh

(trying very hard not to burn my diploma...)

Nov 13 '05 #6
pi********@hotmail.com writes:
S-M-R-T!! I am so smart! (Oh, I mean S-M-*A*-R-T!!)

DBEngine(0)(0).Containers("Modules").Refresh

(trying very hard not to burn my diploma...)


"Compile Error: Method or Data Member Not Found"
--
% Randy Yates % "Though you ride on the wheels of tomorrow,
%% Fuquay-Varina, NC % you still wander the fields of your
%%% 919-577-9882 % sorrow."
%%%% <ya***@ieee.org> % '21st Century Man', *Time*, ELO
http://home.earthlink.net/~yatescr
Nov 13 '05 #7
Randy Yates wrote:
I would like to, at a minimum, be able to export and import MS-Access
basic modules so that I can edit them using my own
editor. Additionally I'd like to move the routines into a source
control mechanism such as CVS.

Has anyone ever accomplished such a thing? Pointers would be
appreciated.


Check out the undocumented .SaveAsText and .LoadFromText hidden
functions. Then you can use CVS, PVCS or whatever system you prefer for
*modules* and *classes*.

--
'---------------
'John Mishefske
'---------------
Nov 13 '05 #8
Randy Yates wrote:
pi********@hotmail.com writes:

S-M-R-T!! I am so smart! (Oh, I mean S-M-*A*-R-T!!)

DBEngine(0)(0).Containers("Modules").Refresh

(trying very hard not to burn my diploma...)

"Compile Error: Method or Data Member Not Found"


DAO ref?

--
[Oo=w=oO]

Nov 13 '05 #9
John Mishefske <mi************@JUNKtds.net> writes:
Randy Yates wrote:
I would like to, at a minimum, be able to export and import MS-Access
basic modules so that I can edit them using my own
editor. Additionally I'd like to move the routines into a source
control mechanism such as CVS.
Has anyone ever accomplished such a thing? Pointers would be
appreciated.


Check out the undocumented .SaveAsText and .LoadFromText hidden
functions. Then you can use CVS, PVCS or whatever system you prefer
for *modules* and *classes*.


Thank you John!
--
% Randy Yates % "Ticket to the moon, flight leaves here today
%% Fuquay-Varina, NC % from Satellite 2"
%%% 919-577-9882 % 'Ticket To The Moon'
%%%% <ya***@ieee.org> % *Time*, Electric Light Orchestra
http://home.earthlink.net/~yatescr
Nov 13 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Peter Schwalm | last post by:
I'd like to modify the python search path depending on the source directory of the script being started. The reason is: I use a version control system, and the python scripts and modules are...
188
by: Ilias Lazaridis | last post by:
I'm a newcomer to python: - E01: The Java Failure - May Python Helps? http://groups-beta.google.com/group/comp.lang.python/msg/75f0c5c35374f553 - I've download (as suggested) the python...
24
by: ej1002 | last post by:
Hi I have developed a Windows Application(C# Windows Form) which will get the IFrame Source of the page it is navigating using Webbrowser Control. Now I want do this in ASP.Net web application(C#...
4
by: Rose | last post by:
Hi, guys, Is there such a tool? I also hope it is free. Thanks! Rose
5
by: Frederiek | last post by:
Hi, I'm using MS Visual C++ 2005 (MSVC8.0). I am experiencing some kind of linker dilemma. While building a program I am -in a way- forced to use following construct. // aaa_ssf.h - some...
4
by: Adam Smith | last post by:
Hello, How can I call or trigger an external javascript twice in a form? I have <script language="JavaScript" src="country_state.js" name="Country_State"> <script type="text/javascript"...
2
by: f rom | last post by:
----- Forwarded Message ---- From: Josiah Carlson <jcarlson@uci.edu> To: f rom <etaoinbe@yahoo.com>; wxpython-users@lists.wxwidgets.org Sent: Monday, December 4, 2006 10:03:28 PM Subject: Re: ...
1
by: ouistyty | last post by:
Hi We have a simple asp page that query LDAP attribrute. Everithing is working fine using a native domain account. but when using an external account we have an error 70, acces denie. Here's...
28
by: Randy Reimers | last post by:
(Hope I'm posting this correctly, otherwise - sorry!, don't know what else to do) I wrote a set of programs "many" years ago, running in a type of basic, called "Thoroughbred Basic", a type of...
1
by: Emerald Saint | last post by:
Hi. I been away and didn't get here again until now. Thank you for your offer to share programs that you have. I studied up and refreshed my memory about linkers and compilers. So I have the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.