Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Date Verification & Duplication Error


Hey everyone,

Quick 2 questions...I need some help. I have a form that is dumping
information into a Access Database. I need it to check to see if one
of the entries is a duplicate. I already have it opening a connection
to the Access database, but I need it to check Field("Claim") for a
duplicate of the textbox named "Claim". Anyone have any ideas? I have
an error message prepared, I just need it to verify the duplicate so it
can pop the error message.

2nd question:
How can I write vba so that it checks that the entry in a textbox is in
proper date format? I have a textbox titled "Date" and currently it
corrects the format if it's entered short (11/23 = 11/23/2006), but
I've found out that Excel will accept the date format wrong. ex: it
will accept 11/232/006 as a date. Is there a way to tell it to flag
this date as incorrectly formatted?


--
dok112
------------------------------------------------------------------------
dok112's Profile: http://www.excelforum.com/member.php...o&userid=10581
View this thread: http://www.excelforum.com/showthread...hreadid=526160

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
cell verification Firkins Excel Discussion (Misc queries) 2 October 2nd 07 05:40 PM
Date verification Oldjay Excel Discussion (Misc queries) 4 October 24th 06 03:52 AM
How's this verification done? Lava[_4_] Excel Programming 7 October 14th 05 09:30 AM
Name Verification MAWII Excel Programming 1 July 29th 05 05:52 PM
Licence Verification alanford Excel Programming 6 March 1st 05 02:01 PM


All times are GMT +1. The time now is 02:59 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"