I want to save the user time when filling out my form so Im trying to store their choices in a datasource. When the app opens it grabs the currentuser and pulls their record in this datasource into a hidden form in the app. I then want the default values for certain fields to be the values in the stored record for the current user.
Example:
First form the user sees is a dropdown (called "Letters") with these possible values: A, B, C, D The last time the current user was in the app they selected D.
When the app opens it grabs the users record from my datasource and puts their Full Name and their last choice for the field Letters.
I want the default value for Letters on the first form to be "D"
I can pull in the record into my hidden form no problem with Lookup() but I cannot figure out how to set the default value of the dropdown to be D.
I have tried
- setting it to the Update value of the DataCard 'Letters'
- DataCardValue118.Text
- A Lookup direct from the datasource
All give the same error in the default property Im setting:
"The property expects record values, but theis rule produces incompatible text values"
Any ideas?