In my MainForm FormCreate procedure I have a query that I activate at which point the database login appears. The user logs in and the query runs (if the query returns a date that was 15 days ago do something). If however, the user puts in an invalid username or password, the query doesn't run, but the application still opens (without doing the date check query). How can I verify that the user has successfully logged in to the database and present the log-in again or just exit the program? I tried Application.Terminate but it still continues to open the application!! Thanks for all assistance! Leslie
landrews@metrocourt.state.nm.us
SELECT * FROM USERS WHERE CLUE > 0
No Rows Returned
landrews@metrocourt.state.nm.us
SELECT * FROM USERS WHERE CLUE > 0
No Rows Returned