473,569 Members | 2,701 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Looping through every oject for Application.Sav eAsText

Wondering if anyone has already written a snippet that will loop
through every form, report, module in an ADP application and do
application.Sav eAsText on each item.

Nov 13 '05 #1
7 4430
Arvin Meyer has a snippet at http://www.datastrat.com/Code/DocDatabase.txt

I can't guarantee it'll work on an ADP, though, as I've never tried it.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

"lauren quantrell" <la************ *@hotmail.com> wrote in message
news:11******** *************@g 14g2000cwa.goog legroups.com...
Wondering if anyone has already written a snippet that will loop
through every form, report, module in an ADP application and do
application.Sav eAsText on each item.

Nov 13 '05 #2
Yes.

Nov 13 '05 #3

"lylefair" <ly******@yahoo .ca> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
Yes.


A much better answer than Arvin's Web site--and no plagiarism!
Nov 13 '05 #4
That link doesn't seem to work.
lq

Nov 13 '05 #5
lauren quantrell wrote in message
<11************ **********@g43g 2000cwa.googleg roups.com> :
That link doesn't seem to work.
lq


The contents of the link didn't work, or the link?

For the content, I'm not sure it'll work in an ADP. I don't think
CurrentDB is
a member of the Application object of an ADP. You could perhaps loop
the
following collections of the currentproject object instead

AllForms, AllReports, AllMacros, AllModules

Air code

for each vObj in currentproject. allforms
application.sav eastext acform, vObj.name, "D:\Documen t\" &
vObj.name & ".txt"
next vObj

I believe views/SPs are stored on the server, so you probably won't be
able to
get at them

--
Roy-Vidar

Nov 13 '05 #6
There is some code in
http://www.ffdba.com/downloads/downloads.zip
that !!!!may!!!!
do what you describe,
(together with other things).

Nov 13 '05 #7
Thanks for the code. I'll try it. The link that was posted is down.

Nov 13 '05 #8

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

Similar topics

8
4045
by: kaptain kernel | last post by:
i've got a while loop thats iterating through a text file and pumping the contents into a database. the file is quite large (over 150mb). the looping causes my CPU load to race up to 100 per cent. Even if i remove the mysql insert query and just loop through the file , it still hits 100 per cent CPU. This has the knock on effect of slowing...
3
12209
by: Jeff Pritchard | last post by:
Anyone know where can I get the correct syntax for the SaveAsText function. I found it once but can't now. The one commonly seen is not correct SaveAsText acForm, "FormName", "FileToSaveTo" The last two args are fine but the acForm is wrong. I thought it was a number from 2 to 6 Query 2
4
8049
by: stand__sure | last post by:
This has bugged me for some time. Is there any "behind the scenes" difference between the following two snippets? Dim obj1 As Object = New Oject() {} Dim obj2 As Object = New Object(-1) {} Thanks!
13
5005
by: JayCallas | last post by:
I know this question has been asked. And the usual answer is don't use cursors or any other looping method. Instead, try to find a solution that uses set-based queries. But this brings up several questions / senarios: * I created several stored procedures that take parameters and inserts the data into the appropriate tables. This was done...
0
989
by: mhodkin | last post by:
What is the best way to print a graphic image contained within the canvas oject in Tkinter ruinng under Windows (XP)? The only thing I found so far was the canvas postscript method...it there a more direct way? thanks
0
1954
by: anthon | last post by:
Hi all - first post! anywho; I need to create a function for speeding up and down a looping clip. imagine a rotating object, triggered by an action, and slowly decreasing in speed, till it reaches a point 0 (compare a hand spinning a fortune wheel). now, this is quite an easy this to achieve, since you just have to set an interval to...
2
5873
by: hayz | last post by:
Flash sound file looping problems hello there I'm definitely a newb so please bare some patience. I have a flash sound file on the index page of a site i'm working on. First off i need the .swf file to continuously loop, secondly i need this same file to play on every page visited on the site. I've researched and tried to just follow...
3
1896
by: assgar | last post by:
Hi I am having problem with my loping. I don't know if I have chosen the correct approach. GOAL: I need to insert into a table event types for a specific date range. The calendar the event type is displayed on is divided into 15 minutes time intervals
10
9655
by: afromanam | last post by:
Regards, Please help What I'm trying to do is this: (and I can't use reports since I must export to Excel) I export some queries to different tabs in an excel workbook I then loop through each tab and apply autowidth to columns and apply autofilter to the first row of every tab in the workbook. I've this down
0
7697
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8120
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7672
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7968
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6283
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3640
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1212
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.