Welcome to dbFreaks.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Changing Default Field List in Sort Dialog

 
   Database Help (Home) -> FileMaker RSS
Next:  Input error on Data Entry in a related window  
Author Message
jahn

External


Since: Apr 14, 2008
Posts: 24



(Msg. 1) Posted: Mon Apr 14, 2008 8:35 pm
Post subject: Changing Default Field List in Sort Dialog
Archived from groups: comp>databases>filemaker (more info?)

Hello -

I'm wondering if anyone has a solution to the way the sort dialog
opens when users choose Sort Records... (this is FM 9, Mac &
Windows). The dialog that opens appears to always default to the
Current Layout set of fields rather than Current Table, whereas the
Current Table field set would be much better for my users (organized
according to function with specific sort fields at the top).

I know I can script the sort function using custom menus etc. to
always open with a specific set of fields on the right-hand side, but
that can be frustrating for users who do a custom sort, realize they
wanted it done slightly different and reopen the sort dialog only to
find all the fields they'd dragged over to the right-hand box have
reverted to the scripted default. Is there a simple work-around so
Current Table always shows in the left-hand box? Any suggestion would
be great.

Thanks.

-Jahn

 >> Stay informed about: Changing Default Field List in Sort Dialog 
Back to top
Login to vote
E W P Appeldoorn

External


Since: Apr 15, 2008
Posts: 4



(Msg. 2) Posted: Tue Apr 15, 2008 12:51 pm
Post subject: Re: Changing Default Field List in Sort Dialog [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"jahn" <jahnbigbooty.RemoveThis@yahoo.com> schreef in bericht
news:39c11119-e9c6-4816-afd2-4bffbf655108@y18g2000pre.googlegroups.com...
> Hello -
>
> I'm wondering if anyone has a solution to the way the sort dialog
> opens when users choose Sort Records... (this is FM 9, Mac &
> Windows). The dialog that opens appears to always default to the
> Current Layout set of fields rather than Current Table, whereas the
> Current Table field set would be much better for my users (organized
> according to function with specific sort fields at the top).
>
> I know I can script the sort function using custom menus etc. to
> always open with a specific set of fields on the right-hand side, but
> that can be frustrating for users who do a custom sort, realize they
> wanted it done slightly different and reopen the sort dialog only to
> find all the fields they'd dragged over to the right-hand box have
> reverted to the scripted default. Is there a simple work-around so
> Current Table always shows in the left-hand box? Any suggestion would
> be great.
>
> Thanks.
>
> -Jahn

Jahn,

Create a script that does the sorting. Specify the sort order, don't tick
the 'perform without dialog' box. This defaults to current table, or can be
made to default to any layout you might need.
Disable the sort from the menu with a custom menu, so your users can't use
that any more. Then make a button on your layout-that fires the script. If
you only need onbe table to be referenced you could also re-route the ctrl-s
with a custom menu, so ctrl-s will trigger your script instead of the
standard sort.. If your are a bit into scripting you could make it so that
ctrl-s always fires a main script, which then branches out for each table
you need.

something like:

if current layout is A
do this sort
if current layout is B
do that sort
etc
end if

Remember to NEVER work on your original menu-set, but always start out with
making a copy and working on that. If you screw up using the original set
you might loose access to you file.

Keep well, Ursus

 >> Stay informed about: Changing Default Field List in Sort Dialog 
Back to top
Login to vote
jahn

External


Since: Apr 14, 2008
Posts: 24



(Msg. 3) Posted: Tue Apr 15, 2008 5:04 pm
Post subject: Re: Changing Default Field List in Sort Dialog [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Apr 15, 12:51 am, "E W P Appeldoorn" <ursus.k....TakeThisOut@orange.nl> wrote:

> Create a script that does the sorting. Specify the sort order, don't tick
> the 'perform without dialog' box. This defaults to current table, or can be
> made to default to any layout you might need.

Hi, Ursus -

Thanks for answering. The thing is, if I specify a sort order in a
script, then any time a user tries to sort (whether through custom
menu or button), my specified order overwrites any sort order he might
have used previously.

For example, let's say he opens the database; decides to sort by last
name, company, zip code; goes through the steps of moving those fields
from one side of the sort dialog to another; and sorts. Then he
realizes he actually wants to sort by last name, company, state
(instead of zip), and reopens the sort dialog (custom menu or
button). What does he find? The sort order I specified in my script
instead of the one he just used, so instead of just changing one field
(or more if it's a more complicated sort), he has to clear all fields
that I specified, find each field in the list, move them over again,
etc. In other words, instead of being able to use the sort dialog the
way we do in an unscripted sort -- building progressively on what he's
done before -- his work gets erased each time and replaced with the
specified script.

Instead, I'd simply like it so the left-hand side of the sort dialog
defaults to Current Table, where you'll see a beautiful list of user
fields organized by function in plain English, with all the developer
fields way down below where it doesn't confuse him. Isn't there a way
to do this? Or does FileMaker always default to Current Layout with
no way to specify default to Current Table -- except by overwriting
the user's previous work?

Let me know what you think.

Best,
Jahn
 >> Stay informed about: Changing Default Field List in Sort Dialog 
Back to top
Login to vote
Howard Schlossberg

External


Since: Jan 12, 2008
Posts: 47



(Msg. 4) Posted: Tue Apr 15, 2008 6:06 pm
Post subject: Re: Changing Default Field List in Sort Dialog [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If you've put your files on a server or other host machine, then the
default sort order on those files will be the last sort you did on those
files before opening them on the server or host.

jahn wrote:
> On Apr 15, 12:51 am, "E W P Appeldoorn" <ursus.k... DeleteThis @orange.nl> wrote:
>
>> Create a script that does the sorting. Specify the sort order, don't tick
>> the 'perform without dialog' box. This defaults to current table, or can be
>> made to default to any layout you might need.
>
> Hi, Ursus -
>
> Thanks for answering. The thing is, if I specify a sort order in a
> script, then any time a user tries to sort (whether through custom
> menu or button), my specified order overwrites any sort order he might
> have used previously.
>
> For example, let's say he opens the database; decides to sort by last
> name, company, zip code; goes through the steps of moving those fields
> from one side of the sort dialog to another; and sorts. Then he
> realizes he actually wants to sort by last name, company, state
> (instead of zip), and reopens the sort dialog (custom menu or
> button). What does he find? The sort order I specified in my script
> instead of the one he just used, so instead of just changing one field
> (or more if it's a more complicated sort), he has to clear all fields
> that I specified, find each field in the list, move them over again,
> etc. In other words, instead of being able to use the sort dialog the
> way we do in an unscripted sort -- building progressively on what he's
> done before -- his work gets erased each time and replaced with the
> specified script.
>
> Instead, I'd simply like it so the left-hand side of the sort dialog
> defaults to Current Table, where you'll see a beautiful list of user
> fields organized by function in plain English, with all the developer
> fields way down below where it doesn't confuse him. Isn't there a way
> to do this? Or does FileMaker always default to Current Layout with
> no way to specify default to Current Table -- except by overwriting
> the user's previous work?
>
> Let me know what you think.
>
> Best,
> Jahn

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Howard Schlossberg
FM Professional Solutions, Inc. Los Angeles

FileMaker 8 Certified Developer
Member, FileMaker Business Alliance
 >> Stay informed about: Changing Default Field List in Sort Dialog 
Back to top
Login to vote
Ursus

External


Since: Apr 16, 2008
Posts: 93



(Msg. 5) Posted: Wed Apr 16, 2008 8:05 pm
Post subject: Re: Changing Default Field List in Sort Dialog [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"jahn" <jahnbigbooty.RemoveThis@yahoo.com> schreef in bericht
news:d63f5942-3f9e-430c-95fb-596cc707160d@k1g2000prb.googlegroups.com...
On Apr 15, 12:51 am, "E W P Appeldoorn" <ursus.k....RemoveThis@orange.nl> wrote:

> Create a script that does the sorting. Specify the sort order, don't tick
> the 'perform without dialog' box. This defaults to current table, or can
> be
> made to default to any layout you might need.

Hi, Ursus -

Thanks for answering. The thing is, if I specify a sort order in a
script, then any time a user tries to sort (whether through custom
menu or button), my specified order overwrites any sort order he might
have used previously.

For example, let's say he opens the database; decides to sort by last
name, company, zip code; goes through the steps of moving those fields
from one side of the sort dialog to another; and sorts. Then he
realizes he actually wants to sort by last name, company, state
(instead of zip), and reopens the sort dialog (custom menu or
button). What does he find? The sort order I specified in my script
instead of the one he just used, so instead of just changing one field
(or more if it's a more complicated sort), he has to clear all fields
that I specified, find each field in the list, move them over again,
etc. In other words, instead of being able to use the sort dialog the
way we do in an unscripted sort -- building progressively on what he's
done before -- his work gets erased each time and replaced with the
specified script.

Instead, I'd simply like it so the left-hand side of the sort dialog
defaults to Current Table, where you'll see a beautiful list of user
fields organized by function in plain English, with all the developer
fields way down below where it doesn't confuse him. Isn't there a way
to do this? Or does FileMaker always default to Current Layout with
no way to specify default to Current Table -- except by overwriting
the user's previous work?

Let me know what you think.

Best,
Jahn

Filemaker always replaces the stored sort with the current sort. Therefor if
you create a script and leave the perform without dialog unchjecked, the
script at least will open up with current table, But you will still see the
last stored sort. Sorting can (allas) not be defined by a calculated result,
so if you want various sorting abilities built in, you could all create them
as a script and let the user decide by clicking the right button. I don't
see any other way.

Keep well, Ursus
 >> Stay informed about: Changing Default Field List in Sort Dialog 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Values from second field in Value List - Suppose I have a database with 3 tables: Octagon, Points, and Segments. Inside the octagon, there are obviously points and segments; and a point can belong to many segments and a segment can have many points. Each segment has its own unique id and a..

Dialog Box - Hi, I've created a small script and attached it to a button. I would like to modify the script, so when it's executed, a dialog appeirs, confirming I'm sure the script will be executed... Something simple, with a cancel and ok button... Does anyone....

custom dialog and validation - RANT only. WinXp, FMP 9.1 adv Why should the scriptstep: Show Custom Dialog > Input Fields NOT keep itself to the validation for the input field? I can set a field that is validated to contain numbers only to anything I want without warning. So n...

Sort Question - The Wolf <elvisp@compuserve.com> wrote: <font color=purple> ;> How do you sort a name field by last name. The data is in one filed John</font> <font color=purple> ;> Smith</font> <font color=purple&...

conditional value list trouble - Hello, I am really stuck on this problem. Here is description of the system I am working on: Members get registered for Meetings. Meetings have related classes. Member registrations register for classes. Each Class has a badgecode that needs to appear...
   Database Help (Home) -> FileMaker All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]