Hello,
I am using a datawindow (for experimentation) with an embedded select of three values (sql is below - Oracle 10g). I am just forcing three rows into the datawindow. But, I never get the third row. And, if I modify the select to ONLY contain a select of that last row, the select returns the previous two rows, as though it is remembering the old select. I have regenerated, reset and a number of other things. I think this is a simple issue, but I have been away from PB for years and I am not seeing the solution. The select returns three rows in the datawindow preview and when I run it independently in Oracle.
I would appreciate any ideas. I am spinning my wheels at this point. The select seems simple and there is nothing complex going on inside the code... just a straight-forward retrieve.
Thanks... LR..
/////////// Datawindow SQL //////////////
SELECT 'vessel_bkg_cmnt' as col_name,
0 as xposit,
0 as yposit,
0 as widandxpos,
0 as hgtandypos,
'Vessel Booking Comment' as col_desc,
'This is an example of popping up the Booking Comment value.' as hist_value
FROM DUAL
UNION ALL
SELECT 'reason_for_change',
0,
0,
0,
0,
'Reason For Change',
'This is an example of popping up the Reason For Change value.' as hist_value
FROM DUAL
UNION ALL
SELECT 'place_of_receipt',
0,
0,
0,
0,
'Place of receipt',
'This is an example of popping up the Place Of Receipt value.'
FROM DUAL
////////////////////////
I am using a datawindow (for experimentation) with an embedded select of three values (sql is below - Oracle 10g). I am just forcing three rows into the datawindow. But, I never get the third row. And, if I modify the select to ONLY contain a select of that last row, the select returns the previous two rows, as though it is remembering the old select. I have regenerated, reset and a number of other things. I think this is a simple issue, but I have been away from PB for years and I am not seeing the solution. The select returns three rows in the datawindow preview and when I run it independently in Oracle.
I would appreciate any ideas. I am spinning my wheels at this point. The select seems simple and there is nothing complex going on inside the code... just a straight-forward retrieve.
Thanks... LR..
/////////// Datawindow SQL //////////////
SELECT 'vessel_bkg_cmnt' as col_name,
0 as xposit,
0 as yposit,
0 as widandxpos,
0 as hgtandypos,
'Vessel Booking Comment' as col_desc,
'This is an example of popping up the Booking Comment value.' as hist_value
FROM DUAL
UNION ALL
SELECT 'reason_for_change',
0,
0,
0,
0,
'Reason For Change',
'This is an example of popping up the Reason For Change value.' as hist_value
FROM DUAL
UNION ALL
SELECT 'place_of_receipt',
0,
0,
0,
0,
'Place of receipt',
'This is an example of popping up the Place Of Receipt value.'
FROM DUAL
////////////////////////