As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at firstname.lastname@example.org and provide your corporate email address, company, and name.
(FOC1400) SQLCODE IS 201 (HEX: 000000C9) XOPEN: 42000 : Microsoft SQL Native Client:  Procedure or function 'PS_WF_Custom : erDropDownDates' expects parameter '@id , which was not supp : lied. L (FOC1406) SQL OPEN CURSOR ERROR.
i think the issue with the parameters(@id,@name...).
but i don't know how to supply the @id to fex file.
i try to -DEFAULT @id=2; -DEFAULT @name='test'; ...........
but it's not work...
i read the document , i think i didn't find the correct way or ensample to do.
Thanks, YangThis message has been edited. Last edited by: Yangyang,
As I don't use any particular tool other than Dev. Studio's text editor and sometimes Unix's vi to directly edit .fex files the use of -DEFAULT has proven to be quite effective. As far as HTML launch pages are concerned, we still use and maintain our own old ASP-based reporting application with calls to server-based .fex procedures made through the WFServlet so we don't really use the HTML Layout painter or any of the other tools that came packed with Dev.Studio.
Here's me hoping that one day we'll upgrade our WF 5.3.4 environment to 7.6.x (or 8.x? ) so we can take advantage of the new functionality and tools but 'til then ... text editor it is.
create report with synonym.mas(need parameter @id,@name....)
my step: 1.create synonym ,Restrict object type to :Stored Procedures ,select a stored Procedures and input @id,@name... subimt create synonym ,SP_GET_USER.mas it's ok.
2. in the test.fex , i create a report , select SP_GET_USER.mas and dragging ANSWERSET1.USEER_KEY and ANSWERSET1.USEER_NAME to report , and run it : i got the error: (FOC1400) SQLCODE IS 201 (HEX: 000000C9) XOPEN: 42000 : Microsoft SQL Native Client:  Procedure or function SP_GET_USER : erDropDownDates' expects parameter '@id , which was not supp : lied. L (FOC1406) SQL OPEN CURSOR ERROR.
how can i pass the parameters to report or synonym ?
Thanks, James YangThis message has been edited. Last edited by: Yangyang,
TABLE FILE SP_GET_USER PRINT whatever you need WHERE (SP_GET_USER.INPUT.@ID EQ 1 ) AND (SP_GET_USER.INPUT.@NAME EQ 'TEST') AND.... END
TABLE FILE SP_GET_USER PRINT whatever you need WHERE (@ID EQ 1 ) AND (@NAME EQ 'TEST') AND.... END
i get the error :
0 ERROR AT OR NEAR LINE 30 IN PROCEDURE test1 FOCEXEC * (FOC258) FIELDNAME OR COMPUTATIONAL ELEMENT NOT RECOGNIZED: SP_GET_USER.INPUT.@id BYPASSING TO END OF COMMAND (FOC009) INCOMPLETE REQUEST STATEMENT