View Single Post
  #3  
Old April 28th, 2010, 05:38 PM posted to microsoft.public.access.gettingstarted
Kathryn
external usenet poster
 
Posts: 108
Default Flickering Error message: Check duplicates


Hi - sorry for the delay in getting back to you - it's been a bit manic with
the other side of my work this week!

To answer the question - no, I didn't put the code in. I used the Contacts
Management template as the basis of our own and up until last week it worked
fine. To be honest, I hadn't checked what code was there as I'm so new I
wouldn't have known how to! I've learnt a lot but can't say whether it
changed from one day - when it worked - to the next when it didn't

Not much help I know but hopefully you can prompt what other information you
might need.

Many thanks


"ruralguy via AccessMonster.com" wrote:

Hi Kathryn,
Did you put that code in the ControlSource of the TextBox?

Kathryn wrote:
I'm not sure what I have done ... nothing as far as I can tell but obviously
something.

I have used the Contacts management template as the basis of a Contacts/
Event database. A couple of issues have arisen - but the most annoying one is
the appearance of a flickering Error message (where a warning about possible
duplicates appears) in the Contact Details form.

The Properties are - Text box: txtDuplicatesWarning
and the code that comes up in the Expression Builder is:
=IIf(DCount("*","[Contacts Extended]","[ID]" & Nz([ContactID],0) & " And
[Contact Name] = '" & Replace(Nz([Contact Name]),"'","''") & "'")0,"Possible
Duplicate","")

ContactsExtended is a query that came built in with the template which I
haven't changed - though I have done some work on the Contact Details form on
which the error is displayed - adding fields from the Contacts table)

Is there something obviously wrong? The warning would be useful but the
flickering Error definitely isn't! If you need any more information, please
let me know!

Many thanks


--
RuralGuy (RG for short) aka Allan Bunch MS Access MVP - acXP WinXP Pro
Please post back to this forum so all may benefit.

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...arted/201004/1

.