-
WSRichP
AskWoody LoungerCan you send me a picture of you so I can set up a shrine to worship you! Man – You are good.
The answer is – No – I didn’t do that. It never ocurred to me. But it worked perfectly!
This is a clear case of looking for a complicated solution when a double-click will do!
Thank you so much!!!
Best Regards…
Rich P
-
WSRichP
AskWoody LoungerThis is a split database, and all the tables are linked to a backend file. All users have the front-end file on their own machines. Nothing trickey here.
One point that may be worth noting is that many of us connect to this database through Citrix. We are spread out over the East Coast and mid-Atlantic states while the files reside in Florida. (But this has worked fine in the past!)
The query SQL view looks like this…
SELECT DISTINCTROW tblALL_Owners.Client_ID, tblALL_Clients.Client_Name, tblALL_Facilities.Fac_ID, tblALL_Facilities.OWN_ID, tblALL_Facilities.Fac_Name, tblALL_Facilities.FAC_ADD, tblALL_Facilities.Fac_City, tblALL_Facilities.Fac_St, tblALL_Submittals.Sub_Num, tblALL_Submittals.Sub_Amt_Pending, tblALL_Submittals.Sub_Status, tblALL_Submittals.Sub_Date_Due, tblALL_Submittals.DateReviewed, tblALL_Submittals.Sub_Work_Per, tblALL_Submittals.Sub_Comment, tblALL_Submittals.ESS_Job, ProgMgrs.Staff_Long AS PM, ClaimAnalysts.Staff_Long AS CA, [PM] & “/” & [CA] AS [PM/CA], tblALL_Submittals.Sub_Res_Staff, qryALL_Claims_Pending_Totals.SumOfInv_Paid_Amt, tblALL_Submittals.DateSubmitted_Client, tblALL_Submittals.Sub_CA
FROM (tblALL_Clients INNER JOIN tblALL_Owners ON tblALL_Clients.Client_ID = tblALL_Owners.Client_ID) INNER JOIN (tblALL_Facilities INNER JOIN ((tblALL_Staff AS ProgMgrs RIGHT JOIN (tblALL_Submittals LEFT JOIN qryALL_Claims_Pending_Totals ON tblALL_Submittals.ESS_SUB_Key = qryALL_Claims_Pending_Totals.ESS_SUB_Key) ON ProgMgrs.Staff = tblALL_Submittals.Sub_Res_Staff) LEFT JOIN tblALL_Staff AS ClaimAnalysts ON tblALL_Submittals.Sub_CA = ClaimAnalysts.Staff) ON tblALL_Facilities.Fac_ID = tblALL_Submittals.Fac_ID) ON tblALL_Owners.Own_ID = tblALL_Facilities.OWN_ID
WHERE (((tblALL_Submittals.Sub_Status)=”AF-In Prog” Or (tblALL_Submittals.Sub_Status)=”DP-in prog” Or (tblALL_Submittals.Sub_Status)=”In Progress”) AND (Not (tblALL_Submittals.Sub_Date_Due) Is Null));I should mention that I did get this to work yesterday. But I am the first to admit that I can’t explain WHY it works. I literally created an empty report object, then copied and pasted the contents of the original report into the new report and it worked fine! Could be that there was some corruption in the report object. Of there was a setting that I missed that should have been different.
I would love to know what went wrong. But I was able to at least get the customer going again.
If you can see anything wrong with the query, please let me know.
Thanks for the reply.
Rich P.
-
WSRichP
AskWoody LoungerYou mentioned that there are 4 computers involved. Are they all sharing the same application? If so, how is it constructed?
Is the application split into a front-end and back-end?
If so, have you deployed the front-end to each of the 4 computers, so no one is sharing that file?
You may run into resource problems if everyone is sharing the same single file on one computer.Another thing to look at might be any code behind the form. If there is any code, are variables being released properly?
Just adding my 2 cents…
RIch P.
-
WSRichP
AskWoody Lounger(Edited by WendellB on 05-Mar-03 03:57. activate link)
In case this issue is not closed for you, have you ever tried some of the merging option presented by our resident Access Newsletter editor, Helen Feddema? I have used her methoed of pumping recordsets into custom Word Doc properties rather than the old Mail Merge standard practice and found it to be very quick and fairly easy to implement.
Check out http://www.helenfeddema.com/CodeSamples.htm%5B/url%5D and look specifically at Download 24; 4 Mail Merge Examples.
Rich P
-
WSRichP
AskWoody LoungerFirst of all, thanks so much for the timely response. It is exaclty what I needed. Though I know I would not have found this anywhere else!
For anyone interested, I used Hans’ solution with a slight modification. I have a few listboxes to clear, so I created a function that takes a Listbox control as an argument. Also, in order to clear the selection where the first item in the list is selected, I changed the counter in the loop to begin at ‘0’ instead of ‘1’.Private Function ResetList(lst As Access.ListBox)
Dim i As IntegerFor i = 0 To lst.ListCount – 1
lst.Selected(i) = False
Next iEnd Function
Then I can call this function from a command button placed next to a listbox control on the form:
Private Sub cmdResetPgmMgr_Click()
Call ResetList(Me.lstStaff)
End SubThanks again for the answer. I should have asked sooner, rather than waste all that time.
Regards,
Rich P.
-
WSRichP
AskWoody LoungerThanks to all who have responded. I did get to the bottom of this (these) problem(s). It turned out to be a combination of things. Not only was I handling the variables in the wrong order, but after finding a reference to MSKB article Q178510 and applying its ‘knowledge’ I was able to resolve the problem.
For anyone who is having trouble getting automation code to run, I highly recommend reviewing that article.
Thanks again for the input.
Rich P.
-
WSRichP
AskWoody LoungerBetter late than never…But I recall having that problem, or some like it.
I have had much better luck by grouping the whole drawing, or page, before copying it. It seems to be less overhead for the apps to keep track of. Try it out…
Rich P.
-
WSRichP
AskWoody LoungerIs it possible that you might be better off going back to the original source in Word and trying something there? I have had to do something like this for a client, but I was able to do my own export from Word. That made a huge difference.
Is the Word source still available?
-
WSRichP
AskWoody LoungerI was frustrated the same way. What I finally found the problem to be was the form that was calling the report neded the error handling. And rather than display any message as a result of this error, I chose to simply Resume processing. The code snipet below would be on the form’s button…
Private Sub cmdReport_Click()
On Error GoTo Err_cmdReport_Click(do what ever here…)
Err_cmdReport_Click:
Resume Exit_cmdReport_Click
End SubI always provide a simple message to the user when no data are available. But I do it in the On No Data event of the form…
Private Sub Report_NoData(Cancel As Integer)
MsgBox “There is no data to print in this report.@ Please change your settings and try again.@Printing will be cancelled.”, , “No Data to Display…”
Cancel = True
End SubHope this helps!
Regards,
Rich P.
-
WSRichP
AskWoody LoungerI was able to figure it out eventually. And I came up with exactly the same answer. It was so long ago, I can’t even remember how I came across it, but I no longer need to count how many times the Graph has been updated. It works fine.
Funny how little info there is out there in the world about controlling graphs programatically!
Thanks again,
Rich P.
-
WSRichP
AskWoody LoungerSeptember 29, 2001 at 1:34 am in reply to: Where are the Label wizard settings kept? (Word 97 #544633Hello there ‘ThomasW’…
You may want to check out Article ID: Q169968 on the MS Knowledge base. If your custom application can handle automatically handle registry changes, that is, entering a new key with our custom label settings, then I think we are in business.
I ams till interested what the other experts in this forum will say about this approach. And I am especially interested in any other means of accomplishing this.
Talk with you soon…
Rich P.
-
WSRichP
AskWoody LoungerThis may be what you need…
When you select the Data Source for the merge, before selecting the filename, check the option on the right, in the Dialog box that reads, “Select Option”.
If I recall, this works to prevent the other instances of Access from opening. Let me know if it doesn’t do the trick. I can dig deeper…
Regards,
Rich P.
-
WSRichP
AskWoody LoungerDon’t know if you ever solved this or not, but one thought I had was to recommend creating the tables in Access and then using the Transfer action to place them in Word. I believe if you run an Append query that writes all the table values to an Access table, you can pre-set the Field properties and they should be retained in Word. That way all you would have to do is the visual formatting in Word.
If you found another faster way, I would love to see it.
Thanks,
Rich P.
-
WSRichP
AskWoody LoungerThanks for the post. But I need to have the approprate title within the graph because the users want to be able to copy it from the Access form and paste it into other applications as they see fit.
I have come up with a workaround, but it still doesn’t tell me why I need one. What I have done is modified the code so that when the user hits the ‘Apply’ button, the code checks to see if this is the first time the graph is being updated. If it is, then the update code runs twice with the ‘On Error Resume Next’ statement in between each pass.
If it is not the forst pass at the graph, it worked fine anyway! It appears that the graph must initialize, or get drawn, or something, before I can modify some properties.
Still looking for the answer…
Thanks,
Rich P.
-
WSRichP
AskWoody LoungerProject 2000 offers a whole bunch of events for you to use. The items below were pasted directly from the help file within Project 2000. Take a look there. You should be able to do most of what you are looking for.
Good luck.
Rich P.
Application object events
Application events occur when a project is created. To write event procedures for the Application object, you must create a new object using the WithEvents keyword in a class module. For more information, see Using events with the Application object.
NewProject ProjectBeforeResourceDelete
pjevtProjectBeforeAssignmentChange ProjectBeforeResourceNew
ProjectBeforeAssignmentDelete ProjectBeforeSave
ProjectBeforeAssignmentNew ProjectBeforeTaskChange
ProjectBeforeClose ProjectBeforeTaskDelete
ProjectBeforePrint ProjectBeforeTaskNew
ProjectBeforeResourceChange ProjectCalculate
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
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
-
Proton to drop prices after ruling against “Apple tax”
by
Cybertooth
5 hours ago -
24H2 Installer – don’t see Option for non destructive install
by
JP
5 hours, 26 minutes ago -
Asking Again here (New User and Fast change only backups)
by
thymej
16 hours, 22 minutes ago -
How much I spent on the Mac mini
by
Will Fastie
5 hours, 48 minutes ago -
How to get rid of Copilot in Microsoft 365
by
Lance Whitney
8 hours, 10 minutes ago -
Spring cleanup — 2025
by
Deanna McElveen
22 hours, 14 minutes ago -
Setting up Windows 11
by
Susan Bradley
36 minutes ago -
VLC Introduces Cutting-Edge AI Subtitling and Translation Capabilities
by
Alex5723
17 hours, 41 minutes ago -
Powershell version?
by
CWBillow
18 hours, 34 minutes ago -
SendTom Toys
by
CWBillow
2 hours, 50 minutes ago -
Add shortcut to taskbar?
by
CWBillow
22 hours, 30 minutes ago -
Sycophancy in GPT-4o: What happened
by
Alex5723
1 day, 14 hours ago -
How can I install Skype on Windows 7?
by
Help
1 day, 13 hours ago -
Logitech MK850 Keyboard issues
by
Rush2112
20 hours, 30 minutes ago -
We live in a simulation
by
Alex5723
2 days, 4 hours ago -
Netplwiz not working
by
RetiredGeek
1 day, 15 hours ago -
Windows 11 24H2 is broadly available
by
Alex5723
2 days, 17 hours ago -
Microsoft is killing Authenticator
by
Alex5723
1 day, 5 hours ago -
Downloads folder location
by
CWBillow
2 days, 23 hours ago -
Remove a User from Login screen
by
CWBillow
1 day, 19 hours ago -
TikTok fined €530 million for sending European user data to China
by
Nibbled To Death By Ducks
2 days, 14 hours ago -
Microsoft Speech Recognition Service Error Code 1002
by
stanhutchings
2 days, 15 hours ago -
Is it a bug or is it expected?
by
Susan Bradley
17 hours, 8 minutes ago -
Image for Windows TBwinRE image not enough space on target location
by
bobolink
2 days, 14 hours ago -
Start menu jump lists for some apps might not work as expected on Windows 10
by
Susan Bradley
1 day, 13 hours ago -
Malicious Go Modules disk-wiping malware
by
Alex5723
3 days, 3 hours ago -
Multiple Partitions?
by
CWBillow
3 days, 4 hours ago -
World Passkey Day 2025
by
Alex5723
1 hour, 26 minutes ago -
Add serial device in Windows 11
by
Theodore Dawson
4 days, 13 hours ago -
Windows 11 users reportedly losing data due forced BitLocker encryption
by
Alex5723
2 days, 13 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.