-
WSBodders
AskWoody LoungerRob
One quick way of checking whether there is ‘rogue’ data in a worksheet is to click CTRL-END. If the selected cell is outside the area to be imported, you will need to delete some rows and/or columns. You must save the workbook after the deletion, and then try CTRL-END again. When CTRL-END selects the bottom right corner of the data to be imported, then you can proceed with the import.
Nick
-
WSBodders
AskWoody LoungerHans
Thanks for that. I added the code, but the problem was still there.
I did some more investigation on the user’s PC, and it appears there is a problem with the Access installation – she cannot create any reports at all, even on 1 table databases. Hopefully when Access has been re-installed the problem will be solved.
Nick
-
WSBodders
AskWoody LoungerFederico
If you could link the tables to SQL Server, then you could try the following method. Without knowing your exact setup this may not be entirely appropriate, but you could :
Set up a table in SQL Server which will contain your parameters (v1 and v2, etc) and a blank column for the result.
Create a function/sproc in SQL Server which will populate the blank column with the correct results
Make sure all the 400 or so rows in Excel are correctly populated with the parameters.
Have a command button which will run the code which will :
Copy the Excel sheet into the SQL Server table using ADO
Run the SQL function to poulate the results column.
Copy the fully populated table back into Excel.
This should be fast – you will only need a single connection
HTH
Nick
-
WSBodders
AskWoody LoungerAlan
In my experience, the easier way of doing this is to use Excel 2003. Click DataImport External DataNew Web query. Put in your URL, select the area of the data you need & it will download into the worksheet. You can then paste this into your Access table.
If you know enough VBA, you can automate this process. I can supply some code if you are interested.
Nick
-
WSBodders
AskWoody LoungerJanuary 16, 2008 at 1:33 pm in reply to: Anchor a new tab control to an existing tab (2000) #1092776Luke
I don’t think you can nest tab controls. You would be better off creating a subform, inserting the mini tab control on that, and then inserting the subform on the main tab control.
HTH
Nick
-
WSBodders
AskWoody LoungerHans
Thanks for that.
I managed to find something similar in the meantime which I ran after the first loop:
For intLoop = 0 To intNumFields – 1
Set txt = frm.Controls(intLoop)
Select Case intLoop
Case 0
‘Do nothing
Case 1
txt.TabIndex = intNumFields – 1
Case Else
txt.TabIndex = intLoop – 1
End Select
‘txt.Name = strName
NextThanks again
Nick
-
WSBodders
AskWoody LoungerRudi
I added StartDate and Enddate to the courses table to make this work.
If you run the query qselCountDup in the revised attachment, and put in the DelID (number), start and end dates for the proposed course you will get back the number of overlapping courses.
Nick
-
WSBodders
AskWoody LoungerRudi
Here’s a simpler version. It assumes delegates attend each day of a multi-day course, and that the course table contains a start and end date for each course.
Once you know the delegate ID, and the proposed start and end dates of the course they want to book, run this query which takes 3 parameters:
SELECT COUNT(*) FROM tblJunction j INNER JOIN tblCourse c
ON j.CourseID = c.CourseID
WHERE (([ProposedStartDate] = c.StartDate) OR ([ProposedEndDate] >= c.StartDate AND [ProposedStartDate] 0 then the delegate’s course dates overlap.Nick
-
WSBodders
AskWoody LoungerRudi
OK. In the case of courses running over more than one day I think the solution would be a new table DelegateBookedDate – this would contain one row for each day of each course for each delegate (columns would be DelID + CourseDay). This would be populated (using an Append query) when the delegate is booked on a course. You would need to add to the booking procedure a check that for a new booking for a delegate none of the days of the new course already appear in the DelegateBookedDate table.
HTH
Nick
-
WSBodders
AskWoody LoungerRudi
I think if you add the course date to the junction table and add that to the PK this should solve the problem.
Nick
-
WSBodders
AskWoody LoungerSteve
A further thought. I don’t know whether this would be applicable to your particular setup, but FWIW you could think about using VMWare Server (at vmware.com) to create a virtual PC, and run Office 2003 on your normal Pc, and Office 2007 on your virtual PC. It’s free for personal use.
HTH
Nick
-
WSBodders
AskWoody LoungerSteve
I think you need to set the value in code when you open the calendar form.
In the Open event you can add :
frmCalendar.calCalendar.Value = Date
changing the form and calendar object names as appropriate
Nick
-
WSBodders
AskWoody LoungerSteve
I am running Access 2003 and 2007 on the same PC. I do get the installation process the first time only when I run 2003 after 2007 (or vice-versa), but only the once.
I have never had 2007 crash on my PC – are you running 2003 and 2007 at the same time ? Have you tried repairing the 2007 installation ?
Nick
-
WSBodders
AskWoody LoungerIt might also be worth trying a decompile – this has helped me out more times than I care to remember :
http://www.trigeminal.com/usenet/usenet004.asp%5B/url%5D
Nick
-
WSBodders
AskWoody LoungerSomething like this should do the trick :
Forms(“yourform”).Move _
Left:=0, Top:=0, Width:=400, Height:=300HTH
Nick
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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
-
My Simple Word 2010 Macro Is Not Working (Awaiting moderation)
by
mbennett555
1 hour, 15 minutes ago -
Office gets current release
by
Susan Bradley
5 hours, 58 minutes ago -
FBI: Still Using One of These Old Routers? It’s Vulnerable to Hackers
by
Alex5723
22 hours, 30 minutes ago -
Windows AI Local Only no NPU required!
by
RetiredGeek
7 hours, 1 minute ago -
Stop the OneDrive defaults
by
CWBillow
23 hours, 19 minutes ago -
Windows 11 Insider Preview build 27868 released to Canary
by
joep517
1 day, 9 hours ago -
X Suspends Encrypted DMs
by
Alex5723
1 day, 11 hours ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
1 day, 11 hours ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
1 day, 12 hours ago -
OpenAI model sabotages shutdown code
by
Cybertooth
1 day, 12 hours ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
1 day, 1 hour ago -
Enabling Secureboot
by
ITguy
1 day, 8 hours ago -
Windows hosting exposes additional bugs
by
Susan Bradley
1 day, 20 hours ago -
No more rounded corners??
by
CWBillow
1 day, 16 hours ago -
Android 15 and IPV6
by
Win7and10
1 day, 6 hours ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
2 days, 9 hours ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
2 days, 11 hours ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
2 days, 6 hours ago -
Windows Update orchestration platform to update all software
by
Alex5723
2 days, 19 hours ago -
May preview updates
by
Susan Bradley
2 days, 6 hours ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
1 day, 22 hours ago -
Just got this pop-up page while browsing
by
Alex5723
2 days, 11 hours ago -
KB5058379 / KB 5061768 Failures
by
crown
2 days, 8 hours ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
1 day, 10 hours ago -
At last – installation of 24H2
by
Botswana12
3 days, 10 hours ago -
MS-DEFCON 4: As good as it gets
by
Susan Bradley
8 hours, 30 minutes ago -
RyTuneX optimize Windows 10/11 tool
by
Alex5723
3 days, 22 hours ago -
Can I just update from Win11 22H2 to 23H2?
by
Dave Easley
1 day, 21 hours ago -
Limited account permission error related to Windows Update
by
gtd12345
4 days, 12 hours ago -
Another test post
by
gtd12345
4 days, 12 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.