-
WSR. Hicks
AskWoody LoungerSounds like you may have criteria set that is limiting the records returned.
I would check this by executing the query from within the design view of the query to see if it is returning the correct records.
HTH
RDH -
WSR. Hicks
AskWoody LoungerThe best way to overcome this problem is to restart your computer in “Safe Mode” … then run Scan Disk or if needed Defrag. The problem is caused by apps running in the backgroung that is wiriting to the harddrive. When this happens, Windows detects it and restarts Scandisk.
HTH
RDH -
WSR. Hicks
AskWoody LoungerDecember 20, 2001 at 1:12 am in reply to: Security Patch Escape Hatch – Does It Really Work? (2000 SR2) #559241Not sure about Oulook 98 and 2000 … but in Outlook 2002 (XP) you can alter the files that Microsoft has deemed “unsafe” via the Registery. Follow the link below for information on how this can be done.
Cannot Access Attachments – Outlook 2002
HTH
RDH -
WSR. Hicks
AskWoody LoungerDecember 19, 2001 at 9:03 pm in reply to: Erase Contents of Field in Error (Access 2000 SR1) #559208Well … that a lot of “nested” If statements. It is very hard for me to follow the logic behind your code. All of the “GoTo” statements were sending me all over the place.
The response I gave in my earlier reply was using the “Forms On Before Update” event and not the controls event. I have looked at your code for several minutes and can not get a complete grasp on what all you are attempting to do in the routine.
I normally validate the forms entries at “form level” instead of at control level. Maybe now that you have posted the code you are using … someone can come up with a reasonable solution.
Sorry I could not be more help.
RDH
-
WSR. Hicks
AskWoody LoungerDecember 19, 2001 at 8:03 pm in reply to: Erase Contents of Field in Error (Access 2000 SR1) #559189Are you using the Before Update event of the Control or the Form? It would help if you would post the complete SubRoutine you are using. This may fill in the holes needed to give the exact solution.
RDH
-
WSR. Hicks
AskWoody LoungerIs there a chance that you are over-riding the settings on the form by using the acNormal argument in the code that is opening the form?
You may be using something like this:
DoCmd.OpenForm “YourFormName”, acNormal …… ect
In the example above the “acNormal” will force the form to open as a “Normal form”. You can either remove the “acNormal” from the line or change it to “acFormDS” to force the form to open in Data Sheet view.
HTH
RDH -
WSR. Hicks
AskWoody LoungerDecember 19, 2001 at 7:01 pm in reply to: Erase Contents of Field in Error (Access 2000 SR1) #559175Hmmmm ……..
Me.Undo will clear the complete entry …. I think the poster only wants to clear the single control.
RDH
-
WSR. Hicks
AskWoody LoungerDecember 19, 2001 at 6:58 pm in reply to: Erase Contents of Field in Error (Access 2000 SR1) #559171You should be able to add the two lines below before you cancel the event:
Me.YourControlName.SetFocus
Me.YourControlName.Undo
Cancel=True ‘(or Cancel = -1 in your case)(change “YourControlName” to the actual name of your control)
HTH
RDH -
WSR. Hicks
AskWoody LoungerYou are welcome ….
I was just slightly faster responding than rpwoods.
RDH
-
WSR. Hicks
AskWoody LoungerUse the On Got Focus event:
Me.YourComboName.Dropdown
Or you could simply use:
Me.ActiveControl.Dropdown
HTH
RDH -
WSR. Hicks
AskWoody LoungerDecember 16, 2001 at 11:24 pm in reply to: Searching a string for a specific character (A2K Sr1) #558483I agree that what LegareColeman has submitted will work with “no problem” ………
You can also do this without the need of a “User Defined” function by using an IIf statement:
=IIf(InStr([FieldName],”@”)>0,1,0)
RDH
-
WSR. Hicks
AskWoody LoungerThis may be what you are reffering to in your post ……
The only thing I know of is the information in Access help file if you search for “order of events”. This pretty much expains all events and in what order they trigger.
Sorry if this does not give you anymore information than you already know.
HTH
RDH -
WSR. Hicks
AskWoody LoungerIf Francois’ reply does not do the trick ……. the file attributes of a file can be altered using a Windows API function:
Declare Function SetFileAttributes Lib “kernel32.dll” Alias _
“SetFileAttributesA” (ByVal lpFileName As String, _
ByVal dwFileAttributes As Long) As Long‘ Use these constants to set the attributes you want
‘ FILE_ATTRIBUTE_ARCHIVE = &H20
‘ FILE_ATTRIBUTE_COMPRESSED = &H800
‘ FILE_ATTRIBUTE_DIRECTORY = &H10
‘ FILE_ATTRIBUTE_HIDDEN = &H2
‘ FILE_ATTRIBUTE_NORMAL = &H80
‘ FILE_ATTRIBUTE_READONLY = &H1
‘ FILE_ATTRIBUTE_SYSTEM = &H4Public Function SetAttributes(ByVal FullFilePath As String, Optional ByVal FileAttributes As Long = &H2) As Long
‘ Makes sure that the file path is not too long -
WSR. Hicks
AskWoody LoungerHmmmm ……
I’ve been trying to think ….. what is “hun”?
If you are referring to hundredths of a second, then you have a problem. Access does not return this. The smallest increment for a Date/Time value is “seconds”.
You may be able to do this with code using the Timer built into a form.
HTH
RDH -
WSR. Hicks
AskWoody LoungerLOL …. It is almost as hard to learn how to use Access Help as it is to learn how to write code in Access.
You are welcome for the help I’ve given …..
RDH
![]() |
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
-
Windows 7 ISO /Windows 10 ISO
by
ECWS
6 hours, 40 minutes ago -
No HP software folders
by
fpefpe
7 hours, 25 minutes ago -
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
2 hours, 29 minutes ago -
Stay connected anywhere
by
Peter Deegan
12 hours, 47 minutes ago -
Copilot, under the table
by
Will Fastie
4 hours, 1 minute ago -
The Windows experience
by
Will Fastie
19 hours, 2 minutes ago -
A tale of two operating systems
by
Susan Bradley
9 hours, 58 minutes ago -
Microsoft : Resolving Blue Screen errors in Windows
by
Alex5723
1 day ago -
Where’s the cache today?
by
Up2you2
1 day, 15 hours ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
1 day, 8 hours ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
8 hours, 47 minutes ago -
Blocking Search (on task bar) from going to web
by
HenryW
1 day, 16 hours ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
2 days, 8 hours ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
2 days, 9 hours ago -
regarding april update and may update
by
heybengbeng
2 days, 10 hours ago -
MS Passkey
by
pmruzicka
1 day, 12 hours ago -
Can’t make Opera my default browser
by
bmeacham
2 days, 18 hours ago -
*Some settings are managed by your organization
by
rlowe44
2 days, 4 hours ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
2 days, 17 hours ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
3 days, 12 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
3 days, 21 hours ago -
AI slop
by
Susan Bradley
1 day, 15 hours ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
3 days, 23 hours ago -
Two blank icons
by
CR2
1 day, 7 hours ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
1 day, 9 hours ago -
End of 10
by
Alex5723
4 days, 10 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
3 days, 8 hours ago -
test post
by
gtd12345
4 days, 16 hours ago -
Privacy and the Real ID
by
Susan Bradley
4 days, 6 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
2 days, 9 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.