Forum Discussion
QuickBaseCoachD
9 years agoQrew Captain
Thete us a simple way and a more complicated way.
The simple way,especially if there are no other relationships involving the Employee master table is to change the Key field of the employee master table to the userid.
Note that you may want to Copy your app to try this first.
Then, on your jobs table, you can have a formula field called [Current User] with a formula of User()
Lastly a form rule that says
When the field related armployee is blank change the related employee field to be the value in the field Current User.
Note that the field that the form rule is acting on will be the field which is used in the relationship to the employer table.
The simple way,especially if there are no other relationships involving the Employee master table is to change the Key field of the employee master table to the userid.
Note that you may want to Copy your app to try this first.
Then, on your jobs table, you can have a formula field called [Current User] with a formula of User()
Lastly a form rule that says
When the field related armployee is blank change the related employee field to be the value in the field Current User.
Note that the field that the form rule is acting on will be the field which is used in the relationship to the employer table.
- ShihadShihad9 years agoQrew CadetHi ..i am trying this solution. For that i created a current user formula field in employee job form. Then created a relationship between tables. But i couldnt create the form rule properly. can u make it more clear?
Or any other way without using relationship. or using javascript ? - QuickBaseCoachD9 years agoQrew CaptainI'm not sure how else to say the form rule
Condition:
When the field related armployee is blank
Action:
change the related employee field to be the value in the field Current User. - ShihadShihad9 years agoQrew CadetThanks
But the issue is,
i saved one record in employee job. Then, another user logged in ,that time the already saved record is showing in his name. - MCFNeil9 years agoQrew CaptainMake the form rule that is making the change have another condition. Where it doesn't fire when the field is already filled out.
You might take a look at your process a little, because this all seems a little sideways. But we are only getting a small portion of the real question.