-
WSClausParkhoi
AskWoody LoungerExcellent idea, Drew.
Haven’t tried it out, but spotted a small typo: you should limit your loops to rs.Fields.Count – 1 -
WSClausParkhoi
AskWoody LoungerExcellent idea, Drew.
Haven’t tried it out, but spotted a small typo: you should limit your loops to rs.Fields.Count – 1 -
WSClausParkhoi
AskWoody LoungerThanks Hans,
I’m still laughingthat I did not see that myself
. Please don’t tell anyone.
-
WSClausParkhoi
AskWoody LoungerWendell,
Permissions are set on groups (not users). The point is that a workgroup information file cannot be standard and unique to the customer at the same time. The name, org, and workgroup ID specified on creation of the workgroup information file is what makes it unique. If it is not unique but standard for the application then data belonging to one customer could easily be displayed/used by another customer (running the same application) using his own workgroup information file -
WSClausParkhoi
AskWoody LoungerCharlotte,
I understand that you distribute a copy of the same standard workgroup information file to each customer -
WSClausParkhoi
AskWoody Lounger(
-
WSClausParkhoi
AskWoody LoungerGood work Mark.
I agree that in some cases you have to secure the FE to make absolutely sure.
-
WSClausParkhoi
AskWoody LoungerGood point, Wendell – though you don
-
WSClausParkhoi
AskWoody LoungerWhy bother securing the FE?
Securing the data in BE is the important thing in my opinion. I see little point in securing the FE provided you release it as an mde.
Then modules and forms are safe. Tables are linked to the BE, hence no danger there.
Use AllowBypassKey the proper way and users cannot get into the dbs by using the shift key.
So, why would you secure the FE? -
WSClausParkhoi
AskWoody LoungerJanuary 31, 2003 at 11:33 pm in reply to: Send message w/ different versions of Outlook (Acc97 SR2) #649657I am sorry if I have confused you, Chico. To get right to the point: what I guess you need right now is this part of my code to avoid a reference to the Outlook Object Library:
‘ Define Outlook constants
Const olTo = 1
Const olCC = 2
Const olBCC = 3
Const olMailItem = 0
‘ Define Outlook objects
Dim objOutlook As Object
Dim objOutlookMsg As Object
Dim objOutlookRecip As Object
Dim objOutlookAttach As Objectas a replacement for your DIM objOutLook
-
WSClausParkhoi
AskWoody LoungerJanuary 31, 2003 at 11:56 am in reply to: Send message w/ different versions of Outlook (Acc97 SR2) #649516I have looked at your code and think this may help you. If you use late binding then you do not need a reference to the Outlook Object Library in your Access application. I think this method will solve your problem.
Replace your Dim-statements defining the Outlook objects by the lines of code shown below:
‘****** start of code
‘ When you set Development = True you need to add a reference to
‘ the MS Outlook xx.x Object Library.
‘ When you set Development = False you don’t need the reference.
#Const Development = False
#If Development = True Then
‘ Define Outlook objects
Dim objOutlook As Outlook.Application
Dim objOutlookMsg As Outlook.MailItem
Dim objOutlookRecip As Outlook.Recipient
Dim objOutlookAttach As Outlook.Attachment
#Else
‘ Define Outlook constants
Const olTo = 1
Const olCC = 2
Const olBCC = 3
Const olMailItem = 0
‘ Define Outlook objects
Dim objOutlook As Object
Dim objOutlookMsg As Object
Dim objOutlookRecip As Object
Dim objOutlookAttach As Object
#End If
‘ ****** end of codeWhile developing you should set the conditional compilation constant Development = True.
This will allow you to use Outlook Object Library defined constants (olConstants) without getting compilation errors.
Once your code works, you can remove the reference to the Outlook Object Library and set Development = False.
At this point if you get compilation errors because you have added olConstants you will have to define them the way I have done above.
You can find their value by temporarily setting a reference to the Outlook Object Library again and then use the Object Browser to search for them. Click the constant and you will see its value in the bottom part of the Object Browser display.
If you have not tried to use the Object Browser before – it’s time to get started. You will love it. Just press F2 from the module editor and you are ready.Hope it helps.
-
WSClausParkhoi
AskWoody LoungerNo Patrick, when you first open a form, the following events occur in this order:
Open -> Load -> Resize -> Activate -> Current
Hence, the called form is not yet the active form.
If the called form might be open already – put the code in the Load event.
-
WSClausParkhoi
AskWoody LoungerWhy not do it the easy way, no global needed. In the open event of the called form:
Dim strForm as String
On Error Resume Next
strForm=Screen.ActiveForm.Name
If strForm=”” Then
…….. not opened by another form
Else
…….. opened by another form
EndifIf the form can only be opened from another form you don’t need the error trapping.
-
WSClausParkhoi
AskWoody LoungerIt could even be done without the help of iif-stmts by using an expressing like this in the ORDER clause: Abs(Month(Date())-Month(BirthDate))
The expression will evaluate like this:
Current month Birthday this month Birthday next month 12 0 11 1 thru 11 0 1 One way of writing the complete SQL could be like this (using the Employees table of the Northwind sample dbs):
SELECT Employees.BirthDate, Employees.LastName
FROM Employees
WHERE Month(BirthDate)=Month([DE]) Or Month(BirthDate)=Month(DateAdd(“m”,1,[DE]))
ORDER BY Abs(Month([DE])-Month(BirthDate)), Day(BirthDate);Replace [DE] with Date() to make it work for real.
-
WSClausParkhoi
AskWoody LoungerComment on Unicode character-encoding. By default Access uses Unicode Compression for text and Memo fields. As long as you are using entirely Latin characters (as in English, Spanish,
![]() |
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
-
pages print on restart (Win 11 23H2)
by
cyraxote
1 hour, 11 minutes ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
1 hour, 27 minutes ago -
Windows 11 Insider Preview build 26120.3950 (24H2) released to BETA
by
joep517
1 hour, 28 minutes ago -
Proton to drop prices after ruling against “Apple tax”
by
Cybertooth
8 hours, 49 minutes ago -
24H2 Installer – don’t see Option for non destructive install
by
JP
1 hour, 53 minutes ago -
Asking Again here (New User and Fast change only backups)
by
thymej
20 hours, 10 minutes ago -
How much I spent on the Mac mini
by
Will Fastie
9 hours, 37 minutes ago -
How to get rid of Copilot in Microsoft 365
by
Lance Whitney
2 hours, 5 minutes ago -
Spring cleanup — 2025
by
Deanna McElveen
1 day, 2 hours ago -
Setting up Windows 11
by
Susan Bradley
4 hours, 25 minutes ago -
VLC Introduces Cutting-Edge AI Subtitling and Translation Capabilities
by
Alex5723
21 hours, 30 minutes ago -
Powershell version?
by
CWBillow
22 hours, 23 minutes ago -
SendTom Toys
by
CWBillow
6 hours, 39 minutes ago -
Add shortcut to taskbar?
by
CWBillow
1 day, 2 hours ago -
Sycophancy in GPT-4o: What happened
by
Alex5723
1 day, 18 hours ago -
How can I install Skype on Windows 7?
by
Help
1 day, 17 hours ago -
Logitech MK850 Keyboard issues
by
Rush2112
1 day ago -
We live in a simulation
by
Alex5723
2 days, 8 hours ago -
Netplwiz not working
by
RetiredGeek
1 day, 19 hours ago -
Windows 11 24H2 is broadly available
by
Alex5723
2 days, 21 hours ago -
Microsoft is killing Authenticator
by
Alex5723
1 day, 8 hours ago -
Downloads folder location
by
CWBillow
3 days, 3 hours ago -
Remove a User from Login screen
by
CWBillow
1 day, 23 hours ago -
TikTok fined €530 million for sending European user data to China
by
Nibbled To Death By Ducks
2 days, 18 hours ago -
Microsoft Speech Recognition Service Error Code 1002
by
stanhutchings
2 days, 18 hours ago -
Is it a bug or is it expected?
by
Susan Bradley
20 hours, 57 minutes ago -
Image for Windows TBwinRE image not enough space on target location
by
bobolink
2 days, 17 hours ago -
Start menu jump lists for some apps might not work as expected on Windows 10
by
Susan Bradley
1 day, 17 hours ago -
Malicious Go Modules disk-wiping malware
by
Alex5723
3 days, 7 hours ago -
Multiple Partitions?
by
CWBillow
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.