Hi all,
I’m learning to use Vw spotlight and I would like to create, in a datasheet, a column that divides the number of objects (COUNT) and a number contained in a user field.
If I insert this function "=INT(COUNT)/VALUE('Lighting Device'. 'User Field 1')" in the line I get the right result, but if I try to round up the result "= ROUNDUP (INT (COUNT) / VALUE ('Lighting Device'. 'User Field 1'), 0)" the function doesn't work, I also tried alternative rounding methods but without success.
I tried to write some scripts, but I can't find sufficient examples or explanations, what I need is to read the quantity of objects (same light device) and divide them using the number in user field 1, and then return the result in the subrow corresponding in datasheet.
I wrote a script that counts the subrows, reads the contents of each subrow with the COUNT, divides it by the number of the subrow corresponding to the user field, rounds it and gives me the result as a popup, I have not found a function that allows me to write in a subrow.
can anyone help me? maybe referring me to the resources where I can understand how to do it.