Slow display results with Fill() metod
When I access database with 100 000 and more records
and try to display page from end of database, fill method from DataAdapter is very slow. Maybe someone know solution for this problem ?
sample code:
start = 100000
paczka = 500
cn_all_catalog.ConnectionString = strconnection
cn_all_catalog.Open()
da = New od.Client.OracleDataAdapter(query_string, cn_all_catalog)
da.Fill(DataSet1, start, paczka, "MyTable")
You can play around with the FetchSize property of OracleCommand class to tune your application. You can set FetchSize to a large value to make less number of round trips to the database to fetch 100,000 rows but that would result in higher memory requirement on the client side.
Similar Messages
-
Displaying results with a decimal place of two. Forcing decimal place.
Hi there,
Im writing a simple calculation device.
You input one digit and press one of two buttons to multiply it by a certain number and then the result is displayed. The result is displyed hiding the result of the button you didn't press and visa versa.
I am having a problem displaying the result with a constant two decimal place.
I am using strings and thus don't know how to do this.
Here is my code:
import flash.events.MouseEvent;
//restrict the input textfield to only numbers
txtinput.restrict = "0-9";
//restrict the input textfield to only two characters
txtinput.maxChars = 6;
// event listeners
btnW.addEventListener(MouseEvent.CLICK, WHandler);
btnC.addEventListener(MouseEvent.CLICK, CHandler);
btnW.addEventListener(MouseEvent.CLICK, hideC);
btnC.addEventListener(MouseEvent.CLICK, hideW);
//functions
function WHandler (e:MouseEvent):void
//white calculation
var answerW:Number = Number(txtinput.text) * Number(0.90);
txtWResult.text = answerW.toString();
function CHandler (e:MouseEvent):void
//colour calculation
var answerC:Number = Number(txtinput.text) * Number(0.99);
txtCResult.text = answerC.toString();
function hideC (e:MouseEvent):void
//Hide colour result
txtCResult.visible = false;
txtWResult.visible = true;
function hideW (e:MouseEvent):void
//Hide white result
txtWResult.visible = false;
txtCResult.visible = true;
After having a look online I have found these two resources:
http://helpx.adobe.com/flash/kb/rounding-specific-decimal-places-flash.html
and
http://stackoverflow.com/questions/11469321/decimals-to-one-decimal-place-in-as3
But I am confused when combining these techniques with strings.
Any help would be greatly appreciated,
Thanks in advance
Mr BUse the toFixed() method of the Number class instead of the toString() method. The result of it is a String with the number of decimal places you specify.
var answerW:Number = Number(txtinput.text) * Number(0.90);
txtWResult.text = answerW.toFixed(2);
var answerC:Number = Number(txtinput.text) * Number(0.99);
txtCResult.text = answerC.toFixed(2); -
Hi i have two tables that have a one-to-many relationship and i want to display the output as comma delimitters. The two tables are
TABLE TABLE1
OVERSION_ID NUMBER NOT NULL,
PREVIOUS_V_ID NUMBER NOT NULL
TABLE TABLE2
OVERSION_ID NUMBER NOT NULL,
so for example if i run the query
select * from table1
the result is
OVERSION_ID PREVIOUS_V_ID
12456 25677
12456 25702
12456 27897
how can i write an sql query that will display all previous_v_id seperated by a comma like below
25677, 25702, 27897
Thank you very much.i have used the wm_concat function and it worked
select oversion_id, wm_concat(previous_v_id) from table1 group by oaversion_id;
however i have 2 other tables
TABLE TABLE3
OVERSION_ID NUMBER NOT NULL,
OID NUMBER NOT NULL
TABLE TABLE4
OID NUMBER NOT NULL
ONUMBER VARCHAR2 NOT NULL,
You can see the relation between table 3 and table 4
how can I change the query
"select oversion_id, wm_concat(previous_v_id) from table1 group by oaversion_id;"
so that i get the output as onumber and not the previous_v_id
in other words how can I join these tables so the output is not the numbers (previous_v-id) , but the varchar2 (onumber) from table4 -
Slow Speedtest results with Airport Extreme Card
Hi,
We just upgraded our internet to a 5G network with TWC. All the devices in our home are now speedtesting at 100 mb/s wonderfully.
Except one.
My Mac Pro 8 Core 2009 4,1. Running OSX 10.8.5
The mac pro is speedtesting at only 30 mb/s while everything else (MBP, MBA, iphone 5) all speddtesting at 100 mb/s. Alla re connected to the new network.
Is the problem the older airport extreme card? Or is there something I can do in settings or firmware upgrade to sort this?
Here are the specs of the Airport extreme card on the MP:
Card Type: AirPort Extreme (0x14E4, 0x8E)
Firmware Version: Broadcom BCM43xx 1.0 (5.106.98.100.17)
Locale: FCC
Country Code: US
Supported PHY Modes: 802.11 a/b/g/n
Supported Channels: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 149, 153, 157, 161, 165
Wake On Wireless: Supported
AirDrop: Supported
Status: Connected
Thanks!tek_uk, Welcome to the discussion area!
(a) Did you connect the external 'T' AirPort shaped antenna to the back our your G5? This antenna shipped with your Power Mac G5.
(b) Compare the antenna wire connection at the AirPort Extreme card with the photos in KB 108039, Properly attaching the antenna on an AirPort Extreme Card. -
Display Issues with mini (Mid 2010) and LG L246WP
I recently purchased a new mini (Mid 2010 base model) and planned to use it with my 24" LG L246WP monitor, which is about 3 years old. The monitor has VGA, component, and HDMI inputs.
I used an HDMI-to-HDMI cable to connect the mini directly to the monitor, and the output is completely messed up. The mini recognized the monitor (titling the System Preferences > Display dialog with 'L246WP') and set it to the monitor's native resolution of 1920x1200, but on the monitor the image is cropped to what looks like a 4:3 aspect ratio and with part of the image shifted up and left so I cannot view the top menu bar or the left hand side of the desktop. The monitor's on-screen display shows 1080p in this mode.
The Display dialog also gives me an option for 1080p. I can select this and use the Underscan slider to resize the desktop output to fit on the screen, but it is still shifted left and must be resized smaller than the available display space (plus the total image is only 1080 pixels, not using the monitor's full native screen). In this mode, 1080p also shows on the monitor's on-screen display.
I tried 1024x768 to see if I could get a properly-positioned image, but the desktop was shifted just like in the 1920x1200 case and the monitor's on-screen display status still reported 1080p.
The monitor has a menu setting under an HDMI heading with "Video" and "PC" options, but changing this selection does not make a difference.
Since the monitor came out before HDMI was as widespread as it is today, it came with a DVI-to-HDMI cable, so I also tried using that cable with the HDMI-to-DVI adapter that came with the mini, but this did not make a difference either.
To prove it wasn't the HDMI cable, I connected the mini to my Samsung 6300 series 40" LED HDTV and with some tweaking of the Underscan slider the displayed image filled the screen perfectly.
I've searched the Internet and various forum threads (i.e. http://hardforum.com/showthread.php?t=1167222&page=63) seem to indicate this monitor can send a corrupted EDID that causes issues, especially with nVidia graphics drivers. On Windows you can use registry or driver hacks to override the EDID with the correct values, but on OS X this doesn't seem possible (I was hoping for a Terminal one-liner but it seems this doesn't exist). I have seen some mentions of the shareware SwitchResX (http://www.madrau.com), which looks like it gives you the option to override resolution settings, but I haven't tried this yet.
It also appears to me that the monitor is always interpreting the signal (or the mini is always sending the signal) as 1080p, even if I've set 1920x1200 in the Display dialog. I don't know if this is a defect in the monitor where it always assumes the HDMI input is a 1080p source (previous I used it with an Xbox 360 with no issues but that was 1080p HDMI), or if is a bug in the graphics drivers (or at least a lack of flexibility / miscommunication to the user trying to handle a corrupt EDID).
I asked my local Genius Bar for advice today (without bringing any hardware in) but was not told anything I didn't already know.
I'm trying to determine the best way to work through this issue. *My questions are:*
Would it make any difference if I used a Mini DisplayPort-to-DVI adapter (and then my DVI-to-HDMI cable to the monitor's HDMI input)?
What about a Mini DisplayPort-to-VGA adapter? In the past I used a 12" Powerbook (via a mini-DVI-to-VGA adapter) with this monitor and had no display issues like this, but I'd prefer to stick with a digital connection on my brand new mini.
Is SwitchResX the only practical way in OS X to override a corrupt EDID and force the mini to output a certain resolution?
Besides the various adapters and SwitchResX, is there anything else I should try before buying a new monitor?Hello EPWilson4984.
I have been experiencing the same issues you described. Connecting my brand new Mac Mini to my Westinghouse 24”monitor (L2410NM, 1920x1200 pixel resolution) produces a very fuzzy and washed out image quality. The Mac recognizes the monitor and applies the right resolution (1920x1200), but it looks just awful. The EDID info is definitely not right.
Now, I tried your suggestion (DVI-to-HDMI), and similar suggestions from other threads, but nothing works. Nothing seems to work at all.
The main input for the monitor is HDMI, so whatever cable I use, in the end always has to connect to the monitor via HDMI. I tried all these combinations with zero success:
Mac mini -> HDMI cable -> monitor (result: fuzzy and blurry image)
Mac mini -> displayport –HDMI adapter-> HDMI cable -> monitor (result: fuzzy and blurry image)
Mac mini -> displayport –DVI adapter-> DVI-to-HDMI cable -> monitor (result: it gives me a blank screen, no image at all)
I’m running out of options. Don’t know what to do. The 24” monitor produces beautiful, crisp images when hooked to my Windows 7 PC. It looks horrible when connected to my brand new Mac Mini.
Any alternatives you may have come across? Please let me know, thank you. -
After displaying result of report, my report goes back to source code edito
Hello experts,
I am currently having a big problem with my report. Here is the problem, after displaying the
result(write), when I press BACK button it is not going back to my selection-screen which is the
usual for reports. Now, what happens is that it goes back to the source code or worse, to the main menu of SAP.
What I want to do is that when I press BACK button it should go to either selection-screen 500 or
selection-screen 1500.
Here's a rough flow of what is happening in my report:
start report -> fetch records based on user input -> display results(not in ALV) ->
after displaying report, click 'BACK' button -> it goes back to source code
Now, here's what I want to do:
start report -> fetch records based on user input -> display results(not in ALV) ->
after displaying report, click 'BACK' button -> go back to either selection-screen 500 or 1500
or call again the transaction of my report.
Help would be greatly appreciated here.Hi guys,
Thanks again for the quick replies.Here is the source code:
REPORT zdealer_contacts NO STANDARD PAGE HEADING
LINE-COUNT 0
LINE-SIZE 255
MESSAGE-ID zz.
TYPE-POOLS: slis.
Data Dictionary Tables
TABLES: zts0001,
zsoemailid,
kna1,
zts_stpgeoloc.
Includes
*INCLUDE zun_globe_header. " Globe Telecom Report Header
Structures, internal tables and data declarations
TYPES: BEGIN OF t_upload,
kunnr LIKE zts0001-kunnr,
zaddress(100),
zcperson(30),
zcnumber(18),
END OF t_upload.
TYPES: BEGIN OF t_error,
kunnr LIKE zts0001-kunnr,
zaddress(100),
zcperson(30),
zcnumber(18),
END OF t_error.
TYPES: BEGIN OF t_kna1,
name1 LIKE kna1-name1,
END OF t_kna1.
TYPES: BEGIN OF t_zts0001,
kunnr LIKE zts0001-kunnr,
cdseq LIKE zts0001-cdseq,
zaddress LIKE zts0001-zaddress,
zcperson LIKE zts0001-zcperson,
zcnumber LIKE zts0001-zcnumber,
zactivated LIKE zts0001-zactivated,
name1 LIKE kna1-name1,
END OF t_zts0001.
DATA: it_upload TYPE STANDARD TABLE OF t_upload WITH HEADER LINE,
it_error TYPE STANDARD TABLE OF t_error WITH HEADER LINE,
it_kna1 TYPE STANDARD TABLE OF t_kna1 WITH HEADER LINE,
it_zts0001 TYPE STANDARD TABLE OF t_zts0001 WITH HEADER LINE.
DATA: it_ztstemp LIKE zts0001 OCCURS 100 WITH HEADER LINE,
it_ztstemp_gloc LIKE zts_stpgeoloc OCCURS 100 WITH HEADER LINE.
*AVH - start of insertion - 04/18/06
FIELD-SYMBOLS: <fs_zts0001> LIKE LINE OF it_zts0001.
**ALV Declarations
DATA: gt_fieldcat TYPE slis_t_fieldcat_alv,
g_repid LIKE sy-repid,
gs_layout TYPE slis_layout_alv,
gt_list_top_of_page TYPE slis_t_listheader,
gt_events TYPE slis_t_event WITH HEADER LINE,
gt_print TYPE slis_print_alv.
CONSTANTS: gc_top TYPE slis_formname VALUE 'TOP_OF_PAGE',
gc_topsum TYPE slis_formname VALUE 'TOP_OF_LIST',
gc_ucomm TYPE slis_formname VALUE 'USER_COMMAND'.
*AVH - end of insertion
Variables
DATA: v_kunnr LIKE zts0001-kunnr,
v_title(100) TYPE c,
gc_kunnr(06) TYPE c,
v_compflag(1) TYPE c,
v_flag(1).
Selection Screen
*AVH - start of modification - 06/27/06
*if user is controller, selection-screen 500 will be called else,
*selection-scren 1500 will be called.
*selection-screen for controllers
SELECTION-SCREEN BEGIN OF SCREEN 500.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pr_upld RADIOBUTTON GROUP grp2 USER-COMMAND ucomm1.
SELECTION-SCREEN COMMENT 2(20) text-007 FOR FIELD pr_upld.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 03(15) text-a11 FOR FIELD p_flnme.
PARAMETERS: p_flnme LIKE rlgrap-filename DEFAULT 'C:\'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pr_list1 RADIOBUTTON GROUP grp2.
SELECTION-SCREEN COMMENT 2(7) text-003 FOR FIELD pr_list1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN END OF SCREEN 500.
*selection-screen for non-controllers.
SELECTION-SCREEN BEGIN OF SCREEN 1500.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(22) text-002 FOR FIELD p_dcode.
PARAMETERS: p_dcode LIKE vbak-kunnr,
p_name1 LIKE kna1-name1.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pr_list2 RADIOBUTTON GROUP grp USER-COMMAND ucomm2.
SELECTION-SCREEN COMMENT 2(7) text-003 FOR FIELD pr_list2.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pr_add RADIOBUTTON GROUP grp.
SELECTION-SCREEN COMMENT 2(3) text-005 FOR FIELD pr_add.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: pr_edit RADIOBUTTON GROUP grp.
SELECTION-SCREEN COMMENT 2(4) text-006 FOR FIELD pr_edit.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 03(20) text-a12 FOR FIELD p_code.
PARAMETERS: p_code LIKE zts0001-cdseq.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b2.
SELECTION-SCREEN END OF SCREEN 1500.
INITIALIZATION.
SELECT SINGLE kunnr comp_flag INTO (gc_kunnr,v_compflag)
FROM zsoemailid
WHERE bname = sy-uname.
IF sy-subrc <> 0.
MESSAGE i000 WITH
'You are not authorised to use this transaction'.
LEAVE PROGRAM.
ENDIF.
IF v_compflag = 'X'.
CALL SCREEN 500.
ELSE.
CALL SCREEN 1500.
ENDIF.
*AVH - end of modification
AT SELECTION-SCREEN OUTPUT.
PERFORM authority_check.
added by derick 050125
**-changed by weng rulloda 06012005
*AVH - start of insertion - 05/22/06
*no need to get value of kunnr from global memory
*since gc_kunnr would be filled via the select statement below
GET PARAMETER ID 'KUN' FIELD gc_kunnr.
*AVH - end of insertion
p_dcode = gc_kunnr.
*AVH - start of insertion - 05/22/06
**fetch the respective description of dealer based from p_dcode
**and put in parameter p_name1
SELECT SINGLE name1 FROM kna1
INTO p_name1
WHERE kunnr = p_dcode.
*AVH - end of insertion
*AVH - start of insertion - 05/22/06
**selection-screen parameters is based if user is controller or not.
**created new selection-screen conditions based from orig. code
v_kunnr = gc_kunnr.
LOOP AT SCREEN.
IF screen-name = 'P_DCODE'.
screen-input = '0'.
screen-output = '1'.
MODIFY SCREEN.
ELSEIF screen-name = 'P_NAME1'.
screen-input = '0'.
screen-output = '1'.
MODIFY SCREEN.
ELSEIF screen-name = 'P_CODE'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
IF pr_list2 = 'X' OR pr_add = 'X'.
LOOP AT SCREEN.
IF screen-name = 'P_CODE'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSEIF pr_edit = 'X'.
LOOP AT SCREEN.
IF screen-name = 'P_CODE'.
screen-input = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
IF pr_list1 = 'X'.
LOOP AT SCREEN.
IF screen-name = 'P_FLNME'.
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
*AVH - end of modification
AT SELECTION-SCREEN.
CHECK sy-ucomm = 'UCOMM1' OR sy-ucomm = 'UCOMM2'.
*AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_flnme.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_flnme.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
mask = ',.,..'
mode = 'O'
title = 'File Selection'
IMPORTING
filename = p_flnme
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5.
*AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_code.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_code.
DATA : BEGIN OF itab_list OCCURS 0,
kunnr LIKE zts0001-kunnr,
cdseq LIKE zts0001-cdseq,
zaddress LIKE zts0001-zaddress,
zcperson LIKE zts0001-zcperson,
zcnumber LIKE zts0001-zcnumber,
END OF itab_list.
DATA: tab_fields LIKE dfies OCCURS 0 WITH HEADER LINE,
tab_valuetab(100) TYPE c OCCURS 0 WITH HEADER LINE.
DATA: tab_dynnr TYPE sy-dynnr.
DATA: BEGIN OF tab_return_tab OCCURS 0.
INCLUDE STRUCTURE ddshretval.
DATA: END OF tab_return_tab.
DATA: progname LIKE sy-repid.
CLEAR: tab_valuetab[], tab_fields[].
SELECT kunnr cdseq zaddress zcperson zcnumber
INTO CORRESPONDING FIELDS OF TABLE itab_list
FROM zts0001
WHERE kunnr = v_kunnr.
tab_dynnr = sy-dynnr.
tab_fields-tabname = 'ZTS0001'.
tab_fields-fieldname = 'KUNNR'.
APPEND tab_fields.
tab_dynnr = sy-dynnr.
tab_fields-tabname = 'ZTS0001'.
tab_fields-fieldname = 'CDSEQ'.
APPEND tab_fields.
tab_fields-tabname = 'ZTS0001'.
tab_fields-fieldname = 'ZADDRESS'.
APPEND tab_fields.
tab_fields-tabname = 'ZTS0001'.
tab_fields-fieldname = 'ZCPERSON'.
APPEND tab_fields.
tab_fields-tabname = 'ZTS0001'.
tab_fields-fieldname = 'ZCNUMBER'.
APPEND tab_fields.
LOOP AT itab_list.
tab_valuetab = itab_list-kunnr.
APPEND tab_valuetab.
tab_valuetab = itab_list-cdseq.
APPEND tab_valuetab.
tab_valuetab = itab_list-zaddress.
APPEND tab_valuetab.
tab_valuetab = itab_list-zcperson.
APPEND tab_valuetab.
tab_valuetab = itab_list-zcnumber.
APPEND tab_valuetab.
ENDLOOP.
progname = sy-repid.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'CDSEQ'
dynpprog = progname
dynpnr = '1000'
dynprofield = 'P_CODE'
TABLES
value_tab = tab_valuetab
field_tab = tab_fields
return_tab = tab_return_tab
EXCEPTIONS
OTHERS = 0.
START-OF-SELECTION.
IF pr_edit = 'X' AND p_code IS INITIAL.
MESSAGE i008 WITH 'Please specify a ship-to code.'.
LEAVE TO TRANSACTION 'ZDCONTACT'.
ENDIF.
PERFORM get_data.
IF pr_upld = 'X'.
PERFORM upload_file.
ELSEIF pr_add = 'X'.
PERFORM add_record.
ELSEIF pr_edit = 'X'.
PERFORM edit_record.
ELSEIF pr_list1 = 'X' OR pr_list2 = 'X'.
PERFORM display_alv.
ENDIF.
END-OF-SELECTION.
based from ALV PF-STATUS
IF sy-ucomm = '&F03'. "BACK
LEAVE TO TRANSACTION 'ZDCONTACT'.
ELSEIF sy-ucomm = '&F15'. "EXIT
LEAVE TO TRANSACTION 'ZDCONTACT'.
ELSEIF sy-ucomm = '&F12'. "CANCEL
LEAVE TO TRANSACTION 'ZDCONTACT'.
ENDIF.
*& Form authority_check
FORM authority_check.
CALL FUNCTION 'AUTHORITY_CHECK'
EXPORTING
field1 = 'TCD' "MDM
object = 'S_TCODE'
user = sy-uname
value1 = 'ZMEN'
VALUE3 = '01' MDM
EXCEPTIONS
user_dont_exist = 1
user_is_authorized = 2
user_not_authorized = 3
user_is_locked = 4
OTHERS = 5.
IF sy-subrc NE 2.
**-added by weng 04/28/2006
**-if user is not authorized to use dealer portal check if he is
**- authorized to use the tcode ZDCONTACT
CALL FUNCTION 'AUTHORITY_CHECK'
EXPORTING
field1 = 'TCD' "MDM
object = 'S_TCODE'
user = sy-uname
value1 = 'ZDCONTACT'
VALUE3 = '01' MDM
EXCEPTIONS
user_dont_exist = 1
user_is_authorized = 2
user_not_authorized = 3
user_is_locked = 4
OTHERS = 5.
**-weng
IF sy-subrc NE 2.
MESSAGE i000 WITH
'You are not authorised to use this transaction'.
LEAVE PROGRAM.
ENDIF.
ENDIF.
ENDFORM. " AUTHORITY_CHECK
*& Form get_data
FORM get_data.
*AVH - start of insertion - 04/19/06
**records selected from table zts0001 that has been marked as
**activated will be fetched otherwise, ignore.
IF v_kunnr IS INITIAL.
SELECT * INTO CORRESPONDING FIELDS OF TABLE it_zts0001
FROM zts0001.
ELSEIF v_compflag = 'X'.
SELECT * INTO CORRESPONDING FIELDS OF TABLE it_zts0001
FROM zts0001.
ELSE.
SELECT * INTO CORRESPONDING FIELDS OF TABLE it_zts0001
FROM zts0001
WHERE kunnr = v_kunnr.
ENDIF.
*AVH - start of insertion - 05/24/06
**fetch name based from kunnr and put in itab
LOOP AT it_zts0001 ASSIGNING <fs_zts0001>.
SELECT SINGLE name1 FROM kna1
INTO <fs_zts0001>-name1
WHERE kunnr = <fs_zts0001>-kunnr.
ENDLOOP.
*AVH - end of insertion
ENDFORM. " get_data
*& Form Upload_file
FORM upload_file.
DATA: lv_seq(5) TYPE n,
lv_ctr(5) TYPE c,
lv_kunnr LIKE it_upload-kunnr.
v_title = 'Upload from File'.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
filename = p_flnme
filetype = 'DAT'
TABLES
data_tab = it_upload
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE i008 WITH 'File does not exist.'.
IF v_compflag IS INITIAL.
LEAVE TO TRANSACTION 'ZDCONTACT'.
ELSE.
LEAVE TO TRANSACTION 'ZDCONTACT'.
ENDIF.
ENDIF.
CHECK sy-subrc EQ 0.
DELETE it_upload
WHERE zaddress EQ space
AND zcperson EQ space
AND zcnumber EQ space.
SORT it_zts0001 BY kunnr ASCENDING cdseq DESCENDING.
SORT it_upload BY kunnr ASCENDING.
LOOP AT it_upload.
lv_kunnr = it_upload-kunnr.
AT NEW kunnr.
AVH - start of insertion - 06/30/06
SELECT SINGLE kunnr FROM zsoemailid
INTO lv_kunnr
WHERE kunnr = it_upload-kunnr.
if it_upload-kunnr is not found in table ZSOEMAILID, it will
not be included in the upload.
IF sy-subrc <> 0.
DELETE it_upload.
CLEAR it_upload.
CONTINUE.
ENDIF.
AVH - end of insertion
READ TABLE it_zts0001 WITH KEY kunnr = lv_kunnr.
IF sy-subrc EQ 0.
lv_seq = it_zts0001-cdseq.
ELSE.
CLEAR lv_seq.
ENDIF.
ENDAT.
IF it_upload-zaddress IS INITIAL.
MOVE-CORRESPONDING it_upload TO it_error.
APPEND it_error.
CLEAR it_error.
ELSE.
REPLACE '"' WITH '' INTO it_upload-zaddress.
REPLACE '"' WITH '' INTO it_upload-zaddress.
REPLACE '"' WITH '' INTO it_upload-zcperson.
REPLACE '"' WITH '' INTO it_upload-zcperson.
CONDENSE it_upload-zaddress.
CONDENSE it_upload-zcperson
ADD 1 TO lv_seq.
MOVE: it_upload-kunnr TO it_ztstemp-kunnr,
lv_seq TO it_ztstemp-cdseq,
it_upload-zaddress TO it_ztstemp-zaddress,
it_upload-zcperson TO it_ztstemp-zcperson,
it_upload-zcnumber TO it_ztstemp-zcnumber,
'X' TO it_ztstemp-zactivated,
sy-uname TO it_ztstemp-zcreated_by,
sy-datum TO it_ztstemp-zchanged_date.
MOVE-CORRESPONDING it_ztstemp TO it_ztstemp_gloc.
APPEND: it_ztstemp, it_ztstemp_gloc.
CLEAR: it_ztstemp, it_ztstemp_gloc.
ENDIF.
ENDLOOP.
IF NOT it_ztstemp[] IS INITIAL.
INSERT zts0001 FROM TABLE it_ztstemp.
INSERT zts_stpgeoloc FROM TABLE it_ztstemp_gloc.
WRITE:/ 'List of Records Uploaded.' COLOR 1 INTENSIFIED ON.
FORMAT COLOR 1 INTENSIFIED OFF.
WRITE:/(020) 'Dealer Code' CENTERED,
(007) 'Code' CENTERED,
(100) 'Address',
(030) 'Contact Person' CENTERED,
(018) 'Contact Number' CENTERED.
FORMAT COLOR OFF.
WRITE:/(179) sy-uline.
DESCRIBE TABLE it_ztstemp LINES lv_ctr.
SORT it_ztstemp BY kunnr cdseq.
LOOP AT it_ztstemp.
WRITE:/(020) it_ztstemp-kunnr,
(007) it_ztstemp-cdseq,
(100) it_ztstemp-zaddress,
(030) it_ztstemp-zcperson,
(018) it_ztstemp-zcnumber.
ENDLOOP.
SKIP 1.
WRITE:/ 'TOTAL :', lv_ctr.
ENDIF.
IF NOT it_error[] IS INITIAL.
SKIP 2.
FORMAT COLOR 1 INTENSIFIED OFF.
WRITE:/(020) 'Dealer Code' CENTERED,
(030) 'Contact Person' CENTERED,
(018) 'Contact Number' CENTERED.
FORMAT COLOR OFF.
WRITE:/(070) sy-uline.
DESCRIBE TABLE it_error LINES lv_ctr.
SORT it_error BY kunnr zcperson.
LOOP AT it_error.
WRITE:/ 'With No Address.' COLOR 6 INTENSIFIED ON.
WRITE:/(020) it_error-kunnr,
(030) it_error-zcperson,
(018) it_error-zcnumber.
ENDLOOP.
SKIP 1.
WRITE:/ 'TOTAL :', lv_ctr.
ENDIF.
ENDFORM. " Upload_file
*& Form add_record
FORM add_record.
v_title = ''.
IF NOT v_kunnr IS INITIAL.
SUBMIT zdealer_contacts_add_edit AND RETURN
WITH p_kunnr = v_kunnr
WITH p_name1 = p_name1 "AVH
WITH p_cdseq = space
WITH p_flag = 'A'
WITH p_addr = it_zts0001-zaddress
WITH p_pers = it_zts0001-zcperson
WITH p_numb = it_zts0001-zcnumber
VIA SELECTION-SCREEN.
ENDIF.
LEAVE TO TRANSACTION 'ZDCONTACT'.
ENDFORM. " add_record
*& Form edit_record
FORM edit_record.
v_title = ''.
READ TABLE it_zts0001 WITH KEY kunnr = v_kunnr
cdseq = p_code.
IF sy-subrc EQ 0.
SUBMIT zdealer_contacts_add_edit AND RETURN
WITH p_kunnr = v_kunnr
WITH p_name1 = p_name1 "AVH
WITH p_cdseq = p_code
WITH p_flag = 'E'
WITH p_addr = it_zts0001-zaddress
WITH p_pers = it_zts0001-zcperson
WITH p_numb = it_zts0001-zcnumber
WITH v_controller = v_compflag
VIA SELECTION-SCREEN.
ELSE.
MESSAGE i008 WITH 'No record found.'.
CALL TRANSACTION 'ZDCONTACT'.
ENDIF.
LEAVE TO TRANSACTION 'ZDCONTACT'.
ENDFORM. " edit_record
*& Form display_records
*FORM display_records.
IF NOT it_zts0001[] IS INITIAL.
v_title = 'List of Dealer Contacts'.
FORMAT COLOR 1 INTENSIFIED OFF.
WRITE:/(020) 'Customer Number' CENTERED,
(007) 'Code' CENTERED,
(100) 'Address',
(030) 'Contact Person' CENTERED,
(018) 'Contact Number' CENTERED.
FORMAT COLOR OFF.
WRITE:/(179) sy-uline.
SORT it_zts0001 BY kunnr cdseq.
LOOP AT it_zts0001.
WRITE:/(020) it_zts0001-kunnr,
(007) it_zts0001-cdseq,
(100) it_zts0001-zaddress,
(030) it_zts0001-zcperson,
(018) it_zts0001-zcnumber.
ENDLOOP.
ELSE.
MESSAGE i008 WITH 'No records to display.'.
ENDIF.
*ENDFORM. " display_records
*& Form display_alv
FORM display_alv.
SORT it_zts0001 BY kunnr cdseq.
PERFORM f_build_layout USING gs_layout.
PERFORM f_init_fieldcat USING gt_fieldcat[].
PERFORM f_init_events USING 'BACK' gt_events[].
g_repid = sy-repid.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = g_repid
i_callback_top_of_page = 'TOP_OF_PAGE'
i_callback_user_command = 'USER_COMMAND'
is_layout = gs_layout
it_fieldcat = gt_fieldcat[]
it_events = gt_events[]
i_save = 'X'
it_sort = gt_sort
TABLES
t_outtab = it_zts0001[]
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " DISPLAY_ALV
FORM top_of_page *
FORM top_of_page.
*ALV Header declarations
DATA: t_header TYPE slis_t_listheader,
wa_header TYPE slis_listheader,
t_line LIKE wa_header-info,
lv_title(60),
lv_user(60),
lv_date(10),
lv_time(10),
lv_time_n_date(30),
lv_dcode_n_name(150),
lv_dlr_n_desc(100),
ld_lines TYPE i,
ld_linesc(10) TYPE c.
Title
CLEAR: lv_title, wa_header.
MOVE sy-title TO lv_title.
wa_header-typ = 'H'.
wa_header-info = lv_title.
APPEND wa_header TO t_header.
CLEAR wa_header.
User
CLEAR: lv_user, wa_header.
CONCATENATE: 'Generated by:' sy-uname
INTO lv_user SEPARATED BY space.
wa_header-typ = 'A'.
wa_header-info = lv_user.
APPEND wa_header TO t_header.
CLEAR wa_header.
*Date and time
CLEAR: lv_date, lv_time.
WRITE: sy-datum TO lv_date MM/DD/YYYY,
sy-uzeit TO lv_time USING EDIT MASK '__:__:__'.
CONCATENATE: 'Generated on:' lv_date lv_time
INTO lv_time_n_date SEPARATED BY space.
wa_header-typ = 'A'.
wa_header-info = lv_time_n_date.
APPEND wa_header TO t_header.
CLEAR wa_header.
IF NOT v_kunnr IS INITIAL AND v_compflag IS INITIAL.
*Dealer code and name
CONCATENATE: 'Dealer:' p_dcode p_name1
INTO lv_dcode_n_name SEPARATED BY space.
wa_header-typ = 'A'.
wa_header-info = lv_dcode_n_name.
APPEND wa_header TO t_header.
CLEAR wa_header.
ENDIF.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = t_header.
ENDFORM. " TOP_OF_PAGE
FORM f_build_layout *
--> %LAYOUT *
FORM f_build_layout USING %layout TYPE slis_layout_alv.
%layout-zebra = 'X'.
%layout-colwidth_optimize = 'X'.
ENDFORM. " F_BUILD_LAYOUT
FORM f_init_fieldcat *
--> %FIELDCAT *
FORM f_init_fieldcat USING %fieldcat TYPE slis_t_fieldcat_alv.
DATA: lc_fieldcat TYPE slis_fieldcat_alv.
CLEAR lc_fieldcat.
DEFINE m_field.
add 1 to lc_fieldcat-col_pos.
lc_fieldcat-fieldname = &1.
lc_fieldcat-outputlen = &2.
lc_fieldcat-seltext_l = &3.
lc_fieldcat-do_sum = &4.
lc_fieldcat-inttype = &5.
lc_fieldcat-hotspot = &6.
lc_fieldcat-fix_column = &7.
lc_fieldcat-ddictxt = 'L'.
lc_fieldcat-no_zero = 'X'.
append lc_fieldcat to %fieldcat.
END-OF-DEFINITION.
IF v_kunnr IS INITIAL.
m_field 'KUNNR' '5' 'Dealer Code' '' '' '' ''.
ENDIF.
IF v_compflag = 'X'.
m_field 'KUNNR' '5' 'Dealer Code' '' '' '' ''.
ENDIF.
IF v_compflag = 'X'.
m_field 'NAME1' '40' 'Dealer Name' '' '' '' ''.
ENDIF.
m_field 'CDSEQ' '05' 'Ship-To Code' '' '' '' ''.
m_field 'ZADDRESS' '100' 'Address' '' '' '' ''.
m_field 'ZCPERSON' '30' 'Contact Person' '' '' '' ''.
m_field 'ZCNUMBER' '18' 'Contact Number' '' '' '' ''.
IF v_kunnr IS INITIAL.
m_field 'NAME1' '40' 'Dealer Name' '' '' '' ''.
ENDIF.
m_field 'ZACTIVATED' '1' 'Activated' '' '' '' ''.
ENDFORM. " f_init_fieldcat
FORM f_init_events *
--> P_TYPE *
--> %EVENTS *
FORM f_init_events USING p_type CHANGING %events TYPE slis_t_event.
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = %events
EXCEPTIONS
list_type_wrong = 1
OTHERS = 2.
IF sy-subrc = 0.
PERFORM f_build_events USING: slis_ev_user_command.
IF p_type = 'TOP'.
PERFORM f_build_events USING: gc_top.
ELSEIF p_type = 'SUM'.
PERFORM f_build_events_sum USING: gc_topsum.
ENDIF.
ELSE.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " F_INIT_EVENTS
FORM user_command *
--> P_UCOMM *
--> P_SELFIELD *
FORM user_command USING p_ucomm LIKE sy-ucomm
p_selfield TYPE slis_selfield.
CASE p_ucomm.
WHEN 'E'.
CALL SELECTION-SCREEN 500.
ENDCASE.
ENDFORM.
FORM f_build_events *
--> %EVENT *
FORM f_build_events USING %event.
READ TABLE gt_events WITH KEY name = %event.
IF sy-subrc = 0.
MOVE: %event TO gt_events-form.
MOVE 'USER_COMMAND' TO gt_events-form.
MODIFY gt_events INDEX sy-tabix.
ENDIF.
ENDFORM. " F_BUILD_EVENTS -
Problem with filling nodes of a context with data
hi,
i've got the following problem with filling a controller context:
the context of the controller looks like:
Context
|-Node1 0..n singleton
|-Subnode1 0..n singleton
| |-SubVal1.1
| |-SubVal1.2
|-Subnode2 0..n singleton
| |-Subval2.1
| |-Subval2.2
|-Val1.1
|-Val1.2
that means every Element of Node1 should have its own Subnode-Elements & Val1-Values
in wdDoInit() of the controller I fill the context like this:
Collection Node1, SubNode1, SubNode2
for (Iterator iter = Node1.iterator(); iter.hasNext;) {
newNode1NodeElement = wdContext.createNode1Element();
newNode1NodeElement.set... //setting the values
wdContext.nodeNode1().addElement(newNode1NodeElement);
for (Iterator iter2=Subnode1.iterator(); iter2.hasNext;) {
newSubnode1NodeElement = wdContext.createSubnode1Element();
newSubNode1NodeElement.set... // setting the SubVal1.x
wdContext.nodeSubnode1.addElement(newSubnode1NodeElement);
for (Iterator iter3=SubNode2.iterator(); iter3.hasNext;) {
newSubnode2NodeElement = wdContext.createSubnode2Element();
newSubNode2NodeElement.set... // setting the SubVal2.x
wdContext.nodeSubnode2.addElement(newSubnode2NodeElement);
i've got the impression, that <b>all</b> my SubNodes are filled in the <b>first</b> Node1-Element. is there an error in the code above? because in the first place, i see every values in the first Element of Node1-views and if i navigate to the next Element of Node1, every views are empty.
for every Node (Node1, Subnode1, Subnode2) i've got an own view, that maps its context to the corresponding Node of the controller context, e.g for the SubNode1-View:
Context Context
| ....
|- ViewNode ---> ..|- Subnode1
|- SubVal1.1 ---> .. |-SubVal1.1
|- SubVal1.2 ---> .. |-SubVal1.2
in these views, i navigate through the nodes via
wdContext.nodeViewNode().move...()
in the SubNode1-View i see the SubVal1.1, SubVal1.2 (that's what i want) <b>and</b> additional SubVal2.1, SubVal2.2 (that's what I don't want...)
kind regards, achim
ps: i've studied the Master/Detail-Tutorial and i think the choice for cardinality 0..n and type singleton is correct in my case.hmm, let's look at the code:
for (Iteration Node1) {
newNode1NodeElement = wdContext.createNode1Element();
wdContext.nodeNode1().addElement(newNode1NodeElement);
for (Iteration SubNode1) {
newSubNode1NodeElement = wdContext.createSubNodeXElement();
newNode1NodeElement.nodeSubNode1().addElement(newSubNode1NodeElement);
for (Iteration SubNode1.1) {
newSubNode1.1NodeElement = <b>wdContext</b>.createSubNode1.1Element();
newSubNode1NodeElement.nodeSubNode1.1.addElement(newSubNode1.1NodeElement);
for (Iteration SubNode2) {
newSubNode2NodeElement = wdContext.createSubNode2Element();
newNode1NodeElement.nodeSubNode2.addElement(newSubNode2NodeElement);
is there an error in creating the SubNode1.1-Node (bold line)?
if the code is correct, perhaps it's only a viewing problem:
i use views that point on every node and display the values in that node. if i move in the view for Node1 to another node, the values for SubNode1 point to the correct values too, but the values for SubNode1.1 still stay on the old values. is the move of a grandfather node not correctly propagated to his first child?
kr, achim -
Display results of MySQL query from AMFPHP by ArrayCollection in AS3 (Flash CS4)
Hi, i am using Flash CS4 (AS3) + AMFPHP + MySQL to do own flash frontend for Wordpress CMS. Everything is going fine but i`ve got one problem. Problem with properly display of result of query in AS3 by using ArrayCollection.
When i check my service in "amfphp/browser/" in web browser i`ve got this (with all needed data):
(mx.collections::ArrayCollection)#0
filterFunction = (null)
length = 2
list = (mx.collections::ArrayList)#1
length = 2 source = (Array)#2
That is the reason that i suppose that service work fine. Problem is when i try to display result in AS3. In actionscript i have got this:
function getNewsListHandler(result:Object):void{
trace(result);
This function displays: [object Object].
I know that "result" is an ArrayCollection type but i don`t know how to get rows and columns from this. I know that my data is there but i have no idea how to get it.
Clarify: I don`t know how to get to Arrays and simple data variables which are in ArrayCollection.
Could anyone help me with that problem. I would be gratefull
P.S. I tried also change query type in service.PHP for mysql_fetch_query but in that case i`ve got only one row (not all data).Thanks for fast reply,
arr_coll:ArrayCollection = new ArrayCollection ({col1:"data1",col2:"data2"}, {col1:"data3",col2:"data4"});
you would get the data like
var resultstr:String = arr_coll[1][1].col2;
trace(resultstr);
//results in data4
could you explain me how it was happen (arr_coll[1][1].col2)? It`s not clear to me. I thought in this case rather something like this :
var resultstr:String = arr_coll[1]['col2'];
It should give me "data4". I know it wasn`t but i don`t understand ArrayCollection in level which is needed to use your advice in my case. Could you clarify "arr_coll[1][1].col2" a bit?
What would it look like when you would have something like this:
arr_coll:ArrayCollection = new ArrayCollection ({col1:"data1",col2:"data2"}, {col1:"data3",col2:"data4"},{col1:"data5",col2:"data6"},{col1:"data7",col2:"data8"});
and you would want know f.e. position in ArrayCollection of "data6". How would you code this? arr_coll[1][2].col2? -
Slow down issue with Premiere CS4 on a Mac pro
I am having a similar slow down issue with Premiere CS4 on a Mac pro, but I don't have bloated prproj file size.
Here is what I am working with:
Mac Pro intel quad core 2.8ghz
OSX 10.6.7 Snow Leopard
6Gigs RAM
3TB storage between 4 drives, each drive with about 50% free space
I am editing a 10 minute HD video from avchd files. The edited video is very heavy in photoshop files with a variety of different fx including green screen. The system has slowed down to almost a standstill. Anytime I move the playcurser, or try to do any action, it displays the spinning top "thinking" icon and takes 15 seconds to several minutes to unfreeze. I am often forced to force quit and I have gotten unexpected quits several times. The program also freezes on startup frequently.
No other programs are running. When I export with media encoder, it took about 4 hours to complete. The last 4 or so photoshop images I added seemed to tip the program over the edge. It had been slowing down some, but those last few really dropped the processing speed. Before those additions, export took 30 min to 1hr.
I did delete the render files (did not check if the file size was bloated beforehand, oops) but it has not significantly affected my performance.Do you need all of those extra pixels in the stills? Are you panning the full 4976?
Two things to consider are that if you using, say a 1920 x 1080 Sequence Frame Size, you can only see that at any time, regardless of how large the images are in pixels. If there are extra pixels, i.e. the Pan is not using all 4976 pxls., I would Scale to just what you need in PS, prior to Import.
If you are doing any Scale in PrPro, its Scaling algorithms are not as efficient, as those in PS. [Note: CS5 and 5.5 are a major improvement on that statement.]
With many large stills (the max for CS4 is 4096 x 4096, if there ARE extra pixels, pushing those around will use up resources, and quickly. As a test, some years back, I was working on a "photo wall," and was using 4000 x 4000 images. The workstation had no issues with slowness, until I got to the 5th large still. By the 8th, the Project was too slow to edit. I had to wait for everything. Luckily, I have AE, and it handles large stills much more efficiently, and much differently, than PrPro. I just moved to an AE Comp, and completed the Project, finishing up n PrPro, after I Exported from AE.
Just something to think about. With Scaling in PrPro, this is one time, where bigger is not necessarily better.
Good luck,
Hunt -
Video Display Problems with Flex Builder 2
I am currently trying out the Flex Builder 30-day trial and
have been having problems running the software.
System info:
FB 2.0.1
Dell Latittude D820 running WinXP
NVIDIA Quadro NVS 120M Video Card
When I first installed it, my display turned to garbage and I
had to reboot my machine to get it to a usable state. Someone
suggested changing my display properties and see if it helped. When
I tried 768X1024 with 8-bit color it worked. Once I installed it, I
changed them back to 1920X1200 32-bit. Everything seemed to work
fine until I started getting into some more complicated tutorials.
My display crashed and looked similar to what I saw before. I
updated to the latest NVIDIA driver from Dell. No help. I then
tried the Windows Troubleshooting. When I turned my hardware
acceleration to None, it started working again. There are some
weird display issues with menu buttons and I can't launch my Nvdia
software.
Is there a better solution to this? Has anyone had this
problem? I'm not so sure I'll purchase the software with this many
problems.
Thanks,
WendiBoys n Girls
I am Currently restoring my Power Book after a significant meltdown.
Thanks for posting I too saw the shearing effect but shrugged it off thinking oh well I'll just reboot!
If you are seeing this Buy a fire wire drive NOW and Back-up.
I suspect the Video update changed a low level feature in the power management routines and this resulted in my Power book cooking itself.
I've got a 12mth old Hitachi 7200 PATA drive in my Power Book after the Apple Drive cooked itself soem tim back and I have now got to back-up and restore my whole system. Luckiliy I have plenty of Big fast firewire drives around so I'm imaging the corrupt drive and going to run the Hitachi tool on it via a WINDOZE Thinkpad. Then a combination of clean install of 10.5.x and a migration assisted restore should do it.
I'm really not very happy though! My Time machine image did not restore and the disk repair did not work. I have a corrupted asl.DB ( the log file for Apple System Logs) and the mac won't boot from its internal drive.
I'll post the resolution here as it happens I'm at hour Disaster + 24 so I'm really cranky!
I suggest If you have a G4 Power Book you resist the temptation to install the video update.
Regards -
How to simply display resulting text in a dialog Box
Is there a way to simply display resulting text in a dialog Box - not a text edit document?
Doug_Thanks that's very helpful
What I am trying to to is to create a workflow that opens mail and displays iCal TO DO's that I have created throughout the day tagged with the word MAIL so they can be filtered.
At the moment the ACTIONS are:
Launch Mail
Get New Mail
Find TO DOs in iCal (Who's SUMMERY includes MAIL)
I get iCal To Do's as a result
But then...I can find no options to display the iCal Events that result.
Putting in the Applescript you posted displays a blank dialog box. This tells me that there is no text in the result.
Yet if I put a SPEAK TEXT in after find TO DOs it dutifully speaks my filtered TO DO's
I thought I might just try a NEW MAIL MESSAGE action.
This works great in the workflow. The content of the new mail is the filtered TO DOs.
But if I save it as an application (the form I need it in), mail simply opens blank when it reached that part of the work flow.
What would you recommend?
Thank again for your help,
Doug_
Message was edited by: Douglas Suiter
Message was edited by: Douglas Suiter
Message was edited by: Douglas Suiter -
Different Risk Analysis Results with 10.0 and 10.1
Hello,
I do not understand why I get different results with 10.0 and 10.1. Exactly the same ruleset is applied!
Definition in 10.0 and 10.1:
Analyzed Role (which definitely contains the SOD):
Version GRC 10.0 finds the SOD S_FI14 and displays it. In 10.1 nothing is displayed...Any ideas what's the problem?
Regards
PeterWe had similar issues with 10 and 10.1.
We applied an SAP Note about logical groups and the ruleset, it did not work.
What did work:
When performing Risk Analysis, remove the Ruleset selection criteria (use the minus button). -
Wrong email display name with german umlauts (MS Exchange 2003)
We use 6 iPhones with Exchange 2003 and get wrong email display names with german umlauts (ä,ü,ö) - but the email-body is right.
We get special characters instead of umlauts, so the display name split into pieces. Anwering is not posipble - we get a failure-message.
We changed the standard-internet-mailformat on the exchange-server to unicode utf-8. First it works fine, after a few hours the names displays wrong again.
So we use this hotfix:
http://support.microsoft.com/?scid=kb%3Ben-us%3B916299&x=11&y=13
Same result: First it works fine, after a few hours the names displays wrong again at the iPhone.
Any ideas?Do you have commas in the display name? We used to have "Müller, Thomas" <[email protected]> and then got the split up and special characters you mention. Tests have shown that when leaving out the comma in the display name, e.g. "Thomas Müller" <[email protected]>, everything worked fine.
Guess it's a question of whether a company wants to change its naming convention for a few iPhone users...
HCD -
I need to write a java client that sends a query to server and display result in browser. I intend to call from the client the command 'cmd.exe /c start url' which will send a http request and bring up a browser for the result. But somehow if the url has more than one query argument, for example -- "http://hostname/test?node1=abc&node2=123", only everything before the "&" is taken, i.e. "http://hostname/test?node1=abc".
Another approach would be to do it step by step, send a regular http request, either the server or the client save the result to a file, then call 'cmd.exe /c start file_location'.
Does anyone have any better idea to work this out or why 'start url' wouldn't work? thanks.The command interpreter (cmd.exe) is interpreting the "&" and thus, is dropping everything after it.
e.g. Try this from a DOS prompt:
cls&echo hey
You get a clear screen, with "hey" at the top, and then the prompt.
Similarly, try this:
cmd.exe rem hello&echo goodbye
You get a new command prompt. Fine. Now exit that, and you get "goodbye" on the screen because that command was still queued up.
Maybe try using the hex equivalent for the "&" character?
Hope that sheds a little light - good luck!
Regards,
Nate -
Crystal Report Takes very long time to display results
Dear All,
I am new to Crystal reports. We have installed Crystal report developer 2008 SP3 on Windows7 Service pack 1. We are creating reports from SAP ECC 6 EHP 4 Ready in Crystal Reports. The problem we are facing is that every report which we have developed in Crtystal reports is taking around 1 to 2 hours to display results. the reports are pertaining to only one day or one month data. we have also switch off "Verify On First Refresh", "Verify Stored Procedures On First Refresh", "Verify Database" and we are also not saving data on report level as per the threads which are already posted in the forum pertaining to our problem.
You are requested to kindly guide me how I can improve the performance of our crystal reports.
Regards,
Danish.You select expert formula says enough. It would appear that little or no data filtering is being carried out on the database server. Thus all records will be returned to Crystal and then filtered locally.
You need to try and incorporate the logic of formula {@Form_PeriodCvn} into the select expert. Or build a view/stored procedure which returns a value compatible with your filtering requirements.
What is contents of formula {@Form_PeriodCvn}
Ian
Maybe you are looking for
-
Stock on particular date (performance issue)
Hi Folks, I m calculating stock at all vendor on a particular date. But it takes very long and time_out occurs. I m calculating opening closing provided return and rejection based on movement types. The report hangs up at following particular Join. S
-
Report to see the actual cost and Revenue..
Hi all, My Sales Cycle is Sales Order --> Delivery --> PGI --> Invoice --> and Accounting. When we do the PGI GOGS account entries will generate, When we do the Invoice Revenue and customer account entries will generate. Now my customer wants to see
-
Sound cutting in and out on Macbook Pro 15 (original) when waking display
When I wake the display from sleep, any audio that was playing when the system went to sleep - or rather, the display went to sleep (ie: pandora, QT movie, etc), immediately starts to cut in and out and gets glitchy. This happens as soon as I move my
-
What do I need to do to fix this problem?
-
Need Help with boot camp install, keep getting message can not install need
Hi Folks, I keep getting a message that the boot camp assistant can not install needs firmware update. All updates are currently installed. I have tried all available updates and hey ell me the computer doesn't need them???? Any help that you may pro