Using MSSQL, I am trying to auto-generate the new ID for any record addition.
Using CRUD, I have generated the Add page which is fine. I have added a numeric field which returns the count of a related field in a different table (dropdown) and it works fine. That count is the one automatically generated for the paging of the dropdown. I get to see the correct value (using here ${getStatusesForStatusCount}).
@FredK_Trashmail
Should just work if you added the identity column to the database. Did you refresh the data via data, Infer Schema ensuring the ID is selected after updating the database?
Being a beginner under time constrain and not too advanced, I started again with Blazor where finding my way around is easier. Almost done by the way. I just pass the count+1 as a parmeter from the page to the dialog which encapsulates the Add Page.