PC Review


Reply
Thread Tools Rate Thread

Comparing two records

 
 
=?Utf-8?B?dmFk?=
Guest
Posts: n/a
 
      30th Jan 2004
Hi! All,

Is it possible to compare all the records in the same table with the new record.

Or

Is it possible to compare previous record with the new record.

Thanks
Vad

 
Reply With Quote
 
 
 
 
OriginalStealth
Guest
Posts: n/a
 
      31st Jan 2004
Are you trying to compare the entire record or do you
have a PK, unique field(s) that you are comparing?

TheOriginalStealth
>-----Original Message-----
>Hi! All,
>
>Is it possible to compare all the records in the same

table with the new record.
>
> Or
>
>Is it possible to compare previous record with the new

record.
>
>Thanks
>Vad
>
>.
>

 
Reply With Quote
 
=?Utf-8?B?VmFk?=
Guest
Posts: n/a
 
      31st Jan 2004
In A record I am comparing date field which is not a primary key is comparing with another datefield in the previous record.

Hi!

I have DeliveriInformationTable which includes fields

DeliveryAgreement#(PK)
DeliveryDate---This is set to current date
DeliveryCharges
HandlingCharges
TotalInvoiceAmout
Invoice#

I have built a form based on the above table. What I am looking for is to have the same Invoice number for the Delivery information entered on the same date.

If I enter 10 delivery information, all those 10 must have the same invoice number in a format like "CurrentYear""0000". It must start at the above format. If it was next year again it must start at "CurrentYear""0000".

For the next date it must be a diiferent Invoice Number like in the above format.

For this I am looking for comparing with the previous record to decide wether it is in current date or some other date.

I am not sure how to get the above mentioned invoice#, but I am making tries.

Thanks
Vad


 
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
Comparing Records Help?? Adam Microsoft Access 1 23rd Apr 2008 09:57 PM
Comparing fields and records and updating records cebAccess Microsoft Access Database Table Design 2 5th Oct 2006 03:59 PM
Comparing records =?Utf-8?B?Um9ubmll?= Microsoft Access Form Coding 3 15th Oct 2004 04:39 AM
comparing records Ezekiël Microsoft Access Queries 9 11th Nov 2003 08:42 PM
Re: comparing records GVaught Microsoft Access Reports 0 5th Sep 2003 10:03 AM


Features
 

Advertising
 

Newsgroups
 


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