PC Review


Reply
Thread Tools Rate Thread

Compare two tables in VBA

 
 
Sal
Guest
Posts: n/a
 
      10th Nov 2003
Hi,

I'd like to use VBA instead of the unmatched query to
determine if any new records have been added. Is there a
way to do this?

Any help would be nice.

Thanks,
Sal
 
Reply With Quote
 
 
 
 
RobFMS
Guest
Posts: n/a
 
      10th Nov 2003
Sal

If you add a field called "ts" or "timestamp" and set it as Date/time field
type. For default value, set it to Now().

When new records are added, the field is automatically updated. (Don't show
this field to the user.) When you need to determine if new records are
added, you can determine this by the date/time stamp.

HTH

--
Rob

FMS Professional Solutions Group
http://www.fmsinc.com/consulting

Software Tools for .NET, SQL Server, Visual Basic & Access
http://www.fmsinc.com

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
"Sal" <(E-Mail Removed)> wrote in message
news:298c01c3a7a4$8570c060$(E-Mail Removed)...
> Hi,
>
> I'd like to use VBA instead of the unmatched query to
> determine if any new records have been added. Is there a
> way to do this?
>
> Any help would be nice.
>
> Thanks,
> Sal



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to compare two tables? tom Microsoft Access 6 26th Nov 2006 10:56 PM
compare tables =?Utf-8?B?Z2VlYmVl?= Microsoft Access Queries 1 3rd May 2006 10:21 PM
need to compare between 2 tables yuvalbra@gmail.com Microsoft Excel Programming 3 24th Jan 2006 11:40 AM
Compare tables Steve B Microsoft Access Queries 1 2nd Oct 2003 06:33 PM
Compare tables Jeff Clarke Microsoft Access Queries 0 29th Sep 2003 02:57 PM


Features
 

Advertising
 

Newsgroups
 


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