dbTalk Databases Forums  

ASCIIng for help again

comp.databases.filemaker comp.databases.filemaker


Discuss ASCIIng for help again in the comp.databases.filemaker forum.



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

Default ASCIIng for help again - 06-02-2007 , 03:55 AM






Hi all (and with thanks to those who offered me solutions for my recent
ASCII question which I haven't had time to sort out yet) I'd like to
pose the far simpler question:

How can I persuade FileMaker (in a script) to differentiate between 'a'
and 'A'?

e.g.

Case ( field = "a" ; "that's a lower case a" ; field = "A" ; "that's a
capital A" ; "that's neither" )

FileMaker (8.0v1) does this:

"a" gets "that's a lower case a"
and
"A" gets "that's a lower case a"
whereas
"b" gets "that's neither"

I'm sure there must be a way ... and it doesn't seem much to ask!


Emma

Reply With Quote
  #2  
Old   
Sargasso
 
Posts: n/a

Default Re: ASCIIng for help again - 06-02-2007 , 05:08 AM






Emma Grey <gone (AT) way (DOT) far> wrote:
Quote:
Hi all (and with thanks to those who offered me solutions for my recent
ASCII question which I haven't had time to sort out yet) I'd like to
pose the far simpler question:

How can I persuade FileMaker (in a script) to differentiate between 'a'
and 'A'?

e.g.

Case ( field = "a" ; "that's a lower case a" ; field = "A" ; "that's a
capital A" ; "that's neither" )

FileMaker (8.0v1) does this:

"a" gets "that's a lower case a"
and
"A" gets "that's a lower case a"
whereas
"b" gets "that's neither"

I'm sure there must be a way ... and it doesn't seem much to ask!


Emma
There is a function for that: Exact ()

BTW ã and ä and à are also considered A's



Reply With Quote
  #3  
Old   
Emma Grey
 
Posts: n/a

Default Re: ASCIIng for help again - 06-02-2007 , 10:15 AM



In article <46614182$0$299$dbd4d001 (AT) news (DOT) wanadoo.nl>, Sargasso
<no.way (AT) ho (DOT) se> wrote:

Quote:
Emma Grey <gone (AT) way (DOT) far> wrote:
Hi all (and with thanks to those who offered me solutions for my recent
ASCII question which I haven't had time to sort out yet) I'd like to
pose the far simpler question:

How can I persuade FileMaker (in a script) to differentiate between 'a'
and 'A'?

e.g.

Case ( field = "a" ; "that's a lower case a" ; field = "A" ; "that's a
capital A" ; "that's neither" )

FileMaker (8.0v1) does this:

"a" gets "that's a lower case a"
and
"A" gets "that's a lower case a"
whereas
"b" gets "that's neither"

I'm sure there must be a way ... and it doesn't seem much to ask!


Emma

There is a function for that: Exact ()


Yes, I did come across that funtion, but it seemed to be about
COMPARING two sets of text. Could I ask how would I use it to modify
this below so it works?

A script for a calculation field that converts into ASCII numbers

Case (inputfield = "a" ; "097" ; inputfield = "A" ; "065" ; "n/a")

Sorry if I'm being dense; maybe I should buy that "Missing Manual"
book. I used to work with FileMaker extensively some years ago, and
could get it to do anything I wanted - but that was v.5.

These days it leaves me way behind.

Thanks for your patience.

Emma


Reply With Quote
  #4  
Old   
Howard Schlossberg
 
Posts: n/a

Default Re: ASCIIng for help again - 06-02-2007 , 12:09 PM



Case (
exact("a"; field); "that's a lower case a" ;
exact("A"; field); "that's a capital A" ;
"that's neither" )


Emma Grey wrote:
Quote:
In article <46614182$0$299$dbd4d001 (AT) news (DOT) wanadoo.nl>, Sargasso
no.way (AT) ho (DOT) se> wrote:

Emma Grey <gone (AT) way (DOT) far> wrote:
Hi all (and with thanks to those who offered me solutions for my recent
ASCII question which I haven't had time to sort out yet) I'd like to
pose the far simpler question:

How can I persuade FileMaker (in a script) to differentiate between 'a'
and 'A'?

e.g.

Case ( field = "a" ; "that's a lower case a" ; field = "A" ; "that's a
capital A" ; "that's neither" )

FileMaker (8.0v1) does this:

"a" gets "that's a lower case a"
and
"A" gets "that's a lower case a"
whereas
"b" gets "that's neither"

I'm sure there must be a way ... and it doesn't seem much to ask!


Emma
There is a function for that: Exact ()



Yes, I did come across that funtion, but it seemed to be about
COMPARING two sets of text. Could I ask how would I use it to modify
this below so it works?

A script for a calculation field that converts into ASCII numbers

Case (inputfield = "a" ; "097" ; inputfield = "A" ; "065" ; "n/a")

Sorry if I'm being dense; maybe I should buy that "Missing Manual"
book. I used to work with FileMaker extensively some years ago, and
could get it to do anything I wanted - but that was v.5.

These days it leaves me way behind.

Thanks for your patience.

Reply With Quote
  #5  
Old   
Sargasso
 
Posts: n/a

Default Re: ASCIIng for help again - 06-02-2007 , 12:34 PM



Emma Grey <gone (AT) way (DOT) far> wrote:
Quote:
In article <46614182$0$299$dbd4d001 (AT) news (DOT) wanadoo.nl>, Sargasso
no.way (AT) ho (DOT) se> wrote:

Emma Grey <gone (AT) way (DOT) far> wrote:
Hi all (and with thanks to those who offered me solutions for my recent
ASCII question which I haven't had time to sort out yet) I'd like to
pose the far simpler question:

How can I persuade FileMaker (in a script) to differentiate between 'a'
and 'A'?

e.g.

Case ( field = "a" ; "that's a lower case a" ; field = "A" ; "that's a
capital A" ; "that's neither" )

FileMaker (8.0v1) does this:

"a" gets "that's a lower case a"
and
"A" gets "that's a lower case a"
whereas
"b" gets "that's neither"

I'm sure there must be a way ... and it doesn't seem much to ask!


Emma

There is a function for that: Exact ()



Yes, I did come across that funtion, but it seemed to be about
COMPARING two sets of text. Could I ask how would I use it to modify
this below so it works?

A script for a calculation field that converts into ASCII numbers

Case (inputfield = "a" ; "097" ; inputfield = "A" ; "065" ; "n/a")

Sorry if I'm being dense; maybe I should buy that "Missing Manual"
book. I used to work with FileMaker extensively some years ago, and
could get it to do anything I wanted - but that was v.5.

These days it leaves me way behind.

Thanks for your patience.

Emma
Case ( Exact ( inputfield ; "a" ) ; "097" ; Exact ( inputfield ; "A" ) ; "065"
; "n/a" )




Reply With Quote
  #6  
Old   
Emma Grey
 
Posts: n/a

Default Re: ASCIIng for help again - 06-03-2007 , 02:23 AM



In article <4661aa1e$0$5478$dbd4f001 (AT) news (DOT) wanadoo.nl>, Sargasso
<no.way (AT) ho (DOT) se> wrote:

Quote:
Emma Grey <gone (AT) way (DOT) far> wrote:
In article <46614182$0$299$dbd4d001 (AT) news (DOT) wanadoo.nl>, Sargasso
no.way (AT) ho (DOT) se> wrote:

Emma Grey <gone (AT) way (DOT) far> wrote:
Hi all (and with thanks to those who offered me solutions for my recent
ASCII question which I haven't had time to sort out yet) I'd like to
pose the far simpler question:

How can I persuade FileMaker (in a script) to differentiate between 'a'
and 'A'?

e.g.

Case ( field = "a" ; "that's a lower case a" ; field = "A" ; "that's a
capital A" ; "that's neither" )

FileMaker (8.0v1) does this:

"a" gets "that's a lower case a"
and
"A" gets "that's a lower case a"
whereas
"b" gets "that's neither"

I'm sure there must be a way ... and it doesn't seem much to ask!


Emma

There is a function for that: Exact ()



Yes, I did come across that funtion, but it seemed to be about
COMPARING two sets of text. Could I ask how would I use it to modify
this below so it works?

A script for a calculation field that converts into ASCII numbers

Case (inputfield = "a" ; "097" ; inputfield = "A" ; "065" ; "n/a")

Sorry if I'm being dense; maybe I should buy that "Missing Manual"
book. I used to work with FileMaker extensively some years ago, and
could get it to do anything I wanted - but that was v.5.

These days it leaves me way behind.

Thanks for your patience.

Emma

Case ( Exact ( inputfield ; "a" ) ; "097" ; Exact ( inputfield ; "A" ) ; "065"
; "n/a" )


Excellent, thanks Sargasso

Emma


Reply With Quote
  #7  
Old   
Emma Grey
 
Posts: n/a

Default Re: ASCIIng for help again - 06-03-2007 , 03:34 AM



In article <136393bbq2hjl61 (AT) corp (DOT) supernews.com>, Howard Schlossberg
<howard (AT) nospam (DOT) fmprosolutions.com> wrote:

Quote:
Case (
exact("a"; field); "that's a lower case a" ;
exact("A"; field); "that's a capital A" ;
"that's neither" )



Aaah! thanks Howard for helping me out here.

Emma


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.