Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 7041 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi all friends

this problem is related with the trick to change tab of a "Tab Control".

I wish to have two fields, both editable, exactly the same(as if the field was duplicated), but with different names.

It seems simple...

With 7/8 you can define a field as an autoenter calc replace existing value;

so I thought to solve with:

Field1 : autoenter Field2

and

Field2: autoenter Field1

but this didn't work (or worked partially).

Any other attempt to solve was without resolution.

(and I'm trying from two days)

Has someone any ideas ?

Posted

One method is to check if the other field is active and then copy its contents

Field1 Auto-enter, replace

If(Get(ActiveFieldName) = "Field2";Field2;Field1)

and for Field2 the same but with 1 and 2 switched

If(Get(ActiveFieldName) = "Field1";Field1;Field2)

Posted

Hi Jim,

Have you tested this? I haven't found it to be consistent. It seems that Get(Active...) can't respond within an Auto-Enter (Replace) calculation (or any calculation?) but I might be wrong; I frequently am. :wink2:

LaRetta

Posted

LaRetta

I have tested this in my own circumstances (single user not networked) and it works fine. I use it for modiying (and entering) net tax and gross calculations. I posted a tip about this a while back:

http://fmforums.com/forum/showtopic.php?tid/169064/post/172567/hl//#172567

and as it says there I first saw it in a conversion calculation by Queue.

This topic is 7041 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.