Oracle Forms (MOSC)

MOSC Banner

How to use NULL in SELECT statement in quotes

edited Oct 29, 2009 12:27AM in Oracle Forms (MOSC) 5 commentsAnswered ✓
Hi,

I am enclosing a select statement inside quotes in a form.  At runtime, it gives error : Cannot create record group.  The same query works perfectly fine from outside say Toad.  I deleted some where conditions and zeroed in on this finding that the command 'r.mdle is NULL' is creating the problem.  How do I use the NULL command when using SELECT command inside quotes?

*

 rg_id := Create_Group_From_Query( rg_name,
             'select distinct com_name, com_cmpnt_code '||
             'from cmpnt_mst c, mdle_to_cmpnt_mpng_mst m, reprts r '||
             'where c.com_cmpnt_code = m.mcm_cmpnt_code '||

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center