How to add records to data file and check login details with data file

This app is developed by modifying previous app developed by the Forum. It is working well , but I found some bugs.Here they are listed. Thanks in advance to any member , who fix these bugs as early as possible.
The project Objects:
When user name and pass word entered , the user can opt ‘Login’ or ‘Reg’.
Login:
When login button is cliked, It filters the data file,
if the user and password set is found, shows “Success” and table shows the filtered item . If not, Shows “Error” and table shows all items as they are.
Reg:
when ‘Register’ button is clicked , the values entered in user and password fields are added to
the file and table is updated the new record.
If the Login button is clicked now, It shows “Success”.
Bugs/Required:

  1. When it shows Error, the table should appear as it is.
    2.When Reg button is clicked , the record is added successfully. But Login button is not not expected to act.It is showing Success.
  2. Registration of record should be one time. Here,
    each click add a new record with the same values, which in turn result in duplication of records.
  3. In case more than one similar records, the login
    click shows ‘Error’.
  4. Though each run shows the table with add records, the user file shows only 4 records, manually added and updated. From where the app.
    is getting other records information .
    Screenshot 12-04-2024 10.09.26
    login_database.flp (21.0 KB)

Back to Flipabit >
Copyright © 2018. Flipabit Team. All rights reserved.