dbTalk Databases Forums  

Sort fields that have data with underscores as part of name

comp.databases.filemaker comp.databases.filemaker


Discuss Sort fields that have data with underscores as part of name in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Teresa K.
 
Posts: n/a

Default Sort fields that have data with underscores as part of name - 10-21-2005 , 03:33 PM






Windows XP
FMPro: 6.0.x

This is a little related to my duplicate issue posted earlier today.
When sorting my files, I have software named modules that are both ada
and ada spec, and their filenames are listed as "filename.ada" or
"filename_.ada"

When I'm sorting files, it looks like filemaker pro doesn't know what
to do with a filename that has a "_." appended in it. When I look at
my portal (which is sorted by name), it does list things
alphabetically, however, if there are duplicates, it comes off as the
following when an "_." is there...

Example:

AAAA.ada
AAAA_.ada
AAAA.ada
AAAA_.ada
BBBB.txt
CCCC_111_DDD.doc
CCCC_111_EEE.doc

etc... etc...

How can I get my sort to look like the following:

AAAA.ada
AAAA.ada
AAAA_.ada
AAAA_.ada
BBBB.txt
CCCC_111_DDD.doc
CCCC_111_EEE.doc

Once this problem is solved, I think what I'm doing to remove
duplicates via the export technique will work. Thank you again for any
help on this matter!

- Teresa


Reply With Quote
  #2  
Old   
Remi-Noel Menegaux
 
Posts: n/a

Default Re: Sort fields that have data with underscores as part of name - 10-21-2005 , 03:48 PM






For sorting properly, you may create a new field "ZZ" =
Substitute(YourField, "_", "Z"), and sort by ZZ and no longer by
YourField. But of course you'll show YourField and not the ZZ.
Remi-Noel


"Teresa K." <teresa.kabourek (AT) ngc (DOT) com> a écrit ...
Quote:
Windows XP
FMPro: 6.0.x

This is a little related to my duplicate issue posted earlier today.
When sorting my files, I have software named modules that are both ada
and ada spec, and their filenames are listed as "filename.ada" or
"filename_.ada"

When I'm sorting files, it looks like filemaker pro doesn't know what
to do with a filename that has a "_." appended in it. When I look at
my portal (which is sorted by name), it does list things
alphabetically, however, if there are duplicates, it comes off as the
following when an "_." is there...

Example:

AAAA.ada
AAAA_.ada
AAAA.ada
AAAA_.ada
BBBB.txt
CCCC_111_DDD.doc
CCCC_111_EEE.doc

etc... etc...

How can I get my sort to look like the following:

AAAA.ada
AAAA.ada
AAAA_.ada
AAAA_.ada
BBBB.txt
CCCC_111_DDD.doc
CCCC_111_EEE.doc

Once this problem is solved, I think what I'm doing to remove
duplicates via the export technique will work. Thank you again for
any
help on this matter!

- Teresa




Reply With Quote
  #3  
Old   
42
 
Posts: n/a

Default Re: Sort fields that have data with underscores as part of name - 10-21-2005 , 04:19 PM



Or just set the sorting language to ASCII instead of english. English
ignores underscores, ASCII does not.

(one caveat with ASCII -- ASCII differentiates between "a" and "A". If
that's a problem I'd go with Remi-Noel's solution although i'd go about
it differently... i'd define the new field as Upper(yourfield), and do
the sort by ascii.

This is more generally robust than than only handling the underscore.

-regards,
Dave

In article <4359542f$0$2659$626a14ce (AT) news (DOT) free.fr>, rnmenegaux (AT) free (DOT) fr
says...
Quote:
For sorting properly, you may create a new field "ZZ" =
Substitute(YourField, "_", "Z"), and sort by ZZ and no longer by
YourField. But of course you'll show YourField and not the ZZ.
Remi-Noel


"Teresa K." <teresa.kabourek (AT) ngc (DOT) com> a écrit ...
Windows XP
FMPro: 6.0.x

This is a little related to my duplicate issue posted earlier today.
When sorting my files, I have software named modules that are both ada
and ada spec, and their filenames are listed as "filename.ada" or
"filename_.ada"

When I'm sorting files, it looks like filemaker pro doesn't know what
to do with a filename that has a "_." appended in it. When I look at
my portal (which is sorted by name), it does list things
alphabetically, however, if there are duplicates, it comes off as the
following when an "_." is there...

Example:

AAAA.ada
AAAA_.ada
AAAA.ada
AAAA_.ada
BBBB.txt
CCCC_111_DDD.doc
CCCC_111_EEE.doc

etc... etc...

How can I get my sort to look like the following:

AAAA.ada
AAAA.ada
AAAA_.ada
AAAA_.ada
BBBB.txt
CCCC_111_DDD.doc
CCCC_111_EEE.doc

Once this problem is solved, I think what I'm doing to remove
duplicates via the export technique will work. Thank you again for
any
help on this matter!

- Teresa





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.