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

Mc MacH Mach chesnuts

 
   Database Forums (Home) -> FileMaker RSS
Next:  SQL server 2000 and Access project  
Author Message
Chris Brown

External


Since: Jun 23, 2003
Posts: 107



(Msg. 1) Posted: Wed Dec 03, 2008 7:26 pm
Post subject: Mc MacH Mach chesnuts
Archived from groups: comp>databases>filemaker (more info?)

Hi,

moving on from simple proper based calcs, and having implemented
SmarterProper, the problem still remains of how to handle:

MacSomething and Machinski

Anyone ideas on how to deal with this, other than removing all auto
enter calc formatting?

 >> Stay informed about: Mc MacH Mach chesnuts 
Back to top
Login to vote
Grip

External


Since: Apr 17, 2007
Posts: 396



(Msg. 2) Posted: Wed Dec 03, 2008 7:26 pm
Post subject: Re: Mc MacH Mach chesnuts [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Dec 3, 5:16 pm, Chris Brown
wrote:
> Hi,
>
> moving on from simple proper based calcs, and having implemented
> SmarterProper, the problem still remains of how to handle:
>
> MacSomething and Machinski
>
> Anyone ideas on how to deal with this, other than removing all auto
> enter calc formatting?

I wouldn't use Proper() calcs for last names. There's no way for a
calculation to know how an person prefers to spell their last name.
Train and trust your data entry person and make sure there's a way to
correct errors.

G

 >> Stay informed about: Mc MacH Mach chesnuts 
Back to top
Login to vote
Lynn Allen

External


Since: Aug 13, 2007
Posts: 47



(Msg. 3) Posted: Wed Dec 03, 2008 8:35 pm
Post subject: Re: Mc MacH Mach chesnuts [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2008-12-03 19:23:34 -0800, Grip said:

> On Dec 3, 5:16 pm, Chris Brown
> wrote:
>> Hi,
>>
>> moving on from simple proper based calcs, and having implemented
>> SmarterProper, the problem still remains of how to handle:
>>
>> MacSomething and Machinski
>>
>> Anyone ideas on how to deal with this, other than removing all auto
>> enter calc formatting?

At some point human intelligence is the last resort. You could try
keeping a table of common "Mac" last names with appropriate
capitalization and flag the entries that dont' quite match, for human
intervention. But that's a big pain in the...

It becomes too unwieldy to keep the last name table, because you've got
O'Malley and Omar to worry about, Van De Voort and Vandevender, etc.

Best bet is to get a caring data entry person (hey some of us started
out that way) and/or to offer rewards for fewest mistakes.
--
Lynn Allen
--
www.semiotics.com
Member Filemaker Business Alliance
Long Beach, CA
 >> Stay informed about: Mc MacH Mach chesnuts 
Back to top
Login to vote
Hans Besjes

External


Since: Dec 01, 2008
Posts: 4



(Msg. 4) Posted: Wed Dec 03, 2008 9:25 pm
Post subject: Re: Mc MacH Mach chesnuts [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

And your question is what exactly?

Hans Besjes


On 12/04/2008 01:16:41 Chris Brown wrote:

> Hi,

> moving on from simple proper based calcs, and having implemented
> SmarterProper, the problem still remains of how to handle:

> MacSomething and Machinski

> Anyone ideas on how to deal with this, other than removing all auto enter
> calc formatting?
 >> Stay informed about: Mc MacH Mach chesnuts 
Back to top
Login to vote
Ursus

External


Since: May 26, 2008
Posts: 18



(Msg. 5) Posted: Thu Dec 04, 2008 4:25 pm
Post subject: Re: Mc MacH Mach chesnuts [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You can't. A machine can not know difference between MacIntosh and
Macintosh, which both a valid spellings. Rely on user input.

Keep well, ursus

"Chris Brown" schreef in bericht

> Hi,
>
> moving on from simple proper based calcs, and having implemented
> SmarterProper, the problem still remains of how to handle:
>
> MacSomething and Machinski
>
> Anyone ideas on how to deal with this, other than removing all auto enter
> calc formatting?
 >> Stay informed about: Mc MacH Mach chesnuts 
Back to top
Login to vote
Chris Brown

External


Since: Jun 23, 2003
Posts: 107



(Msg. 6) Posted: Thu Dec 04, 2008 6:25 pm
Post subject: Re: Mc MacH Mach chesnuts [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Chris Brown wrote:
> Hi,
>
> moving on from simple proper based calcs, and having implemented
> SmarterProper, the problem still remains of how to handle:
>
> MacSomething and Machinski
>
> Anyone ideas on how to deal with this, other than removing all auto
> enter calc formatting?


thanks to all.

As Lynn suggested human intelligence was what I was hoping for; but
applied after the initial auto enter result from a custom function.


Agree with Grip, a proper calc is never going to be right all the time;
but if the cf could enter an initial suggestion, with the field then
allowing the user to correct the auto entry; that would be ideal.


Lyn, as for the apostrophe , van etc variations, the SmarterProper cf
seems quite flexible.

I was expecting that using the cf as an aec , and checking 'do not
replace existing value if any' would allow:

typing in the name,
the cf then forces its format
with a now existing entry, the user can correct the capitalisation,
without the cf re-triggering.


But FM !

If there is no existing value, when the first entry is made, when does
FM think it is going to apply the aec other than the first entry? I have
been converting calcs to aec as a general approach in a number of
solution revisions for the last 12 months, though probably always
unchecking the do not replace . So I am familiar with aec, but this just
doesn't compute in the cortex at the moment.
 >> Stay informed about: Mc MacH Mach chesnuts 
Back to top
Login to vote
Grip

External


Since: Apr 17, 2007
Posts: 396



(Msg. 7) Posted: Thu Dec 04, 2008 6:25 pm
Post subject: Re: Mc MacH Mach chesnuts [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Dec 4, 3:21 pm, Chris Brown
wrote:
> I was expecting that using the cf as an aec , and checking 'do not
> replace existing value if any' would allow:
>
> typing in the name,
> the cf then forces its format
> with a now existing entry, the user can correct the capitalisation,
> without the cf re-triggering.
>
> But FM !
>
> If there is no existing value, when the first entry is made, when does
> FM think it is going to apply the aec other than the first entry? I have
>   been converting calcs to aec as a general approach in a number of
> solution revisions for the last 12 months, though probably always
> unchecking the do not replace . So I am familiar with aec, but this just
> doesn't compute in the cortex at the moment.

FM has two options for auto-enter calcs...replace existing values or
not. That means the calc is evaluated at either record creation,
which is pretty helpful, or whenever any of the stored referenced
fields in the calc (including the field itself) are modified which is
also pretty helpful.

It sounds like what you're looking for is a way of having the calc
trigger when the field is modified the first time after record
creation. That can be done in a variety of ways.

One that comes to mind is to have a second field, Name Modified which
has the auto-enter Data checked and empty (for duplicating records)
and the auto enter calc box checked. That calc would be:
Let(
trigger = Name Field;
1)

Then the calc in the Name Field would be:
Case(not Name Modified ; SmartProper(Name Modified); Name Modified)

Both auto calcs should be unchecked to always replace.

On record creation, Name Modified would be null. When a name is put
in the Name field for the first time, it would enter the SmartProper()
result. That entry triggers the Name Modified calc which becomes 1
and suppresses the SmartProper() from occurring again.
 >> Stay informed about: Mc MacH Mach chesnuts 
Back to top
Login to vote
Chris Brown

External


Since: Jun 23, 2003
Posts: 107



(Msg. 8) Posted: Sun Dec 07, 2008 9:26 pm
Post subject: Re: Mc MacH Mach chesnuts [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

HiGrip,


thanks;



Grip wrote:

>
> It sounds like what you're looking for is a way of having the calc
> trigger when the field is modified the first time after record
> creation. That can be done in a variety of ways.

yes, that's what I was after. Should have occured to me to use a control
field


>
> One that comes to mind is to have a second field, Name Modified which
> has the auto-enter Data checked and empty (for duplicating records)
> and the auto enter calc box checked. That calc would be:
> Let(
> trigger = Name Field;
> 1)
>
> Then the calc in the Name Field would be:
> Case(not Name Modified ; SmartProper(Name Modified); Name Modified)
>
> Both auto calcs should be unchecked to always replace.
>
> On record creation, Name Modified would be null. When a name is put
> in the Name field for the first time, it would enter the SmartProper()
> result. That entry triggers the Name Modified calc which becomes 1
> and suppresses the SmartProper() from occurring again.


My result
entry field: LastNameSP
control field: LNMmod

LastNameSP aec, allow replace existing:
If(
LNmod = 1; NameLastSP;
SmarterProper ( NameLastSP ; 2 ; "" ; "Mc" & "¶" & "Mac" )
)


LNMmod, aec, allow replace existing:
If( IsEmpty(NameLastSP) ; "" ; 1)




thanks

Chris
 >> Stay informed about: Mc MacH Mach chesnuts 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
How to set up Filemaker to avoid decreasing of speed - Please if somebody can help me! I have database of 1.6 mil subscribers (cca. 1.2 Gb, 60 fields, FileMaker Developer 7) - where I want to put average amounts (of 7 different revenue types) from 6 different databases (each database has monthly revenues). ...

File extension to force Tab-Delimited Text Import? - Has anyone found a way to force FileMaker 7 Server to use "Tab Delimited Text" as the import type in a scripted import? It seems that the file type is not remembered as part of the import step. I'm importing fixed-field data in to a text fie...

Fastest way to make related records? - I'm using FM server 7. I have a table that has 25,000 records in it, and I need to make related records in a join table. The two tables are related by a two-field match (ID and Date). I've come up with several ways to do it, but none of them work....

Identifying Connected Users in FMP7 - Hi All, I am using a small network of FMP7 users connected in a PTP network. I want to see the User Names connected to the database at any time. I can find no script or function to do this - the only way I can do this as the File Host, is to "attem...

Unique Field Validation in FMP7 - Hi All, I have a need to test a field at entry time to check if it is Unique. I know there is a standard Unique checkbox in Field Validation, but I want to validate for uniqueness using the Calculate box because I want the uniqueness tested only under...
   Database Forums (Home) -> FileMaker All times are: Pacific Time (US & Canada)
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 ]