-
WSmphutton
AskWoody Lounger -
WSmphutton
AskWoody Lounger -
WSmphutton
AskWoody LoungerMany thanks – its just what I wanted and it works.
-
WSmphutton
AskWoody LoungerMany thanks – it works.
In my query, in the criteria box I have entered the following [Which Post Code?] and the user enters in caps alphanumeric characters like ‘SE1 5JX’ – How can I format the box so that the user needs only enter the first three characters ? Thanks -
WSmphutton
AskWoody LoungerIt worked ! Many thanks
Maurice -
WSmphutton
AskWoody LoungerMany thanks for your time and effort in putting together the sample database to illustrate the code you suggested using. However, everything works fine on the data you have entered but when I enter a new record in the form (in your sample database) it does not update the UserRecNo field and if I run the query I get the message
-
WSmphutton
AskWoody LoungerYes
Regards
Maurice Hutton -
WSmphutton
AskWoody LoungerThank you for your tips. I have tried both with no luck !
The update query gives me the following error message “Data type mismatch in criteria expression” (REC_NO is number field and REC_ID is autonumber field)
I did as you suggested in the form with the following code:
Private Sub REC_NO_BeforeUpdate(Cancel As Integer)
If IsNull ( [REC_NO] ) Then
[Forms] ! [citywest]![REC_NO] = [Forms] ! [citywest] ! [REC_ID]
End If
End SubIt does not appear to do anything.
Any other suggestions would be appreciated.
Maurice Hutton -
WSmphutton
AskWoody LoungerThe data was imported from a dbf file supplied by a marketing bureau and contained the field REC_NO in which the contents were a unique number but not in any numeric sequence. I created a primary field (autonumber) called REC_ID and added several tables and linked them all via this primary filed. Everything works fine until the user adds a new record and then data in some of the forms do not display though they are in the main table.
Hope this all amkes sense.
Thanks for your prompt repsonse -
WSmphutton
AskWoody LoungerThe data was imported from a dbf file supplies by a marketing bureau and contained the field REC_NO in which the contents were a unique number but not in any numeric sequence. I created a primary field (autonumber) called REC_ID and added several tables and linked them all via this primary filed. Everything works fine until the user adds a new record and then data in some of the forms do not display though they are in the main table.
Hope this all amkes sense.
Thanks for your prompt repsonse
Maurice Hutton -
WSmphutton
AskWoody LoungerThank you for your patience. I think it does, I shall try it and let you know how I get on !
-
WSmphutton
AskWoody LoungerThank you for your suggestion. I am not sure I follow what you mean – could you elaborate please. Sorry to be such a pain, but I am only a novice !!!!
-
WSmphutton
AskWoody LoungerThanks for your response. No- as I have added other fields to the table.
![]() |
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
-
The time has come for AI-generated art
by
Catherine Barrett
2 hours, 32 minutes ago -
Hackers are using two-factor authentication to infect you
by
B. Livingston
2 hours, 32 minutes ago -
23 and you
by
Max Stul Oppenheimer
2 hours, 34 minutes ago -
April’s deluge of patches
by
Susan Bradley
1 hour, 54 minutes ago -
April’s deluge of patches
by
Susan Bradley
2 hours, 34 minutes ago -
Windows 11 Windows Updater question
by
Tex265
10 hours, 45 minutes ago -
Key, Key, my kingdom for a Key!
by
RetiredGeek
17 hours, 40 minutes ago -
Registry Patches for Windows 10
by
Drcard:))
22 hours, 11 minutes ago -
Cannot get line length to NOT wrap in Outlining in Word 365
by
CWBillow
4 hours, 45 minutes ago -
DDU (Display Driver Uninstaller) updates
by
Alex5723
15 hours, 33 minutes ago -
Align objects on a OneNote page
by
CWBillow
1 day, 3 hours ago -
OneNote Send To button?
by
CWBillow
1 day, 4 hours ago -
WU help needed with “Some settings are managed by your organization”
by
Peobody
1 day, 12 hours ago -
No Newsletters since 27 January
by
rog7
1 day, 8 hours ago -
Linux Mint Debian Edition 7 gets OEM support, death of Ubuntu-based Mint ?
by
Alex5723
13 hours, 28 minutes ago -
Windows Update “Areca Technology Corporation – System – 6.20.0.41”
by
Bruce
12 hours, 8 minutes ago -
Google One Storage Questions
by
LHiggins
3 hours, 15 minutes ago -
Button Missing for Automatic Apps Updates
by
pmcjr6142
3 hours, 22 minutes ago -
Ancient SSD thinks it’s new
by
WSila
18 hours, 4 minutes ago -
Washington State lab testing provider exposed health data of 1.6 million people
by
Nibbled To Death By Ducks
2 days, 3 hours ago -
WinRE KB5057589 fake out
by
Susan Bradley
2 hours, 48 minutes ago -
The April 2025 Windows RE update might show as unsuccessful in Windows Update
by
Susan Bradley
1 day, 11 hours ago -
Firefox 137
by
Charlie
14 hours, 28 minutes ago -
Whisky, a popular Wine frontend for Mac gamers, is no more
by
Alex5723
2 days, 16 hours ago -
Windows 11 Insider Preview build 26120.3863 (24H2) released to BETA
by
joep517
2 days, 16 hours ago -
Windows 11 Insider Preview build 26200.5551 released to DEV
by
joep517
2 days, 16 hours ago -
New Windows 11 PC setup — can I start over in the middle to set up a local id?
by
ctRanger
1 day, 12 hours ago -
Windows 11 Insider Preview Build 26100.3902 (24H2) released to Release Preview
by
joep517
2 days, 19 hours ago -
Oracle kinda-sorta tells customers it was pwned
by
Nibbled To Death By Ducks
3 days, 1 hour ago -
Global data centers (AI) are driving a big increase in electricity demand
by
Kathy Stevens
3 days, 12 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.