Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain dynamic defaults that refer to calculations #204

Open
MartijnR opened this issue Jun 24, 2020 · 0 comments
Open

Explain dynamic defaults that refer to calculations #204

MartijnR opened this issue Jun 24, 2020 · 0 comments

Comments

@MartijnR
Copy link
Contributor

MartijnR commented Jun 24, 2020

Based on some initial findings from a dynamic defaults tester.

Explain that this won't work:

type name label calculation default
decimal a   random() 
integer b Enter    ${a}

Because the default calculation takes place only once, and before the regular calculation. Regular calculations are still empty when dynamic defaults are calculated.

Solution is usually to move calculation also to default column if ${a} has to be re-used.

type name label calculation default
decimal a     random()
integer b Enter     ${a}

If {a} is not re-used, it could of course simply be:

type name label calculation default
integer b Enter     random()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant