473,396 Members | 1,770 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,396 software developers and data experts.

How to add extra code to an acOutputQuery function outputting to html

547 512MB
I use the following line to export a query to html.
Expand|Select|Wrap|Line Numbers
  1. DoCmd.OutputTo acOutputQuery, "Live_ Race_ Results", "HTML(*.html)", "c:\RTweb\WebResults.html", False, "", 0, acExportQualityScreen
How can i add the following refresh function to the html code when it is created, when the query is exported.
Expand|Select|Wrap|Line Numbers
  1. <meta http-equiv="refresh" content="5" >
please assist
Sep 12 '12 #1

✓ answered by zmbd

Along the same lines as TheSmileyCoder except use the built in
Expand|Select|Wrap|Line Numbers
  1. open dirpath$ for append as #1
  2. print #1 "your text"
  3. close #1
http://www.applecore99.com/gen/gen029.asp
-z

4 1764
TheSmileyCoder
2,322 Expert Mod 2GB
You could open the file as a textstream and then make the required modifications using the FileSystemObject in the Windows Script Host Object.
Sep 12 '12 #2
zmbd
5,501 Expert Mod 4TB
Along the same lines as TheSmileyCoder except use the built in
Expand|Select|Wrap|Line Numbers
  1. open dirpath$ for append as #1
  2. print #1 "your text"
  3. close #1
http://www.applecore99.com/gen/gen029.asp
-z
Sep 12 '12 #3
neelsfer
547 512MB
Sorry i am a bit lost here. Have you perhaps got an example of code on how to do that please
Sep 13 '12 #4
Rabbit
12,516 Expert Mod 8TB
@neelsfer, zmbd did post example code.
Sep 13 '12 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Tom | last post by:
I am trying to output an string that is made up of HTML tags using the document.write. The string is taken from the URL. However, my output is given as text rather than being read by the browser...
1
by: Jurate | last post by:
Maybe somebody can suggest a way to invoke C# function from HTML page? -- Jurate
3
by: kumarabhijit | last post by:
Hi, Can anyone help me about how to write Marshalling code for Function pointer in cpp? Thanks Abhijit
1
by: Software Engineer | last post by:
Testing htmlspecialchars() PHP Function - Converting HTML Characters http://sqa.fyicenter.com/Online_Test_Tools/Test_htmlspecialchars_PHP_Function.php When data needs to be presented in Web...
1
Markus
by: Markus | last post by:
Little problem here. How would i go about outputting "&raquo;" through giving something a value. i.e. if(validateEmail(emailValue) === false){ emailStyle.color = "red"; emailText.value...
1
by: jremio | last post by:
Hi all, I just started programming about 1 week ago. i would appreciate if anyone can tell me how to code a function in VB6 that returns a values depending on the string it. For example, if the...
2
by: Jibran | last post by:
I need some help with extra spaces in HTML form. There is a big white space appearing at the center of the HTML form that I am designing even though there is no <br> tags been used: ...
1
by: ballpen1019 | last post by:
my problem is to convert this code into function....could someone help me to solve these problem..??? #include <stdlib.h> #include <stdio.h> #include <ctype.h> main() { int n, N,...
1
by: DavidSS | last post by:
Okay, I have a problem. I just started programming, and made my first "calculator" I then started making it more advanced, so it wouldn't crash if you tried to divide by 0. Then I wanted to make...
2
by: LindaDhasan | last post by:
Hi, I am a beginner with javascript.Please help me clarify how to display the result of a javascript function within html underline tag.PFA the code. <html> <head> <script...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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,...

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.