-
WSsvetljop
AskWoody LoungerDear Francois,
Happy New Year and my best wishes to you.
I use sucessfully your suggestion to avoid the Null values in my code.It works excellent but it gives me an error if the user
inadverently sets the FirstName into commas.For example if the first name is Joe then it is OK but if it is “Joe”
then i get a message that i have a syntax error.
May i somehow tell the user to delete the commas ? These commas are a nuisance to me and it will be a good opportunity to make the user avoid them.regards
-
WSsvetljop
AskWoody LoungerDear Francois,
Happy New Year and my best wishes to you.
I use sucessfully your suggestion to avoid the Null values in my code.It works excellent but it gives me an error if the user
inadverently sets the FirstName into commas.For example if the first name is Joe then it is OK but if it is “Joe”
then i get a message that i have a syntax error.
May i somehow tell the user to delete the commas ? These commas are a nuisance to me and it will be a good opportunity to make the user avoid them.regards
-
WSsvetljop
AskWoody LoungerI have a small additional question.The point is that the telephone numbers might not be
known and should not be considered as obligatory.In that case,it would be better
to execute the code, and ask for the number.I have tried the folloiwng:
If IsNull(f!phone) Then
On Error Resume Next
End Ifbut it didnt work, the row remains empty.
Is it possible at all ?If not i must remove the phone numbers -
WSsvetljop
AskWoody LoungerI have a small additional question.The point is that the telephone numbers might not be
known and should not be considered as obligatory.In that case,it would be better
to execute the code, and ask for the number.I have tried the folloiwng:
If IsNull(f!phone) Then
On Error Resume Next
End Ifbut it didnt work, the row remains empty.
Is it possible at all ?If not i must remove the phone numbers -
WSsvetljop
AskWoody LoungerBulletproof.I have now a bulletproof application.Thank you to all of you, Hans and Francois.
I wish you a merry Christmas and happy New Year. -
WSsvetljop
AskWoody LoungerBulletproof.I have now a bulletproof application.Thank you to all of you, Hans and Francois.
I wish you a merry Christmas and happy New Year. -
WSsvetljop
AskWoody LoungerThank you very much for your reply.Your code works and i am very happy about that,and the new field in the table is populated,
however only in case that all the fields in the form are filled.So for example, if the
SecondName is missing, then the row is blank, and i have no new record.Is it possible to make
the code more flexible and to paste only those records that exist ?Regards
-
WSsvetljop
AskWoody LoungerThank you very much for your reply.Your code works and i am very happy about that,and the new field in the table is populated,
however only in case that all the fields in the form are filled.So for example, if the
SecondName is missing, then the row is blank, and i have no new record.Is it possible to make
the code more flexible and to paste only those records that exist ?Regards
-
WSsvetljop
AskWoody LoungerHere is the stripped copy of the database i failed to send
-
WSsvetljop
AskWoody LoungerHere is the stripped copy of the database i failed to send
-
WSsvetljop
AskWoody LoungerI am sorry i cannot do it. Even though i copied your text. I feel ashamed,i really cannot do it.
I understand that you are not obliged to teach me, just to show a solution
to the forum, but i really am at the end of my powers and i cannot finish
what you have advised me.Please show me where i am wrong,i am sending an attachmentThank you
-
WSsvetljop
AskWoody LoungerI am sorry i cannot do it. Even though i copied your text. I feel ashamed,i really cannot do it.
I understand that you are not obliged to teach me, just to show a solution
to the forum, but i really am at the end of my powers and i cannot finish
what you have advised me.Please show me where i am wrong,i am sending an attachmentThank you
-
WSsvetljop
AskWoody LoungerThank you . I will work on that and it is clear to me now
-
WSsvetljop
AskWoody LoungerThank you . I will work on that and it is clear to me now
-
WSsvetljop
AskWoody Loungerthank you for your reply.I have a module called MdUpdate. This module contains 5 functions. The first function is called FncTown.The second is called
FncBenches. In each function i have to set one and the same variables. Instead of setting them for each function, is it possible to set the variables only once,
before the functions, so that instead of writing them 5 times, to write them only onceregards
![]() |
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
-
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
47 minutes ago -
Stay connected anywhere
by
Peter Deegan
7 hours, 28 minutes ago -
Copilot, under the table
by
Will Fastie
28 seconds ago -
The Windows experience
by
Will Fastie
4 hours, 15 minutes ago -
A tale of two operating systems
by
Susan Bradley
6 minutes ago -
Microsoft : Resolving Blue Screen errors in Windows
by
Alex5723
9 hours, 35 minutes ago -
Where’s the cache today?
by
Up2you2
1 day ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
17 hours, 41 minutes ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
8 hours, 40 minutes ago -
Blocking Search (on task bar) from going to web
by
HenryW
1 day, 1 hour ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
1 day, 18 hours ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
1 day, 18 hours ago -
regarding april update and may update
by
heybengbeng
1 day, 19 hours ago -
MS Passkey
by
pmruzicka
21 hours, 42 minutes ago -
Can’t make Opera my default browser
by
bmeacham
2 days, 3 hours ago -
*Some settings are managed by your organization
by
rlowe44
1 day, 14 hours ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
2 days, 2 hours ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
2 days, 22 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
3 days, 7 hours ago -
AI slop
by
Susan Bradley
1 day ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
3 days, 8 hours ago -
Two blank icons
by
CR2
16 hours, 29 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
18 hours, 27 minutes ago -
End of 10
by
Alex5723
3 days, 19 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
2 days, 17 hours ago -
test post
by
gtd12345
4 days, 1 hour ago -
Privacy and the Real ID
by
Susan Bradley
3 days, 16 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
1 day, 18 hours ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
4 days, 6 hours ago -
Upgrading from Win 10
by
WSjcgc50
2 days, 17 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.