Return a user id from database

  • 17 November 2022
  • 1 reply
  • 1 view

Badge +1

I would like to return a user id and display it into a form from a database.

I only see one example and its complicated. Do I need to create stored procedure first for this to happen?

1 reply

Userlevel 5
Badge +14

If you're using the SQL Control in a Form then no you don't need to use a stored procedure that has been created on the SQL Server. You can just type in a query outright and it should work (test it!).