Hi,
I would like to create a 'Form' from a BLANK new screen in PowerApps. (Attached the settings)
When I preview the app, it shows "No item to display"
Any idea?
Thanks in advance
Sam
Hi @Tan_Jia_Ying ,
The item needs to be an item that can be found in the datasource specified in the form source property.
lastsubmit is a function output, but is not necessarily tied to the source, even though it's a 'copy' of the data submitted - perhaps try change it to
Lookup(FormSource, ID=EditForm1.LastSubmit.ID)
or some other primary key identifier of the record if "ID" isn't relevant to your source.
Kind regards,
RT
The Item: property of the form - the formula I entered is "EditForm1.LastSubmit", but the result is "no item to display"
Hi @Tan_Jia_Ying ,
Check the Item: property of the form - if the formula you have there results in a blank result, then the form will show this message.
Kind regards,
RT
How about "no item display" in display form? What the solution for it?
Life Saver
Hi @samsam ,
The Form is usually in Edit mode by default, and Edit mode requires an item to edit - without it, you get this message and a blank form.
Try changing the mode of the form to New - you can do this either by setting the Default mode of the form to FormMode.New or, if you're using a button or navigation from somewhere else to get here, add NewForm(FormName) to the expression to put the form into New mode.
If you just want to test, put a button on the screen and set it's OnSelect: property to
NewForm(FormName)
where FormName is the name of your form, and hopefully you should see what I mean.
Hope this helps,
RT
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional