Page 1 of 1

value from previous record in new record

Posted: Mon Jul 24, 2023 6:08 pm
by Markom

Hi,

I want to add the value of a previous record into a new record as a suggestion for the user. I created a view (with one record) to select the value, but when I use the select as field type the user has no option to overwrite. Any suggestion how to solve this?

Marko


Re: value from previous record in new record

Posted: Tue Jul 25, 2023 7:58 am
by MichaelG

You can use the AutoSuggest feature (Edit Tag is "TEXT") so the user can type in his own text. Read:
https://aspnetmaker.dev/docs/#/lookuptable.html


Re: value from previous record in new record

Posted: Tue Jul 25, 2023 4:54 pm
by Markom

Thanks for the answer.

I already tried this one, by linking to the table, but I don't get any default value showing. The table has 2 columns, one with the value to be suggested and one with an Id (always 1) and I use the Id to link the table to the field, and use 1 as default value. But in stead of the value to be suggetsed 1 is displeyed.

Markom


Re: value from previous record in new record

Posted: Tue Jul 25, 2023 5:02 pm
by Markom

OK, it works now, obviously overlooked one setting.