-
WSready4data
AskWoody LoungerLegare,
Thank you very much.
Works like a charm.
Scott -
WSready4data
AskWoody LoungerSorry they will never both be 0’s
I want to use VBA because of the the code that will insert an option group into column H.
I found that if I have values already in column H and the code for creating the option group runs, the 3 options arent selected and all the values that were in column H
are changed to all 0’s.
If add, copy, move, etc. the 1,2, or 3 in column H after the option groups are created, the correct options are filled in.Scott
-
WSready4data
AskWoody LoungerThanks,
That did the trick.
Scott -
WSready4data
AskWoody LoungerThanks, I modified the Left, Height, Width parameters and that did it.
Thanks. -
WSready4data
AskWoody LoungerHans,
In the code the the group box is created then the option buttons are placed in the box in each row.
Or thats what is seems to do. I can click on the box in each row and it has a different group box number.
But it still doesn’t act right. -
WSready4data
AskWoody LoungerThanks, Sam and Hans
I didn’t design the workbook. It got put in my corner to modify.
Lucky Me. -
WSready4data
AskWoody LoungerHans,
Thanks.
Can you explain Absolute/Relative
and
A1 Style(type of reference)
Scott -
WSready4data
AskWoody LoungerOctober 14, 2005 at 4:53 pm in reply to: How to get data from website to desktop? (Access 2003) #979081Gwenda,
I had some extra time at the meeting so I put this together.
Here is a stripped down version of the components you need to do web downloads.
It incluses the .asp file and the database components.
There are a few items you will need to edit.
The asp file:
On the 10th line, change the database name to the name of the databaes that is on your website.
On the 14th line, change the table name in the sql statement to the table name of the web database you want to get the records from.
The actual name of the asp file. I usually call it the same as the table I’m getting data from. As you see this one is getting customer
data. The name will also be used in the local database code.
Upload this file to the same folder on the website where the database is located.Now to the local database:
In the module modConnected edit the first line after the Dim statements in the isConnected function.
Replace http://www.google.com with the name of your web site. Save and close the module.Table setup:
Create two tables with the same structure containing all of the fields you need from the web database.
Call 1 table tblTempImport and the other one whatever you want. In keeping with the theme I’m calling it tblCustomers.
We import the data first to the tblTempImport in case you need to do any manipulation of the data before you append your main table.
In my applications I delete all the data in tblCustomers before appending the table to make sure I get any edited data from the web.
It can also be modified to only capture certain records. eg. only data after a certain date range if you have an input date field in your web data.Code in the form frmGetData:
In the declarations section of the code change the URL to the url path to where the web database and the asp files are.
Your web master should be able to give you this info.
In the Form_Open code edit the getCustomers.asp to what you named your asp file on the web.
Edit the 2nd DoCmd.RunSQL statement and replace the table name with yours. This will delete the existing records.
Finally Edit the table field names in the rst.addnew section of the code to match your table names.
The !rs field names are from the web site table, the !rst field names are from the local table
The !rs table names don’t have to match the rst! names
Finally open the form frmGetData after your routine to open your database or from the click of a button or wherever you want.
The form doesn’t usually show up on the screen. I open it on the close event of my splash screen (about), this way the splash screen stays
visible and has a message that it is downloading current data.
Have fun
Scott -
WSready4data
AskWoody LoungerOctober 12, 2005 at 10:50 pm in reply to: How to get data from website to desktop? (Access 2003) #978676Gwenda,
I am away from the office at a meeting this week. I will post an example next week. Basically you have an .asp page for each table you want to download the data from.
These pages will be in the same folder as the .mdb file on the web site.
The code in these pages access the data in the tables on the web site.
The local database when opened or whatever time you want(button click etc…) runs code to see if it can connect to the web site. If it can, it deletes the current data in the local tables, connects to the .asp page and appends the local tables with the data from the web site tables.
You do this for each table you want to get data for.
The only thing you will need to edit in the asp pages is the table you want to get the data from and the actual name of the .asp file. This name is used in the Access database code.
Scott -
WSready4data
AskWoody LoungerOctober 7, 2005 at 10:45 am in reply to: How to get data from website to desktop? (Access 2003) #977584Gwenda,
Is the data kept in an Access database on the web site and can the website handle .asp?
If so, I can help you. Some of my databases do this daily. When they are opened they download the data from the database on the website and
populate the local tables with current data.
Let me know.
Scott -
WSready4data
AskWoody LoungerThanks,
I’ll give it a try -
WSready4data
AskWoody LoungerHans,
I don’t know enough about ASP either to answer that. I think your solution will work.
Thanks,
Scott -
WSready4data
AskWoody LoungerHans,
That works in Access but I don’t know if I can use 2 queries like that with recordsets in asp. Is there a way to combine the two into one(use a subquery?)
Thats what I was playing with but I haven’t written many of them.
Thanks -
WSready4data
AskWoody LoungerHans,
The $ was what I was looking for.
I was going to do a search but didn’t know what to call what I was looking for.Thanks again,
Scott -
WSready4data
AskWoody LoungerHans,
Thanks again. Thats just what I needed.
Scott
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Clock missing above calendar in Windows 10
by
WSCape Sand
3 minutes ago -
Formula to Calculate Q1, Q2, Q3, or Q4 of the Year?
by
WSJon5
2 hours, 10 minutes ago -
The time has come for AI-generated art
by
Catherine Barrett
8 hours, 37 minutes ago -
Hackers are using two-factor authentication to infect you
by
B. Livingston
2 hours, 39 minutes ago -
23 and you
by
Max Stul Oppenheimer
8 hours, 40 minutes ago -
April’s deluge of patches
by
Susan Bradley
8 minutes ago -
Windows 11 Windows Updater question
by
Tex265
53 minutes ago -
Key, Key, my kingdom for a Key!
by
RetiredGeek
23 hours, 46 minutes ago -
Registry Patches for Windows 10
by
Drcard:))
1 day, 4 hours ago -
Cannot get line length to NOT wrap in Outlining in Word 365
by
CWBillow
10 hours, 51 minutes ago -
DDU (Display Driver Uninstaller) updates
by
Alex5723
21 hours, 39 minutes ago -
Align objects on a OneNote page
by
CWBillow
1 day, 9 hours ago -
OneNote Send To button?
by
CWBillow
1 day, 10 hours ago -
WU help needed with “Some settings are managed by your organization”
by
Peobody
1 day, 19 hours ago -
No Newsletters since 27 January
by
rog7
1 day, 14 hours ago -
Linux Mint Debian Edition 7 gets OEM support, death of Ubuntu-based Mint ?
by
Alex5723
19 hours, 34 minutes ago -
Windows Update “Areca Technology Corporation – System – 6.20.0.41”
by
Bruce
18 hours, 14 minutes ago -
Google One Storage Questions
by
LHiggins
2 hours, 13 minutes ago -
Button Missing for Automatic Apps Updates
by
pmcjr6142
9 hours, 28 minutes ago -
Ancient SSD thinks it’s new
by
WSila
1 day ago -
Washington State lab testing provider exposed health data of 1.6 million people
by
Nibbled To Death By Ducks
2 days, 9 hours ago -
WinRE KB5057589 fake out
by
Susan Bradley
2 hours, 27 minutes ago -
The April 2025 Windows RE update might show as unsuccessful in Windows Update
by
Susan Bradley
1 day, 17 hours ago -
Firefox 137
by
Charlie
20 hours, 34 minutes ago -
Whisky, a popular Wine frontend for Mac gamers, is no more
by
Alex5723
2 days, 22 hours ago -
Windows 11 Insider Preview build 26120.3863 (24H2) released to BETA
by
joep517
2 days, 22 hours ago -
Windows 11 Insider Preview build 26200.5551 released to DEV
by
joep517
2 days, 22 hours ago -
New Windows 11 PC setup — can I start over in the middle to set up a local id?
by
ctRanger
1 day, 18 hours ago -
Windows 11 Insider Preview Build 26100.3902 (24H2) released to Release Preview
by
joep517
3 days, 2 hours ago -
Oracle kinda-sorta tells customers it was pwned
by
Nibbled To Death By Ducks
3 days, 8 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.