UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
2 Pages V < 1 2  (Go to first unread post)
   Reply to this topicStart new topic
> Run-time Error ‘13’ Type Mismatch, Access 2013    
 
   
LPurvis
post Aug 13 2017, 04:18 AM
Post#21


UtterAccess Editor
Posts: 16,049
Joined: 27-June 06
From: England (North East / South Yorks)


Hi

>> **I would really like to update the Final Act value with “Delogged” whether there is a Mailed Date value present or not please.
>> --So if the mailed date is null, drop through the Received Date /vs/ Mailed Date comparison and just allow update to Final Action column

Indeed. You can code defensively, or in a more reactionary way. So checking values before their use makes a lot of sense if they've entirely likely to not have been provided.
Error handling if it isn't is another option, but tends to be more of an entire procedure failure route. (Though isn't necessarily.)
I've heard programming referred to as "If statements and Loops". Seems harsh, and yet the bread and butter (and certainly of getting started) of it.
So If statement away.
If you need a value to be supplied before you use it, check it. (If statement example earlier.) Don't use that value then, or provide a substitute.

Then proceed with the rest of your procedure.

>> I don’t know the apps process at all.
>> I should have talked to a manager or someone else who knew the screen, the key entry person was out Thursday and Friday.

Well, if you don't we certainly don't. ;-)

Best of luck with it.

Cheers

--------------------
Go to the top of the page
 
tina t
post Aug 13 2017, 10:12 AM
Post#22



Posts: 5,104
Joined: 11-November 10
From: SoCal, USA


and don't forget the most important rule when troubleshooting somebody else's database/application: first, do no harm.

hth
tina

--------------------
"you can't take the sky from me"
Go to the top of the page
 
2 Pages V < 1 2


Custom Search
RSSSearch   Top   Lo-Fi    16th August 2017 - 06:47 PM