How to print - when query returns nothing
Hi All
I have query...
select sum((sum(nvl(ac.amtsourcedr,0))-sum(nvl(ac.amtsourcecr,0)))) as balance
from fact_acct ac
where ad_client_id=1000000
and dateacct < '1/04/2010'
and ac.account_id=1000432
group by ac.account_id
I want to print zero when query returns nothing
how to do that ..???
thanking you in advance
Regards
gaurav
use NVL
select nvl(sum((sum(nvl(ac.amtsourcedr,0))-sum(nvl(ac.amtsourcecr,0)))),0) as balance
from fact_acct ac
where ad_client_id=1000000
and dateacct < '
and ac.account_id=1000432
group by ac.account_idAnd yes you need to remove the Group By as stated by Toon, forgot to mention it
Edited by: Karthick_Arp on May 27, 2010 4:04 AM
Similar Messages
-
How to print sql query results
how to print sqlplus query results
Hi,
Spool sql.txt
Execute the query
Spool off
And find the sql.txt file in the current directory.
Regards
Jafar -
HT2486 How to print the same return label on Avery labels
I am trying to print the same return label on an Avery 5160 and cannot. It only shows one label, not 30 of the same.
Was on the phone with Apple support but we could not make it work either.
Anyone knows?
ThanksREDP,
I am sorry, but to get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial printer. You can do this at http://h30499.www3.hp.com/hpeb/ .
I hope this helps.
↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓ -
How to Print when printer is NOT AirPrint capable
I have an iPad 2 and would like to print. My computer is a Canon PIXMA MX870. It is wireless but not AirPrint capable, as far as I can tell.
I have downloaded the Printer Pro app and tried to find my printer. Both my desktop computer (iMac) and printer are wireless. My wifi signal is strong.
Since I could not find my printer in the app window, I tried to download the app helper, but when I did, the iPad displayed the error "Safari cannot download this app." The same message occurred when I tried with Google Chrome.
Next, I tried the classic print approach - with the IP of my printer. I figured if I cannot print everywhere, maybe I could settle for home. I put in the IP address,
and the app did not recognize my printer. Nothing happened. No test page printed.
I don't know what to do. Is there an app that is recommended specifically for these issues (wireless but no AirPrint)? If not, what affordable printers are out
that can scan and copy and AirPrint, and which might you suggest?
I prefer keeping what I have .... but just in case ... Thanks!Canon offers several Apps for their non AirPrint compatible printers. This one specifically says it supports your model of Printer:
https://itunes.apple.com/app/canon-easy-photoprint/id331269951?mt=8
Alternatively, you may be able to install a piece of software onm your computer that wil allow you to print to your printer.
For Mac Printopia is recommended often.
http://www.ecamm.com/mac/printopia/
For PC there are less solutions, but you can still find some tutorials on how to make it work though they aren't as straight forward as Printopia. -
How to print a gift return label if only know the return number and order number
I have a macbook pro, it's a gift, and I want to return it. But at first time, I forgot to print the return label, now I know the order number and return number, when I click "Print return label", it appeared I need to sign in, but I don't have a apple ID
Call Apple sales and ask them. The number should be on your order receipt or look at the Contact Us link at the bottom right hand corner of this page.
-
How to print a character return in a txt file?
i tried this line of code
" outFile.print(lines.get(k) + "\n"); "
where "lines" is an arraylist that stores only strings
everything works fine, except the "\n" doesn't really give me a character return, ie. i want the file to start on a new line after printing lines.get(k). but it doesn't.
what should i put in the place of \n?
thanks a lot!yea, i load the saved file into notepad, and all i see is something like || (2 little bars) instead of a return, and the next word continues on the same line instead of going to the next line
...... _-- |||||| -
How to print when using Windows 8 Adobe Reader
How does one print a simple .pdf document using Adobe Reader in Windows 8. With the document open, the print button is visible on the tool bar but clinking on that only brings up the screen asking where do I want to save the document. It is already saved...I just want to print it! Clicking on file and then selecting print results in the same. I've never had this problem before. I have been a long time Adobe user but always WIndows 7 or Windows XP. This Windows 8 is killing me.
Thanks for any help you can offer!This sounds like you have 'Print to File' set; uncheck it (Advanced button on the Print panel).
-
Hi,
Kindly let me know how to print the query and the parameters passed to it? I tried with the params parameter in super.executeQueryForCollection(qc, params, noUserParams); but could not succeed.
I need to log the query and the params passed to it. Kindly help.
Thanks in advance,
Kalpana.Here you go
Coding With Passion: Oracle ADF - Debug view object query with parameters -
Hi
I made a database partnerlink, which every 40 secondes query the BD: "Select 'OK' from table_name where status='OK' ".
So if my query return nothing, does the process will continue or wait the next 40 secondes to requery the BD.
Thanks
Message was edited by:
cberrouardHi there,
whether or not the query returns anything at each polling interval it still polls every 40 seconds.
For documentation on polling concepts closest would be this doc link here:
http://download-east.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/adptr_db.htm#CHDEFACG
Thanks
Steve -
How to find out which sub query returns more than one row
Hi all,
Can any one give me clue ,how to find out which sub query returns more than one row in the following query .
/* Formatted on 2011/05/17 19:22 (Formatter Plus v4.8.8) */
SELECT a.*, ROWNUM AS rnm
FROM (SELECT DISTINCT '1' AS "Page View", ou.org_unit_name AS "Org",
prxm.mbr_idntfr AS "Beneficiary ID",
md.last_name
|| ', '
|| md.first_name AS "Beneficiary Name",
pci.idntfr AS "Tracking No.",
TO_CHAR (TRUNC (req.pa_rqst_date),
'MM/dd/yyyy'
) AS "Request Date",
sts.status_name AS "Status",
req.pa_rqst_sid AS "Request #",
prxm.mbr_sid AS "Mbr_sid",
TO_CHAR
(TRUNC (req.pa_revision_date),
'MM/dd/yyyy'
) AS "Last Updated",
TO_CHAR (psd.TO_DATE, 'MM/dd/yyyy') AS "TO_DATE",
prxpl.prvdr_lctn_iid AS "PRVDR_LCTN_IID",
pd.prvdr_sid AS "PRVDR_SID", 'Y' AS "State View",
DECODE
((SELECT DISTINCT pd.national_prvdr_idntfr
FROM pa_request_x_provider_location prxplo
WHERE prxplo.pa_rqst_sid =
req.pa_rqst_sid
AND prxplo.oprtnl_flag = 'A'
AND prxplo.pa_prvdr_type_lkpcd = 'RR'),
0, (SELECT prxplo.prvdr_lctn_idntfr
FROM pa_request_x_provider_location prxplo
WHERE prxplo.pa_rqst_sid = req.pa_rqst_sid
AND prxplo.oprtnl_flag = 'A'
AND prxplo.pa_prvdr_type_lkpcd = 'RR'),
NULL, (SELECT prxplo.prvdr_lctn_idntfr
FROM pa_request_x_provider_location prxplo
WHERE prxplo.pa_rqst_sid = req.pa_rqst_sid
AND prxplo.oprtnl_flag = 'A'
AND prxplo.pa_prvdr_type_lkpcd = 'RR'),
(SELECT DISTINCT pd.national_prvdr_idntfr
FROM pa_request_x_provider_location prxplo
WHERE prxplo.pa_rqst_sid =
req.pa_rqst_sid
AND prxplo.oprtnl_flag = 'A'
AND prxplo.pa_prvdr_type_lkpcd = 'RR')
) AS "NPI/ID",
DECODE
((SELECT pd.org_bsns_name
FROM pa_request_x_provider_location prxplo
WHERE prxplo.pa_rqst_sid = req.pa_rqst_sid
AND prxplo.oprtnl_flag = 'A'
AND prxplo.pa_prvdr_type_lkpcd = 'RR'),
NULL, (SELECT pd.last_name
|| ', '
|| pd.first_name
|| ' '
|| pd.middle_name
FROM pa_request_x_provider_location prxplo
WHERE prxplo.pa_rqst_sid = req.pa_rqst_sid
AND prxplo.oprtnl_flag = 'A'
AND prxplo.pa_prvdr_type_lkpcd = 'RR'),
(SELECT pd.org_bsns_name
FROM pa_request_x_provider_location prxplo
WHERE prxplo.pa_rqst_sid = req.pa_rqst_sid
AND prxplo.oprtnl_flag = 'A'
AND prxplo.pa_prvdr_type_lkpcd = 'RR')
) AS "Prvdr Name",
TO_CHAR (psd.from_date,
'MM/dd/yyyy'
) AS "Srvc From Date",
TO_CHAR (req.validity_start_date,
'MM/DD/YYYY'
) AS "Due Date",
(fn_get_busniess_days (TRUNC (req.validity_start_date))
) AS "Days<br>Left",
req.pa_mode_type_lkpcd AS "Source",
TO_CHAR (TRUNC (wmdtl.rtng_date),
'MM/dd/yyyy'
) AS "Assigned On",
NVL (wmdtl.assigned_to_user_name,
'Not Assigned'
) AS "Assigned To",
req.org_unit_sid AS "OrgUnitSid",
TO_CHAR
(wmdtl.modified_date,
'MM/dd/yyyy hh24:mi:ss'
) AS "WTRD_MODIFIED_DATE",
TO_CHAR (wmdtl.rtng_date,
'MM/dd/yyyy'
) AS "WTRD_RTNG_DATE",
req.status_cid AS "PA_STATUS_CID",
TO_CHAR (req.modified_date,
'MM/dd/yyyy'
) AS "PA_REQ_MODIFIED_DATE",
prs.state_pa_srvc_type_code
AS "STATE_PA_SRVC_TYPE_CODE",
wmdtl.wm_pa_task_rtng_dtl_sid
AS "WM_TASK_RTNG_DTL_SID",
wmdtl.assigned_to_user_acct_sid
AS "WTRD_Assigned_to_user_acct_sid",
(fn_get_busniess_days (TRUNC (req.validity_start_date))
) AS "Days<br>LeftSort",
wmdtl.assigned_to_org_unit_sid
AS "WTRD_Assigned_to_OrgUntSid",
DECODE
((SELECT COUNT (*)
FROM pa_request_status prs
WHERE prs.pa_rqst_sid = req.pa_rqst_sid
AND prs.status_cid = 5
AND prs.oprtnl_flag = 'I'),
0, 'N',
'Y'
) AS "SHOW_UTILIZATION"
FROM pa_request req,
pa_certification_identifier pci,
status sts,
pa_request_x_member prxm,
wm_pa_task_routing_detail wmdtl,
pa_service_date psd,
org_unit ou,
pa_request_service prs,
pa_request_x_provider_location prxpl,
provider_location pl,
provider_detail pd,
provider p,
mbr_dmgrphc md
WHERE req.oprtnl_flag = 'A'
AND req.status_cid NOT IN
(20, 30, 70, 25, 80, 96, 85, 5, 97, 98, 101)
AND req.org_unit_sid IN
(3057, 3142, 3058, 3143, 3059, 3144, 3060, 3145,
3061, 3146, 3062, 3147, 3063, 3148, 3064, 3149,
3065, 3150, 3066, 3151, 3067, 3152, 3068, 3153,
3069, 3154, 3070, 3155, 3071, 3156, 3072, 3157,
3073, 3158, 3074, 3159, 3075, 3160, 3076, 3161,
3077, 3162, 3078, 3163, 3079, 3164, 3080, 3165,
3081, 3166, 3082, 3167, 3083, 3168, 3084, 3169,
3085, 3170, 3086, 3171, 3087, 3172, 3088, 3173,
3089, 3174, 3090, 3175, 3091, 3176, 3092, 3177,
3093, 3178, 3094, 3179, 3095, 3180, 3096, 3181,
3097, 3182, 3098, 3183, 3099, 3184, 3100, 3185,
3101, 3186, 3102, 3187, 3103, 3003, 75000104,
75000108, 2006, 75000103, 75000102, 75000113,
75000111, 75000109, 2001, 2009, 75000105,
75000107, 2004, 2010, 2013, 2014, 2005, 2011,
75000112, 2002, 1001, 2012, 75000106, 2007,
75000101, 2003, 75000110, 2008, 3001, 3002, 3019,
3104, 3020, 3105, 3021, 3106, 3022, 3107, 3023,
3108, 3024, 3109, 3025, 3110, 3026, 3111, 3027,
3112, 3028, 3113, 3029, 3114, 3030, 3115, 3031,
3116, 3032, 3117, 3033, 3118, 3034, 3119, 3035,
3120, 3036, 3121, 3037, 3122, 3038, 3123, 3039,
3124, 3040, 3125, 3041, 3126, 3042, 3127, 3043,
3128, 3044, 3129, 3045, 3130, 3046, 3131, 3047,
3132, 3048, 3133, 3049, 3134, 3050, 3135, 3051,
3136, 3052, 3137, 3053, 3138, 3054, 3139, 3055,
3140, 3056, 3141)
AND req.pa_rqst_sid = prs.pa_rqst_sid
AND prs.oprtnl_flag = 'A'
AND prs.pa_rqst_srvc_sid = psd.pa_rqst_srvc_sid
AND psd.oprtnl_flag = 'A'
AND req.pa_rqst_sid = pci.pa_rqst_sid
AND pci.oprtnl_flag = 'A'
AND req.pa_rqst_sid = prxm.pa_rqst_sid
AND prxm.oprtnl_flag = 'A'
AND md.oprtnl_flag = 'A'
AND md.status_cid = 2
AND TRUNC (SYSDATE) BETWEEN md.from_date AND md.TO_DATE
AND prxm.mbr_sid = md.mbr_sid
AND ou.org_unit_sid = req.org_unit_sid
AND ou.oprtnl_flag = 'A'
AND req.pa_rqst_sid = prxpl.pa_rqst_sid
AND prxm.pa_rqst_sid = prxpl.pa_rqst_sid
AND pci.pa_rqst_sid = prxm.pa_rqst_sid
AND pci.pa_rqst_sid = wmdtl.subsystem_task_sid
AND pci.pa_rqst_sid = prxpl.pa_rqst_sid
AND prxpl.pa_prvdr_type_lkpcd = 'RR'
AND prxpl.oprtnl_flag = 'A'
AND req.status_cid = sts.status_cid
AND sts.status_type_cid = 3
AND sts.oprtnl_flag = 'A'
AND prxpl.prvdr_lctn_iid = pl.prvdr_lctn_iid
AND p.prvdr_sid = pd.prvdr_sid
AND p.prvdr_sid = pl.prvdr_sid
AND pd.oprtnl_flag = 'A'
AND pd.status_cid = 2
AND TRUNC (SYSDATE) BETWEEN pd.from_date AND pd.TO_DATE
AND wmdtl.subsystem_task_sid = req.pa_rqst_sid
AND wmdtl.subsystem_lkpcd = 'PA'
AND wmdtl.oprtnl_flag = 'A'
AND req.pa_rqst_date > (SYSDATE - 365)
ORDER BY TO_DATE ("Request Date", 'MM/dd/yyyy hh24:mi:ss') DESC,
"Beneficiary Name" ASC) a
WHERE ROWNUM < 102;regards,
P Prakash
Edited by: BluShadow on 17-May-2011 15:01
added {noformat}{noformat} tags around the code833560 wrote:
Can any one give me clue ,how to find out which sub query returns more than one row in the following query .This is why smaller, simpler queries are easier to work with than huge ones - when something like this goes wrong smaller queries are much eaiser to debug. Unfortunately using smaller, easier-to-work with queries is not always an option
Ganesh is right - you will have to dissect the big query bit by bit until you find the offending subquery. If there is another way I would like to find out about it too.
The easiest way to do this is probably to use block comments to isolate parts of the query bit by bit until you find the offending part. If you carefully examine the subqueries you might be able to figure out which one is returning multiple rows without commenting everything
Good luck! -
I can't connect to the router in my home. The Ipad seeks the network but nothing happens. I went to school and connected to their WiFi network as usual with no problems. When I returned home I could not connect to my home router. The Ipad seeks the router number but nothing happens. I rebooted the Ipad a few times in the school. The numbers identifying the router, etc. on my Ipad no longer appear there.
TThe Ipad guide says to connect to the WiFi use setup but I can't find the setup program in the Ipad.
I reset the network settings to the factory defaults but this doesn't fix the problem.
What can I do to reconnect to my home router?Some things to try first:
1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
4. Go into your router security settings and change from WEP to WPA with AES.
5. Renew IP Address: (especially if you are droping internet connection)
• Launch Settings app
• Tap on Wi-Fi
• Tap on the blue arrow of the Wi-Fi network that you connect to from the list
• In the window that opens, tap on the Renew Lease button
~~~~~~~~~~~~~~~~~~~~~~~~~
iOS 6 Wifi Problems/Fixes
How To: Workaround iPad Wi-Fi Issues
http://www.theipadfan.com/workaround-ipad-wifi-issues/
Another Fix For iOS 6 WiFi Problems
http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
Fix For iOS 6 WiFi Problems?
http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
iOS 6 iPad 3 wi-fi "connection fix" for netgear router
http://www.youtube.com/watch?v=XsWS4ha-dn0
Apple's iOS 6 Wi-Fi problems
http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
~~~~~~~~~~~~~~~~~~~~~~~
How to Fix a Poor Wi-Fi Signal on Your iPad
http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
iOS Troubleshooting Wi-Fi networks and connections http://support.apple.com/kb/TS1398
iPad: Issues connecting to Wi-Fi networks http://support.apple.com/kb/ts3304
WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
How to Fix: My iPad Won't Connect to WiFi
http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
iOS: Recommended settings for Wi-Fi routers and access points http://support.apple.com/kb/HT4199
How to Quickly Fix iPad 3 Wi-Fi Reception Problems
http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
iPad Wi-Fi Problems: Comprehensive List of Fixes
http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
Connect iPad to Wi-Fi (with troubleshooting info)
http://thehowto.wikidot.com/wifi-connect-ipad
Fix iPad Wifi Connection and Signal Issues http://www.youtube.com/watch?v=uwWtIG5jUxE
Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
Unable to Connect After iOS Update - saw this solution on another post.
https://discussions.apple.com/thread/4010130
Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
~~~~~~~~~~~~~~~
If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
Cheers, Tom -
How to Automate the Query Search Upon Return to the Calling Form?
Greetings Ya’ll Gurus,
Could you please share with me how to make the Query Search executed automatically each time, when database table is updated, upon return to the “Calling Form” (i.e. FormA in this posting) from the “Called Form” (i.e. FormB from here on)?
I have FormA call_form to FormB. FormB may return to FormA. FormA allows users to enter the Query parameters and perform query Search to the database table with a list of search results afterward; whereas FormB allows users to add or delete the same database table records. Both form images are as follows:
FormA:
!http://dot.state.ak.us/nreg/jtomasic/FormA_DWR_SEL.GIF!
FormA call_form to FormB by clicking PB “Daily Work Report” (see circled PB "Daily Work Report" in the above image.)
FormB Image (FormB allows users to add and delete database records):
!http://dot.state.ak.us/nreg/jtomasic/FormB_DWR.GIF!
FormB EXIT_FORM and returns to FormA (see circled PB "DWR Selection" in above image).
Currently, our users must press the PB “Search” on FormA each time to refresh the Query “Search” results after returning to FormA, and they request to have the "Search" done automatically/programmatically upon return to FormA each time when the database table is updated.
If you have programming code on this and are willing to share or if you have any suggestion or thoughts on this, it would be most greatly appreciated.
Thanks a lot & Happy Holidays!Thanks so much Andreas, and yes, your link for calling a form and passing a context is very helpful. I believe, your suggested use of the global variable for the saved database table will work for the automation of the Query Search. I am, however, not sure how to make the code and the trigger to automatically perform Query PB "Search". The code for our current "WHEN-BUTTON-PRESSED" Trigger for the PB-Search of FormA is as following:
DECLARE
alert_button NUMBER;
alert_id ALERT;
MY_WHERE VARCHAR2(2500);
MY_DIST_ID DIST.DIST_ID%TYPE := :BLK_UPDATE.DIST_ID;
MY_ORG_ID DWR.ORG_ID%TYPE := :BLK_UPDATE.ORG_ID;
MY_ACTY_ID DWR.ACTY_ID%TYPE := :BLK_UPDATE.ACTY_ID;
MY_ACTY_WORK_ID DWR.ACTY_WORK_ID%TYPE := :BLK_UPDATE.ACTY_WORK_ID;
MY_CNTY_ID DWR.CNTY_ID%TYPE := :BLK_UPDATE.CNTY_ID;
MY_ASSET_GRP_ID DWR.ASSET_GRP_ID%TYPE := :BLK_UPDATE.ASSET_GRP_ID;
MY_ASSET_ID DWR.ASSET_ID%TYPE := :BLK_UPDATE.ASSET_ID;
MY_RTE DWR.RTE%TYPE := :BLK_UPDATE.RTE;
MY_BEG_MP DWR.BEG_MP%TYPE := :BLK_UPDATE.BEG_MP;
MY_END_MP DWR.END_MP%TYPE := :BLK_UPDATE.END_MP;
MY_FROM_DATE DWR.DWR_DATE%TYPE := :BLK_CONTROL.FROM_DATE;
MY_TO_DATE DWR.DWR_DATE%TYPE := :BLK_CONTROL.TO_DATE;
MY_FLAG_OFFSYS VARCHAR2(11) := :BLK_UPDATE.FLAG_OFFSYS;
MY_FLAG_COMMENTS VARCHAR2(11) := :BLK_UPDATE.FLAG_COMMENTS;
MY_SPECIAL_EVENT_SEQ_NO SPECIAL_EVENT.SPECIAL_EVENT_SEQ_NO%TYPE := :BLK_UPDATE.SPECIAL_EVENT_DESCR;
MY_FLAG_ACCDT VARCHAR2(11) := :BLK_UPDATE.FLAG_ACCDT;
BEGIN
:blk_control.dummy_flag := 1 ;
:BLK_CONTROL.DUMMY_ERR_FLAG := 'N';
VALIDATION_SELECTION; -- Program Unit VALIDATES DWR SELECTION PARAMETERS PRIOR TO
-- PERFORMING THE SEARCH AND POPULATING THE DISPLAY BLOCK
if :blk_control.dummy_flag = 1 then
IF :BLK_CONTROL.DUMMY_ERR_FLAG = 'N' THEN
MY_WHERE := BUILD_WHERE_CLAUSE(MY_DIST_ID,
MY_ORG_ID,
MY_ACTY_ID,
MY_ACTY_WORK_ID,
MY_CNTY_ID,
MY_ASSET_GRP_ID,
MY_ASSET_ID,
MY_RTE,
MY_BEG_MP,
MY_END_MP,
MY_FROM_DATE,
MY_TO_DATE,
MY_FLAG_OFFSYS,
MY_SPECIAL_EVENT_SEQ_NO,
MY_FLAG_ACCDT,
MY_FLAG_COMMENTS);
SET_BLOCK_PROPERTY('BLK_DISPLAY', DEFAULT_WHERE, MY_WHERE);
GO_BLOCK('BLK_DISPLAY');
CLEAR_BLOCK(NO_VALIDATE);
EXECUTE_QUERY(ALL_RECORDS);
IF :BLK_DISPLAY.DWR_SEQ_NO IS NOT NULL THEN
SET_ITEM_ON_OR_OFF('BLK_CONTROL.PB_PRINT', TRUE);
ELSE
SET_ITEM_ON_OR_OFF('BLK_CONTROL.PB_PRINT', FALSE);
alert_id := FIND_ALERT('no_data_query');
IF ID_NULL(alert_id) THEN
error_msg(1000);
ELSE
set_alert_message(alert_id, 1040);
alert_button := SHOW_ALERT(alert_id);
END IF;
END IF;
GO_BLOCK('BLK_UPDATE');
GO_ITEM('BLK_CONTROL.PB_SEARCH');
END IF;
end if;
END;My questions are:
After initializing, set and/or reset the global variable for the saved database table,
do I copy the above code (i.e. the "entire" code in the "WHEN-BUTTON-PRESSED" Trigger for the PB-Search) to the WHEN-NEW-FORM-INSTANCE-trigger, or other trigger(s), of FormA to automate the Query Search whenever there is a successful database commit/save? Or
is there a simple way to activate the code in the "WHEN-BUTTON-PRESSED" Trigger for the PB-Search of FormA? Or
is there a simple way to activate the EXECUTE_QUERY(ALL_RECORDS) command in the WHEN-NEW-FORM-INSTANCE-trigger or other trigger(s) of FormA ?
Thanks and always. -
iPhoto was working fine. Performed update for HP printer, which should have nothing to do with iPhoto. But the next time I tried to open iPhoto, got this message. "To open your library with this version of iPhote, it first needs to be prepared." When I g
What version of iPhoto? Assuming 09 or later...
Option 1
Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
If that fails:
Option 2
Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.
Regards
TD -
Funtion is returning jstring, how to print it in java code
Plz let me know how to print a jstirng which is returning by a native function in java.
When i use System.out.print(view());
it gives me error.
what i shoulr do with jsting so that i can use/print it in java.dscdscWhat do you mean by that?
-
How can I print my Avery return address labels (easy peel) template 5195 on my mac?
How can I print my Avery return address labels (easy peel) template 5195 on my mac? When I try to print them via avery website, they appear shunk on the page.
What application are you trying to print from? Address Book has the ability to print using various label templates. I think you can do the same from Pages or Word.
Best of luck.
Maybe you are looking for
-
As I said before having troble opening my iTunes and App Store, need some help, Also i cant open games iv paid and donloaded, and wifi still not working.. Pleaseeee if anyone could help me out that would be a great help.. Thanks
-
Does AnyConnect 3.0 supports in IOS 12.4(20)?
Hello. We have Cisco 2821 and IOS 12.4(20)T2. In browser-initiated mode AnyConnect 3.0.5075 works fine. But in standalone mode it doesn't work.
-
Moving Large Forms App to HTMLDB
I have a very large Forms application (about 300+ forms). I would like to move this to HTMLDB. This will require lots of pages in HTMLDB. Is it feasable to have a large app run in HTMLDB? What about performance? Please share your experiences.
-
How do I change Adobe XI pro from trial to purchased
I bought a new laptop. I purchased an upgrade version of Adobe XI pro. When I installed Adobe, I accidentally selected trial version instead of purchased and did not enter my serial number. How do I enter my serial number so that the Adobe shows u
-
Calling a java webdynpro component inside a SAP Workflow
Hi Experts , Is it possible to call a java webdynpro component inside a SAP Workflow from the task . If yes please let me the procedures . Regards Sarmistha