Home » Developer & Programmer » Forms » calling sql from front end
calling sql from front end [message #81980] Mon, 07 April 2003 02:30 Go to next message
manish mendiratta
Messages: 110
Registered: May 2002
Senior Member
Hi,
I have a typical situation. I have a qry to run at end back end. I need to pass two dates for this qry. I want to pass these two dates from a form. Also i want to spool this data. pls help me as how can i pass the forms values to the qry at back end.
I can use host and run the qry but i want to pass these two dates from a form. Urgent help required.
Thanks in advance.

Manish Mendiratta
Re: calling sql from front end [message #82003 is a reply to message #81980] Tue, 08 April 2003 10:27 Go to previous messageGo to next message
shadow
Messages: 15
Registered: April 2003
Junior Member
plz give me more details for your sutiation
Re: calling sql from front end [message #82013 is a reply to message #82003] Thu, 10 April 2003 06:06 Go to previous messageGo to next message
manish mendiratta
Messages: 110
Registered: May 2002
Senior Member
I have this qry.sql file in which in where clause i have to pass 2 dates. At the backend i can do this by passing the substitution variables. I want to run this from a form where 2 text items are given and user will pass the dates thru the items. I want that the values of dates to be passed to the substitution variables in the qry and data should be spooled.
I am using host command to run the QRY.sql.

Hope i have made my requirement clear.

Thanks

ManishM
Re: calling sql from front end [message #82033 is a reply to message #82003] Mon, 14 April 2003 04:23 Go to previous messageGo to next message
shadow
Messages: 15
Registered: April 2003
Junior Member
I think you can use cursor instead of .sql file if u use cursor u can pass parameter to cursor then u can execute and fetch and spool it.
Re: calling sql from front end [message #82038 is a reply to message #82003] Mon, 14 April 2003 22:21 Go to previous messageGo to next message
manish mendiratta
Messages: 110
Registered: May 2002
Senior Member
Can u pls explain how ? My email id is m_mendiratta@rediffmail.com, u post ur reply here also.

Thanks

ManishM
Re: calling sql from front end [message #82236 is a reply to message #82013] Mon, 12 May 2003 15:25 Go to previous message
Tony
Messages: 190
Registered: June 2001
Senior Member
Did you figure out how to do this? if so please share
thanks tony
Previous Topic: Developer 2000 operation requires a database connection
Next Topic: Printing a report
Goto Forum:
  


Current Time: Fri Apr 26 23:07:09 CDT 2024