PC Review


Reply
Thread Tools Rate Thread

Display records based on specific values

 
 
Ixtreme
Guest
Posts: n/a
 
      13th Aug 2010
I have a subform that displays transactions. Each transaction has at
least 4 parties: an originator (ORIG), a originator bank (SEND), a
beneficiary (BENE) and a beneficiary bank (RECV). I would like to have
each transaction being displayed just like the money flows: ORIG->SEND-
>RECV->BENE


What do I have to to have the transactions sorted based on this party
field?
 
Reply With Quote
 
 
 
 
Ken Snell
Guest
Posts: n/a
 
      13th Aug 2010
Add a calculated field to the query that provides the data for the subform:

SortField:
Switch(NameOfPartyField='ORIG',1,NameOfPartyField='SEND',2,NameOfPartyField='BENE',3,NameOfPartyField='RECV',4)

Now sort ascending on this new calculated field.

--

Ken Snell
http://www.accessmvp.com/KDSnell/


"Ixtreme" <(E-Mail Removed)> wrote in message
news:4244c8cc-77bd-4877-bce7-(E-Mail Removed)...
>I have a subform that displays transactions. Each transaction has at
> least 4 parties: an originator (ORIG), a originator bank (SEND), a
> beneficiary (BENE) and a beneficiary bank (RECV). I would like to have
> each transaction being displayed just like the money flows: ORIG->SEND-
>>RECV->BENE

>
> What do I have to to have the transactions sorted based on this party
> field?



 
Reply With Quote
 
Ixtreme
Guest
Posts: n/a
 
      16th Aug 2010
Thanks Ken! That did the trick.

Kind regards,

Mark
 
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
Display specific values in Dropdown2 based on selection in Dropdow sam Microsoft Excel Programming 4 15th Sep 2009 02:17 PM
Change specific records' values Matt P Microsoft Access Forms 1 16th Jul 2009 08:36 PM
DSUM specific records based on another field ageorgesonster@gmail.com Microsoft Access Queries 5 10th Nov 2006 05:19 PM
Filtering records in a query based on field values in adjacent records sdisalvo Microsoft Access 2 27th May 2006 12:31 AM
Total values for specific records =?Utf-8?B?RGF2aWQgRXdlcg==?= Microsoft Access Forms 1 11th Aug 2005 07:56 PM


Features
 

Advertising
 

Newsgroups
 


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