Hello FM Mavens,
I am likely missing something.
I have a script step that calculates the dimensions of an image in a container field. There are many such fields so the script should work with any arbitrary one.
I get the name of the field by using script parameter Get(ActiveFieldName).
Let's say I have a container field "cont1". The script is triggered by entering the field.
I am trying to calculate the height of the image by using
GetContainerAttribute (Get ( LayoutTableName ) & "::" & Get ( ScriptParameter ); "height" ) The results are question marks - I am not sure why. If I explicitly identify the fields then the expression works.
Tried the same expression (Get ( LayoutTableName ) & "::" & Get ( ScriptParameter )) in the script step "Set Field by Name" and it worked, which means that the expression correctly identifies the field the script is attached to. Then why is it not getting it the first step? What's wrong with the calculation? (FM17)
(I hope I posted it in the correct section)
Hi, I am using this calculation in portal which calculates days in portal Date - (GetNthRecord ( Date ; Get ( RecordNumber ) - 1 ) )
how can i modify or do something else to avoid (?) in the first row. Sample file attached for any modification/help.
Thanks for any help
Could someone help me with this question?
I have a row in a portal in wich i would like to make a calculation: Bedrag= Cases*Prijs, but if Hoeveelheid is filled in then it should calculate Bedrag= Hoeveelheid*Prijs.
The fields are all numeric. The calculation should be possible on one row, in this example i have made it on two.
Help Please, I am trying to figure out how to extract field contents via a calculation as follows:
My lookup field is ABCDEFG-01-12345.jpg
I want to automaticaly extract only 12345 to be placed into another field? I tried the Calculation Right ( Sorce field; 5 ) but that returns me 5.jpg
any adivise is most welcome.
So there's probably something simple, but do you guys know of a way to automate dates from one record to the next? Each record date needs to be seven days after the previous one, and I'd like for my client not to have to enter it manually. I tried doing
Let ( Today = ( ReleaseDate ) ;
Date ( Month ( Today ) ; Day ( Today ) + 7 ; Year ( Today ) )
and some others, but none appear to automatically fill in. Help!
Who Viewed the Topic