Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.

Initiale value in the same form

Hello guys, 


I have table 1 with a column name and a column value. 

In the seconde table i have a name (ref colum) and an empty space. 

Nog when i start with a form in the seconde table and i give the ref name a value, the value that is connected to the same name in column 1 needs to be given. 

BUT: I also needs te be replaceble? or leaved empty when there is nog value.


I started with an ANY(SELECT(.... but when i put it in the INITIAL VALUE -> It doesn't return a value.. Is this beacuse i'm already in the form and an INITIAL VALUE needs to be predicted before i open the form? 

is INITIAL VALUE not the richt column to fill in? 
When i choose -> FORMULA it isn't editable anymore.. 

Can somebody help me with this? 

Solved Solved
0 4 150
1 ACCEPTED SOLUTION

@Hinse_Wouters 

I was wrong here 


Again as you have already guessed, the initial value is determined when you open a form to add a row and in this case, a value cannot be proposed based on the value of the Nummerplaten which is not determined initially.

You can set an expression in the initial value and extract a value based on the selection of another field. You can choose to accept the proposed value or change it including deleting it.

The expression I used in the below snippet is 

[numberplate].[driver]

where numberplate is a ref col to the ref col in numberplates table where there is a col - driver.

TeeSee1_0-1643970801567.png

 

TeeSee1_1-1643970823716.png

Will this help?

View solution in original post

4 REPLIES 4
Top Labels in this Space