-
WSrrdavis
AskWoody LoungerI thought so, but it couldn’t hurt to ask. Thanks again.
-
WSrrdavis
AskWoody LoungerQuick followup question: for the FileFilter argument, is it possible to specify only files with no extention? The file to be imported is actually an export from an AS400 system. By default, these files are exported without extentions. If need be, I can get an RPG programmer to make a change to include an extention on the exported file, but thought I’d try this route first.
(Yes, it would be easier and far more effiecient to query the AS400 directly, but my boss won’t let me do it that way– DON’T GET ME STARTED!!)
-
WSrrdavis
AskWoody LoungerQuick followup question: for the FileFilter argument, is it possible to specify only files with no extention? The file to be imported is actually an export from an AS400 system. By default, these files are exported without extentions. If need be, I can get an RPG programmer to make a change to include an extention on the exported file, but thought I’d try this route first.
(Yes, it would be easier and far more effiecient to query the AS400 directly, but my boss won’t let me do it that way– DON’T GET ME STARTED!!)
-
WSrrdavis
AskWoody LoungerThanks Hans and Jan for the input. I will try to implement your suggestions this afternoon.
-
WSrrdavis
AskWoody LoungerThanks Hans and Jan for the input. I will try to implement your suggestions this afternoon.
-
WSrrdavis
AskWoody LoungerI was afraid that was the answer I would get. Thanks for letting me know.
-
WSrrdavis
AskWoody LoungerI was afraid that was the answer I would get. Thanks for letting me know.
-
WSrrdavis
AskWoody Loungerthanks for your reply, Gary
This is being run on a Citrix server, so it is possible that I might not have enough RAM on the server. This is a very intermittent problem–probably once in 25 runs or so.
I just need to add an error handler to catch this and terminate the report altogether and instruct the user to begin again. I think the error happens at different points in the code and in different procedures, although I’m not sure. How can I write an Error handling procedure that would catch this one error regardless of which module or procedure it occurred in?
-
WSrrdavis
AskWoody Loungerthanks for your reply, Gary
This is being run on a Citrix server, so it is possible that I might not have enough RAM on the server. This is a very intermittent problem–probably once in 25 runs or so.
I just need to add an error handler to catch this and terminate the report altogether and instruct the user to begin again. I think the error happens at different points in the code and in different procedures, although I’m not sure. How can I write an Error handling procedure that would catch this one error regardless of which module or procedure it occurred in?
-
WSrrdavis
AskWoody LoungerThanks, Charlotte, for your input. Sometimes I feel like I’m still learning some of the finer points of Access. It never occurred to me to refer to it in this way. Thanks again.
-
WSrrdavis
AskWoody LoungerThanks, Charlotte, for your input. Sometimes I feel like I’m still learning some of the finer points of Access. It never occurred to me to refer to it in this way. Thanks again.
-
WSrrdavis
AskWoody LoungerOK, moving the code to Report_Open for the main report didn’t really change anything. I think I’ve learned that the Open event fires too late for my uses.
Does anyone have any ideas on where I would put code to change the property of a report during runtime. I’ve tried Open and OnFormat.
-
WSrrdavis
AskWoody LoungerOK, moving the code to Report_Open for the main report didn’t really change anything. I think I’ve learned that the Open event fires too late for my uses.
Does anyone have any ideas on where I would put code to change the property of a report during runtime. I’ve tried Open and OnFormat.
-
WSrrdavis
AskWoody LoungerWendell–
Thanks for your response. I really appreciate all the help you give
I need to make sure I’m not missing something. I cannot find an OnFormat event for the main report. There is an OnFormat event for the detail section of the main report. Is that what you meant? I tried that, but it didn’t fire until after the Open event of the subreport. I think I need this code to fire prior to the opening of the subreport.
So I move the code to the open event of the main report. This does not seem to work, either. Now I am getting the following error message: ” Error: 2046, The command or action ‘OpenReport’ isn’t available now.” Is there an event that fires prior to even opening the main report? or do I need to move this code to the click event of the button that calls the report in the first place? I think I’ll play with that for a while.
-
WSrrdavis
AskWoody LoungerWendell–
Thanks for your response. I really appreciate all the help you give
I need to make sure I’m not missing something. I cannot find an OnFormat event for the main report. There is an OnFormat event for the detail section of the main report. Is that what you meant? I tried that, but it didn’t fire until after the Open event of the subreport. I think I need this code to fire prior to the opening of the subreport.
So I move the code to the open event of the main report. This does not seem to work, either. Now I am getting the following error message: ” Error: 2046, The command or action ‘OpenReport’ isn’t available now.” Is there an event that fires prior to even opening the main report? or do I need to move this code to the click event of the button that calls the report in the first place? I think I’ll play with that for a while.
![]() |
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
-
Marriage Counseling – Manages To Do It Save Our Marriage? (Awaiting moderation)
by
lynwoodspellman
2 hours, 42 minutes ago -
Where’s the cache today?
by
Up2you2
2 hours, 34 minutes ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
9 hours, 40 minutes ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
10 hours, 1 minute ago -
Blocking Search (on task bar) from going to web
by
HenryW
3 hours, 16 minutes ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
19 hours, 49 minutes ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
19 hours, 55 minutes ago -
regarding april update and may update
by
heybengbeng
21 hours, 25 minutes ago -
MS Passkey
by
pmruzicka
20 minutes ago -
Can’t make Opera my default browser
by
bmeacham
1 day, 5 hours ago -
*Some settings are managed by your organization
by
rlowe44
15 hours, 48 minutes ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
1 day, 3 hours ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
1 day, 23 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
2 days, 8 hours ago -
AI slop
by
Susan Bradley
2 hours, 36 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
2 days, 9 hours ago -
Two blank icons
by
CR2
21 hours, 42 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
2 days, 18 hours ago -
End of 10
by
Alex5723
2 days, 21 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
1 day, 19 hours ago -
test post
by
gtd12345
3 days, 3 hours ago -
Privacy and the Real ID
by
Susan Bradley
2 days, 17 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
20 hours, 1 minute ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
3 days, 7 hours ago -
Upgrading from Win 10
by
WSjcgc50
1 day, 19 hours ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
1 day, 23 hours ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
3 days, 23 hours ago -
The story of Windows Longhorn
by
Cybertooth
3 days, 11 hours ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
4 days, 1 hour ago -
Are manuals extinct?
by
Susan Bradley
1 day, 1 hour 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.