Hi all,
Using a look up table, I have all values from my database (more than 600 records). I want to split this result by letters but I don't know how to make a select like "<letter>%" in the form.
Someone can help me please?
Thanks in advance.
Hi all,
Using a look up table, I have all values from my database (more than 600 records). I want to split this result by letters but I don't know how to make a select like "<letter>%" in the form.
Someone can help me please?
Thanks in advance.
To use your own custom select statments you will want to create a stored procedure in SQL. Then call the stored procedure from forms instead of a direct lookup to a table for view.
Hi Chad Saar, Thank you for your help.
Do you have a tuto? Or a doc?
Hi Chad, ok understood but how do you call your procedure form LFForm?
Change the selection from Table/View to procedure. Any new procedures,tables, or views will not show until you refresh the database connection from the admin tools.
This is what I did but I still don't have the procedure... this is my procedure
/****** Script for SelectTopNRows command from SSMS ******/ CREATE PROCEDURE myprocedure AS SELECT * FROM [SP3E].[dbo].[produits] GO;
Olivier,
After you add the stored procedure to the database, you need to go into Forms Administration and refresh the data source so it will pick up on the changes immediately.
Chad, Jason
It's ok. I didn't save the procedure on the right table.
I got it thank very much.