October 19, 200520 yr 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 ?
October 20, 200520 yr 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)
October 20, 200520 yr 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. LaRetta
October 20, 200520 yr Author Hi, SlimJim many, many thanks...that works ! (if I think to the so much time vasted, I'll become mad !)
October 20, 200520 yr 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.
Create an account or sign in to comment