Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Strange Report behaviour --- Report error ORA-00936 missing expression (after 8th position (A8) of u
Anuradha_Deo_(PATCOM01User2_(Delete)_2735478)
I am working on report that accepts two inputs from the user. The second input string is a string having @ as an identifier. From the second input I am extracting required values using the oracle instr() and substr() and the position of @. On executing the report and keying parameter values, I get error of missing expression. Looking at the Query displayed on the error screen I noticed that :A9 is missing from the query. Also, the text following :A9 is not as expected. For example: In place of :A11 a number 112 is displayed. This is highlighted in the attachment.My guess is that after 8th position (:A8) of user input every thing goes wrong. The same query runs fine if I hard code the parameters in the above query.Attachment is the screen cam related to the problem.Please suggest a solution for this problem. Thanks
Find more posts tagged with
Comments
Martin_Gäckler
Hi,First: I did not find a diference between your third and forth subquery, so you can omit the forth subquery to reduce the number of bind variable.Second: You can use more than two user input fields to search for your values, so that you do not need to break your user's input into several parts using instr and substr:... where valstr in (%2,%3,%4) ...Third: You should search the value of the database field whithin the userinput:... where instr( valstr, %2 ) > 0 ...Hope this helpsMartin
eLink User
Message from Alex Kowalenko via eLinkA known limitation with LiveReports is that it will not accept more than 8binding variables. Either restructure your query to generate 8 or less -or - call your Open Text account manager for a Professional Services patchthat will allow more than 8 binding variables.-alex------Original Message-----From: eLink Discussion: Livelink LiveReports Discussion[mailto:livereportsdiscussion@elinkkc.opentext.com]Sent: Saturday, August 31, 2002 07:08To: eLink RecipientSubject: Strange Report behaviour --- Report error ORA-00936 missingexpression (after 8th position (A8) of user input every thing goeswrong)[Attachments exceeded pre-set size limits. Use the links provided to access]Strange Report behaviour --- Report error ORA-00936 missing expression(after 8th position (A8) of user input every thing goes wrong)Posted by PATCOM01User2 on 08/30/2002 09:14 AMI am working on report that accepts two inputs from the user. The secondinput string is a string having @ as an identifier. From the second input Iam extracting required values using the oracle instr() and substr() and theposition of @. On executing the report and keying parameter values, I geterror of missing expression. Looking at the Query displayed on the errorscreen I noticed that :A9 is missing from the query. Also, the textfollowing :A9 is not as expected. For example: In place of :A11 a number112 is displayed. This is highlighted in the attachment.My guess is that after 8th position (:A8) of user input every thing goeswrong. The same query runs fine if I hard code the parameters in the abovequery.Attachment is the screen cam related to the problem.Please suggest a solution for this problem.Thanks[To reply to this thread, use your normal e-mail reply function.]============================================================Attachment link: ReportError.doc
https://knowledge.opentext.com/knowledge/livelink.exe/2831716/ReportError.doc?func=doc.Fetch&nodeid=2831716============================================================Discussion
: Livelink LiveReports Discussion
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=2249677&objAction=viewLivelink
Server:
https://knowledge.opentext.com/knowledge/livelink.exe