Tab in calculation (Mac OS)

Tab in calculation (Mac OS)

am 08.04.2008 19:34:15 von borgobello-NO

Is there a way to type tabs in calculation definition felds, instead
type it in TextEdit (or other place) and cut & pasti it to FileMaker ?!
OK, a decent editor with parenthesis evidenced and highlited or colored
text with structured calculation can help too...

--
Per rispondere, togliere -NOSPAM- dall'indirizzo.

Re: Tab in calculation (Mac OS)

am 08.04.2008 20:36:21 von d-42

On Apr 8, 10:34 am, borgobello...@SPAM-alice.it (Aladino) wrote:
> Is there a way to type tabs in calculation definition felds, instead
> type it in TextEdit (or other place) and cut & pasti it to FileMaker ?!

Ctrl-Tab in Windows Option-Tab in OS X.
I assume you are using tabs to format things neatly?
I just use 2 spaces for each level of indendation, myself, as I find
the tabs too wide.

> OK, a decent editor with parenthesis evidenced and highlited or colored
> text with structured calculation can help too...

Yeah, that would be nice.

-Dave

Re: Tab in calculation (Mac OS)

am 09.04.2008 08:44:23 von Jens Teich

borgobello-NO@SPAM-alice.it (Aladino) writes:

> Is there a way to type tabs in calculation definition felds, instead
> type it in TextEdit (or other place) and cut & pasti it to FileMaker ?!
> OK, a decent editor with parenthesis evidenced and highlited or colored
> text with structured calculation can help too...

If you are working with FileMaker Advanced you can catch the Tab in a
Custom Function and use it easily in any calculation.

Jens

--
Free PlugIn for Regular Expressions with FileMaker:
http://jensteich.de/regex-plugin/

Re: Tab in calculation (Mac OS)

am 09.04.2008 10:56:38 von borgobello-NO

d-42 wrote:

> Option-Tab in OS X.
I don't know way, but it doesn't work on any of my computers (FileMaker
Advanced 8/9). I think that's so from using Mac OS X (if I'm not wrong,
tabs worked like you said until FileMaker on Classic).

--
Per rispondere, togliere -NOSPAM- dall'indirizzo.

Re: Tab in calculation (Mac OS)

am 09.04.2008 10:56:38 von borgobello-NO

Jens Teich wrote:

> If you are working with FileMaker Advanced you can catch the Tab in a
> Custom Function and use it easily in any calculation.

Or you don't understand wath I mean (probably my guilt for my little
english), or I don't understand wath you mean.
I want tab chars to format complex calculation, like this simple
example:

Case (
numero_richiedenti = 1; "dichiara";
numero_richiedenti > 1; "dichiarano";
"dichiara/dichiarano"
)

--
Per rispondere, togliere -NOSPAM- dall'indirizzo.

Re: Tab in calculation (Mac OS)

am 09.04.2008 11:06:05 von Jens Teich

borgobello-NO@SPAM-alice.it (Aladino) writes:

> Jens Teich wrote:
>
>> If you are working with FileMaker Advanced you can catch the Tab in a
>> Custom Function and use it easily in any calculation.
>
> Or you don't understand wath I mean (probably my guilt for my little
> english), or I don't understand wath you mean.
> I want tab chars to format complex calculation, like this simple
> example:
>
> Case (
> numero_richiedenti = 1; "dichiara";
> numero_richiedenti > 1; "dichiarano";
> "dichiara/dichiarano"
> )

Sorry my fault. I thought you wanted to have tabs in the output of calculations.

I don't know any way to achieve what you want except for copy and paste.

The suggested key combination with ALT key does work only while editing data
fields but not while editing calculations.

Jens



--
Free PlugIn for Regular Expressions with FileMaker:
http://jensteich.de/regex-plugin/

Re: Tab in calculation (Mac OS)

am 09.04.2008 17:35:14 von d-42

On Apr 9, 1:56 am, borgobello...@SPAM-alice.it (Aladino) wrote:
> d-42 wrote:
> > Option-Tab in OS X.
>
> I don't know way, but it doesn't work on any of my computers (FileMaker
> Advanced 8/9). I think that's so from using Mac OS X (if I'm not wrong,
> tabs worked like you said until FileMaker on Classic).

I've just verified that in Windows Ctrl-Tab works in FM9Advanced
editing calculations in the 'specify calculation dialog box' which is
used for:

defining the calculation for an autoenter calculation
defining the formula for a stored / unstored calculation
defining the calculation for "Validated by Calculation".
defining the 'calculated result' in a Set Field Script step
defining the 'calculated result' in a Set Variable Script step

which are the most common places complex calcs are entered...

I don't have a Mac handy to comment further there.

But like I said earlier, I don't use tabs anyway, I use '2 spaces' for
indent levels. I find that works better as the tabs are too wide for
my taste.

-regards,
Dave