-
WSabach
AskWoody LoungerThanks for pointing me in the right direction. Most appreciated!
-
WSabach
AskWoody LoungerI have various dates in the detail section of a report. I want to concatenate each day part of the date into a field in the footer section. For example, if a client has meetings on 7/4/2014, 7/6/2014, and 7/20/2014, I want the days (4, 6, 20) to appear in a text box. I can get the day part of the dates, but I’m puzzled about placing the values. I thought about using a recordset and loop – not certain if that is the correct approach.
-
WSabach
AskWoody LoungerI can put the back end on my SkyDrive (front end on my PC) and it works fine (it’s a small database). My problem is allowing other users to connect their front end to my SkyDrive back end. I have read where SkyDrive Pro can allow this, but I have not seen any info on linking a back end. Oh well, another problem to solve. Thanks for the reply.
-
WSabach
AskWoody LoungerThanks so much. It’s aggravating when MS fixes something that is working.
-
WSabach
AskWoody LoungerDell Studio XPS 9100.
-
WSabach
AskWoody LoungerI thought about that, and I’ll give it a try.
Thanks for the reply,
Allan -
WSabach
AskWoody LoungerThanks for the reply, Wendell. You’re correct, there is more code. I have a Word 2003 document that gets the merge data from an Access 2003 table. The client needs to edit the wording in the merge document on occasion, so I would like to have a command button that would open the merge document. I’ve written the code, the document opens, but the data source is not linked. However, if I open the merge document from the File Open menu in Word 2003, I receive the warning about the SQL command and answer Yes to the prompt.
I’m curious why I don’t receive the warning when using the VBA code. I have a Select Case statement that determines which merge letter (there is more than one) the user selected in an option group and passes the document name to the strLetterName variable.
Code:On Error Resume Next MsgBox "Be sure to save document after editing", vbInformation, gcTitle Set WordApp = GetObject(, "Word.Application") If WordApp Is Nothing Then Set WordApp = CreateObject("Word.Application") End If WordApp.Visible = True gStrDocPath = "S:New_HiresLetters" strDoc = gStrDocPath & strLetterName Set WordDoc = WordApp.Documents.Open(gStrDocPath & strLetterName)
Just curious. If I cannot fix this I’ll have the client open the letter through the Word File menu.
Thanks again!
Allan -
WSabach
AskWoody LoungerThanks. I sometimes run out of ideas – never thought of having a table used twice. I’ll give it a try…
(My screen shot has different table names, but your suggestions is fine.)
-
WSabach
AskWoody LoungerGood point, John. That does make sense. I knew it was something practical that I was overlooking.
-
WSabach
AskWoody LoungerThanks to both who replied. I’ll create a temporary table and add it to the query.
-
WSabach
AskWoody LoungerThanks, John. I’ve pasted the SQL view into this post. I use an OR word to separate the values. More than one value can be used to return more than one account in the query. My text box would have 17133 OR 23456 in it, surrounded by quotes. It must be a text data type since an account number can contain letters.
SELECT tblCusip.Cusip, tblAccounts.AcctNo, tblAccounts.InvestorName, tblCusip.State, tblCusip.BondDescription, tblCusip.Coupon, tblCusip.Maturity, tblCusip.SPRating, tblCusip.MoodyRating, tblCusip.[Average Life], tblCusip.BondName, tblCusip.[Call day], qryTotalOwned.SumOfQty
FROM tblAccounts INNER JOIN (tblCusip INNER JOIN qryTotalOwned ON tblCusip.Cusip = qryTotalOwned.Cusip) ON tblAccounts.AcctNo = qryTotalOwned.AcctNo
WHERE (((tblAccounts.AcctNo)=[Forms]![frmChooseBondReport]![txtAccts]) AND ((tblCusip.BondQuantity)>0));The SQL view is taken from the query, so it refers to a a form by using the Forms! type of entry. If I would use an SQL statement, I can change this. It’s just been a long day and I’m hoping to find an easy fix. I’ll do a search for other posts.
Thanks again
-
WSabach
AskWoody LoungerThanks for the reply. You’ve helped me come to a solution….
-
WSabach
AskWoody LoungerMy day is now a lot brighter since receiving your reply. It is very refreshing to have some other ideas, especially when given in a such an unselfish spirit.
So much to learn – people here make it possible.
Thanks to all! -
WSabach
AskWoody LoungerThanks, Gwenda. The only item I’m fuzzy on would be how to construct a table to hold the multipliers, etc. So many times I see people recommending NOT to use DLookup, and am curious as to any other method of finding these values….
I would use this if necessary. Just wondering if there is a better way. -
WSabach
AskWoody LoungerThank you Charlotte, as this is exactly what I will be doing. Most of these are payroll, health, FICA, etc. I just need a jumpstart on ideas as to how to allow a user to update the values, then I can write some functions or procedures to accomplish this.
Each teacher earns a salary based on their degree and number of years at the district. Most of the calculations are based on their gross pay, but they change from fiscal year to fiscal year(July 1 to June 30).
I need to go through all the records, update their years ( referred to a step ) adding one each year to a maximum of 18, then calculate the FICA, Health, etc. according to a schedule that is published by the teachers’ contract. The schedule lists 3 items: The degree, Number of Years (Step), and the Salary.Thank you so much for the reply and any ideas….
![]() |
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
-
Windows 11 pro fails to log in after upgrading Win 10 pro to Win 11 pro 24h2
by
ben_sitaud
1 hour, 26 minutes ago -
23H2 / 24H2 / Local v. Microsoft Account.
by
CWBillow
49 minutes ago -
YouTube Ad Blocker Blocker
by
bbearren
1 hour ago -
Obscure historical facts about Windows
by
Cybertooth
4 hours, 51 minutes ago -
Microsoft Backup
by
Linda2019
5 hours, 21 minutes ago -
What is the best notepad++ version for W7?
by
Picky
7 hours, 43 minutes ago -
What are right steps to move MS 365 Office+OneDrive files from PC to iMac?
by
glnz
14 hours, 44 minutes ago -
How to move existing MS 365 Office with OneDrive files from PC to new iMac
by
glnz
14 hours, 46 minutes ago -
How to move MS 365 files (some on OneDrive) from PC to iMac
by
glnz
1 day, 9 hours ago -
Microsoft adding Quick Machine Recovery to Windows 11
by
Alex5723
1 day, 9 hours ago -
Microsoft vs Passwords
by
Alex5723
18 hours, 1 minute ago -
Windows 11 Insider Preview build 26200.5516 released to DEV
by
joep517
1 day, 13 hours ago -
Windows 11 Insider Preview build 26120.3653 (24H2) released to BETA
by
joep517
1 day, 13 hours ago -
Two March KB5053606 updates?
by
Adam
1 day, 7 hours ago -
MS Edge Not Updating to v134.0.3124.95 (rel. 27-Mar-2025)
by
lmacri
1 day, 7 hours ago -
Intel® Graphics/Sound Driver updates for 7th-10th Gen Intel® Core™ Processor
by
Alex5723
1 day, 10 hours ago -
Is there a comprehensve way to tranfer ALL current Edge Settings into a new Edge
by
Tex265
1 day, 8 hours ago -
Transferring ALL info/settings from current Firefox to new computer Firefox
by
Tex265
1 day, 8 hours ago -
DOGE Wants to Replace SSA 60 Million Line COBOL Codebase in Months
by
EyesOnWindows
3 hours, 35 minutes ago -
KB5051989 Usb printer Post Ipp
by
licencesti
2 days, 1 hour ago -
Removing bypassnro
by
Susan Bradley
49 minutes ago -
Up to 30 seconds to show “Recent Topics”
by
PL1
1 day, 6 hours ago -
Sound changes after upgrade from W11 23H2
by
WStaylorpsepa
7 hours, 12 minutes ago -
Windows bug blocks BIOS updates for Lenovo ThinkPad laptops
by
Alex5723
2 days, 10 hours ago -
O&O Software – ‘World Backup Day’ Sale
by
unbob
2 days, 7 hours ago -
Still version 23H2?
by
WSbxcfilm
2 days, 11 hours ago -
Ubuntu 25.04 (Plucky Puffin) Beta released
by
Alex5723
2 days, 17 hours ago -
How to install App Store apps on an external SSD
by
Alex5723
2 days, 18 hours ago -
Where is Windows going?
by
Susan Bradley
9 hours, 53 minutes ago -
Installing Feature Update Windows 11 24H2
by
geekdom
3 days, 12 hours ago
Recent blog posts
- Removing bypassnro
- Where is Windows going?
- System Guard service error still won’t be fixed
- Third party add ins reminder
- MS-DEFCON 4: Mixed bag for March
- Classic and Extended Control Panel — no need to say goodbye
- Things you can do in 2025 that you couldn’t do in 2024
- Revisiting Windows 11’s File Explorer
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.