USING DELPHI 10.3 + MS ACCESS 2010
So I am basically trying to check if a dataset (like a username or password in a login/sign up form) exist in the database table..
I am using Microsoft Access as of my Database, and with the following configured components:
- ADOConnection
- ADOQuery
- DataSource
- ADOTable
my question is , how can I call for the results/import the results and check if it exist or not from the database from the ADOQuery or something..
my understanding is that I have to use the ADOQuery.SQL strings to do so?, but I am not quiet sure how to actually make it work. (im obviously new to this)
if you have an answer that would be appreciated A lot!, if you need more questions I will try to answer you, with screenshots if necessary
> PS: you can make a sample, simple one to help me out understand the details
Locate
method to determine whether it already contains a given username and itsInsert
method to add a new user's details. Then call itsApplyUpdates
method to update the database. Btw, NEVER store a user's password in plain text a database, preferably store only a hash of it instead. – MartynA Mar 2 at 16:43