PC Review


Reply
Thread Tools Rate Thread

Compare Fields

 
 
=?Utf-8?B?TGlnaHRTaG93?=
Guest
Posts: n/a
 
      26th Dec 2006
I have 6 fields on a form that uses DLOOKUP from qry to gather the highest
number within a qry (second field in below example). I need to compare the
6 fields to find the highest number then display information from all related
fields that equal that number (display first section in below example).
Example...

[Hello] [5]
[bye] [3]
[hello again] [5]
etc...

Final output is "Hello, hello again"
 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      27th Dec 2006
See the MaxOfList() function at:
http://allenbrowne.com/func-09.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"LightShow" <(E-Mail Removed)> wrote in message
news:6CBD6ECA-B118-43E9-B119-(E-Mail Removed)...
> I have 6 fields on a form that uses DLOOKUP from qry to gather the highest
> number within a qry (second field in below example). I need to compare
> the
> 6 fields to find the highest number then display information from all
> related
> fields that equal that number (display first section in below example).
> Example...
>
> [Hello] [5]
> [bye] [3]
> [hello again] [5]
> etc...
>
> Final output is "Hello, hello again"


 
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
Compare fields =?Utf-8?B?RGF2ZVVL?= Microsoft Access VBA Modules 1 7th Jun 2006 12:01 PM
compare two fields =?Utf-8?B?UmF5IE1lYWQ=?= Microsoft Access VBA Modules 1 17th Jun 2005 09:22 PM
compare fields =?Utf-8?B?YWxhdmF6MTc=?= Microsoft Access Queries 4 15th Jun 2005 05:21 PM
Compare fields David F-B Microsoft Access 4 28th Apr 2004 08:01 PM
Compare 2 fields and then ouput 1 of 2 fields Steve Microsoft Access Queries 2 22nd Nov 2003 03:51 AM


Features
 

Advertising
 

Newsgroups
 


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