Click here to Skip to main content
15,921,351 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
I am currently working in a supermarket project and I have a problem that there is a form that requires entering data from a user that must appear only once in the life of the application and I did not know how to do this...

Can anyone point me directions on how accomplish these tasks?

Thank you very much.

What I have tried:

the problem is this form appear all time the user open the application
Posted
Updated 26-Mar-21 0:21am
Comments
OriginalGriff 25-Mar-21 18:24pm    
You are going to have to be a lot more specific about exactly what you are trying to do: remember that we can't see your screen, access your HDD, or read your mind - we only get exactly what you type to work with.
So we have no idea how you are opening the form(s), what code you are using, or when you do it.

Use the "Improve question" widget to edit your question and provide better information.

Quote:
the problem is this form appear all time the user open the application

Rather easy, you need to remember the fact that the form have been opened already.
And you need to store this fact in a permanent storage that will persist for the whole life of the app.
 
Share this answer
 
You may check for the record or values of record in storage (database or whatever you used to store the inputs from user). If it is default then Show the form.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900