dbTalk Databases Forums  

Sort Order

comp.databases.filemaker comp.databases.filemaker


Discuss Sort Order in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Old Foggy
 
Posts: n/a

Default Sort Order - 12-29-2006 , 02:21 PM






Using FM 7.0v3
How can I sort records alphabeticly but have blank fields listed last

Gus



Reply With Quote
  #2  
Old   
Helpful Harry
 
Posts: n/a

Default Re: Sort Order - 12-29-2006 , 03:50 PM






In article <dsWdnd_qO8hM5QjYnZ2dnUVZ_h2pnZ2d (AT) adelphia (DOT) com>, "Old Foggy"
<OldFoggy (AT) Foggy (DOT) com> wrote:

Quote:
Using FM 7.0v3
How can I sort records alphabeticly but have blank fields listed last
The easiest way would be to create a new Calculation field that copies
the original field's value or if the original field is blank uses
something that will alway gets sorted to the end.
eg.

SortField = If (IsEmpty(OriginalField),
"zzzzzzzzz",
OriginalField)

Use this field just for sorting the records, but use the OriginalField
whenever you need to display, print and change the data.


Helpful Harry
Hopefully helping harassed humans happily handle handiwork hardships ;o)


Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.