Home » Developer & Programmer » Forms » Oracle Forms - Implementing set scan off in pl/sql
Oracle Forms - Implementing set scan off in pl/sql [message #79846] Thu, 18 July 2002 01:41 Go to next message
Riz Aziz
Messages: 5
Registered: July 2002
Junior Member
Hi
In this particular case the database block - has an item named consumer_name. The code in the text item
is selecting company names, with '&'in e.g. A&E Motors. The system passes this information where the name and other relevant details are processed for extraction. But fails to produce a report/extraction with Company Names with an '&'

Using the Data extract screen if customer name has a "&" character, the extract fails. Change processing so that SAS system does not treat the above as a special character.

In sql*plus you can use set define off or set scan off,
which works
But with set scan on and set define on You get this
1 select code,description from consumers
2* where description = 'MARLEY FLOORS & WATERPROOFIN'
SQL> /
Enter value for waterproofin:

How can I implement using set scan off in Oracle forms, if not could you please shed some light on the above message.

Kind regards

Riz
Re: Oracle Forms - Implementing set scan off in pl/sql [message #79848 is a reply to message #79846] Thu, 18 July 2002 02:02 Go to previous message
Kieron
Messages: 6
Registered: October 2000
Junior Member
Hi Riz,

Don't know if you already know this but in SQL*PLUS if you use the command;

set define ^

where ^ is a new bind variable, it will ignore the &. I guess you need to know how to implement that in forms. But maybe that is a help.

Cheers,
Kieron
Previous Topic: how to pass Record grps to reports????
Next Topic: Strange problem :Synonyms for Views
Goto Forum:
  


Current Time: Fri Apr 26 16:10:17 CDT 2024