Link project to itself and Dynamic Data Attachments

in this video

show you How to Setup Dynamic Data Attachments from 2 projects (parent and child)
so if you put ID NB it will pull all the data from parent project

and in this article

show how to link a project to itself…

so on my form that i build base on the video above how can i link the project to itself and know by the ID Nb whether this ID number has already filled out the survey previously? And if so… how does the model fill itself with previous data?

@salaheddinieyyubi, you should be able to use the XLSForm that has been shared in our previous post to link a project to itself: