WEBUTIL_FILE.FILE_MULTI_SELECTION_DIALOG - Capturing results in Block?

PROCEDURE P_MULTI_FILE IS
vFile WEBUTIL_FILE.FILE_LIST;
BEGIN
vFile := WEBUTIL_FILE.FILE_MULTI_SELECTION_DIALOG ('C:\', '', 'FMB Files (*.fmb)|*.fmb|', NULL, OPEN_FILE, TRUE);
END;
I want to know how to interact with the results from WEBUTIL_FILE.FILE_MULTI_SELECTION_DIALOG. Following through the debugger I can see that each file is stored as an extension of the return variable
i.e. vFile(1) C:\Temp\AUTH.fmb, vFile(2) C:\Temp\SRCE.fmb
How can I tell how many items the User has selected? I want to be able to insert these values into a multi record block on the form. Any help would be greatly appreciated....

If anyone is interested I managed to figure it out:
DECLARE
  vFile  WEBUTIL_FILE.FILE_LIST;
  i  INTEGER := 1;
BEGIN
  WHILE vFile(i) IS NOT NULL LOOP
   :BLOCK.ITEM := vFile(i);
   i := i+1;
   CREATE_RECORD;
  END LOOP;
EXCEPTION
  WHEN no_data_found THEN
    DELETE_RECORD;
END;

Similar Messages

  • To capture results in the search of adobe reader

    When we wrote a string in the search of adobe reader, It returns a list of occurrences with texts summarized. Need I know how to capture these results?
    thanks

    Thank you for your help.
    I also found that Mozilla Firefox seemed to be part of the problem.
    Switched to google chrome and this seems to have made downloading pdf's possible again

  • Capturing results from a date range where dates are concatenated with text

    my issue_code column has results = OK and the date. An example would be OK20071001 where the last 8 digits is in the YYYYMMDD format.
    How can i calculate the # of PO#s that had OK as their issues during a given month.
    The sql below shows what i had but i get an error:
    SELECT count(unique(SAP_PO_NUMBER)
    FROM VENDOR_PURCHASE_ORDER
    WHERE SUBSTR(ISSUE_CODE,3,8) BETWEEN
    TO_CHAR('20071001', 'YYYYMMDD') AND TO_CHAR('20071101', 'YYYYMMDD')
    AND ISSUE_CODE LIKE 'OK%'

    I'm usually a fan of TO_DATE transformation myself. However in this case I don't feel it is neccessary. The column is already in VARCHAR2 and has a dateformat in an ordered fashion.
    why not simply do this:
    SELECT count(distinct SAP_PO_NUMBER)
    FROM VENDOR_PURCHASE_ORDER
    WHERE ISSUE_CODE LIKE 'OK200710%';This statement won't raise an error when skrewed date values are in this column. But I'm not sure if this realy is possible and which version is wanted.
    'OK20071043' => Should this result in an error or not?
    Message was edited by:
    Sven Weller

  • Extremely Wierd/Strange Capture Results

    I capture HD footage on a Dual 2.7 GHz PowerPC G5 with 4 GB DDR SDRAM in FCP. Everything works great until I get a tape that is half HD and half something else. The camera screen says the second half is SD but it is in HD dimensions. It will not let me capture any of it in any SD capturing presets. It will, however, capture in Apple Intermediate Codec. The quality is not as good as HD but I digress. It is going to be converted to DVD quality anyway. When I open the captued clips in the viewer it looks great and the audio is there too. However when I throw it in a sequence I get a bright chroma green box in the center. The audio is still there but for some reason the video is not. I have tried changing the sequence settings but nothing is working. Again, the HD works fine...but the second half of the tape (supposedly SD) is problematic...
    Any Ideas/Solutions/Questions/Comments/Concerns?

    You'll need to capture the material in it's native fomat... i.e. capture the first part as HDV, then capture the second part as DV for starters. The intermediate codec isn't really the best way to go here...
    Post what you are using as a playback device.... a camera? deck? etc.. does it need to switch it's playback settings or is this automatic or?
    Most HDV cameras shoot DV and HDV so likely that's what the "other" format is and you'll need to capture it as such.
    Jerry

  • Executing system commands and capturing results

    How do I get the result of executing a system command using Runtime? For example, if I execute "cmd /c dir", how do I get to the result of the dir command from the Process that is returned?

    Process p = Runtime.getRuntime.exec("...");
    InputStream in = p.getOutputStream();
    // now read the "in" stream just as you would any
    other stream.Slight typo getRuntime(), but it's close...

  • Divide Query Results in block

    Hi to everyone,
    i have to extract data from a table in block of five records.
    For exampe, if i have a table like this:
    CREATE TABLE test (a VARCHAR2(1));
    Where there are those values:
    INSERT INTO test (a) VALUES ('a');
    INSERT INTO test (a) VALUES ('b');
    INSERT INTO test (a) VALUES ('c');
    INSERT INTO test (a) VALUES ('d');
    INSERT INTO test (a) VALUES ('e');
    INSERT INTO test (a) VALUES ('f');
    INSERT INTO test (a) VALUES ('g');
    INSERT INTO test (a) VALUES ('h');
    INSERT INTO test (a) VALUES ('i');
    INSERT INTO test (a) VALUES ('l');
    INSERT INTO test (a) VALUES ('m');
    INSERT INTO test (a) VALUES ('n');
    INSERT INTO test (a) VALUES ('o');
    I'd like an output of the query like this:
    Pseudo_Column A
    1 a
    1 b
    1 c
    1 d
    1 e
    2 f
    2 g
    2 h
    2 i
    2 l
    3 m
    3 n
    3 o
    How is it possibile?
    Thanks for the help!
    Ale

    Hi,
    ranit B wrote:
    Is row_number() actually required?
    Why not just do ROWNUM/5?You can do this either with ROWNUM or ROW_NUMBER.
    As Fabio pointd out, with ROWNUM, you must use a sub-query if order is important. ROWNUM is assigned in the order that rows are fetched, and, in general, that order is arbitrary and inconsistent. The first 5 rows fetched from the table will not (in general) be the first 5 rows in order by column a (or any other column, for that matter). In fact, the first 5 rows fetched from the table now might not be the first 5 rows fetched from the table if you repeat the exact same query one minute from now. Using a very small table, the first 5 rows fetched will probably be the first 5 rows inserted, but that's not guaranteed. Re-arrange the INSERT statements and see what happens.
    The only way to be sure that ROWNUM reflects the order you want is to do an ORDER BY in a sub-query, and then use ROWNUM in the super-query. In that case, the super-query will be fetching rows form the sub-query, not the table, and the ORDER BY clause in the sub-query guarantees that the super-query will fetch the rows in the order you specified.
    With ROW_NUMBER, you do not need a sub-query just to display the number.

  • Webcam Specs vs. Capture Results

    Hi, I'm wondering if one can capture an image with any compatible webcam with a resolution higher than 640x480.
    The reason is that I'm doing this project that needs higher resolution images for processing. I've been looking around for a camera and most of the specs says that the camera can do 1024x768 captures but only 640x480 video.
    The way I do image captures is to get from video format and do a framegrabbercontrol.grabframe to get a buffer and get an image out of it. I'm just wondering if there are other ways to do image captures NOT first using video formats + framegrabbercontrol but just do an image capture and get the higher resolution as the camera specs claims they can do.
    I'd appreciate if anyone can help me out!

    Try the Java Twain from http://www.gnome.sk.
    It's an API which enables you to connect to a webcam and capture an image.
    Erika

  • Capturing payroll results

    Hi folks,
    want to capture payroll result in the master data and then to an adhoc query. Found an infotype Payroll Result (0402) and tried configuring the same in Personnel Management -> Human Resources Information System -> Payroll Results.
    In step 1: Define Evaluation Wage Types
    have maintained one entry /560 with Amount selected.
    In step 2: Assign Wage Types
    have maintained one entry of /560 as eval WT and /560 as corresponding WTyp.
    In step 3 : Set Up Payroll Infotypes
    have maintained 0402 for country grp 40 with Active / Generated Check which contains one entry of /560.
    In step 4: Set Up Assignment to Payroll
    have maintained 0402 with Active status.
    While preparing the adhoc query, could see a Zfield made by the system for capturing result of /560.
    Ran payroll for the employees and still this infotype has 0 records.
    Tried doing through RPABRI00 report with no success.
    Can someone please help me with this asap.
    Thanks in Advance !
    Cheers !
    Jack

    HI
    I think you can also fix cells in the interactive planning. Once user executed the forecast at lower level. They can fix the cell for particular KF. I think once you Fix the cell the values from the KF will not get changed.
    I think you can also fix cells using macro. All you need to do is define a simple
    macro with singe step and copy "Values" to "Fixed values" of the same
    key figure. This you define in "Change of scope" of result row
    attribute.
    Thanks
    Amol

  • Search Result Page Error

    Hi All,
       We have a trouble in SharePoint search result. we have custom page where we have search result webpart in it. Here, the site is anonymous and extended for it.
       The search webpart and pagination is working fine for authenticate users. When anonymous users search the result shows and we we click on the next page we are getting sorry something went wrong. Below are the exceptions we are getting
    Entering monitored scope (Request (POST:http:0/en/_vti_bin/client.svc/ProcessQuery)). Parent No  
    12/04/2014 10:56:19.60  w3wp.exe (0x5914)                        0x4C98 SharePoint Foundation          Logging Correlation Data       xmnv Medium  
    Name=Request (POST:http://80/en/_vti_bin/client.svc/ProcessQuery) e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:19.60  w3wp.exe (0x5914)                        0x4C98 SharePoint Foundation          Authentication Authorization   agb9s Medium   Non-OAuth
    request. IsAuthenticated=False, UserIdentityName=, ClaimsCount=0 e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.00  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          Asp Runtime                
       aj1kl High     [Forced due to logging gap, cached @ 12/04/2014 10:56:19.60, Original Level: Verbose] SPRequestModule.PreRequestExecuteAppHandler e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.00  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          Monitoring                
        aeap2 High     [Forced due to logging gap, Original Level: Verbose] Set diagnostics context correlationid {0}, trace level {1}, isDevdashboardenabled {2} e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.00  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          CSOM                  
            agw10 Medium   Begin CSOM Request ManagedThreadId=111, NativeThreadId=16640 e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.00  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          Logging Correlation Data       xmnv Medium  
    Site=/ e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.02  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          CSOM                  
            ai3c0 Medium   Do not Check SPBasePermissions.UseRemoteAPIs permission. Site.ClientObjectModelRequiresUseRemoteAPIsPermission=False, IisSettings.ClientObjectModelRequiresUseRemoteAPIsPermission=True e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.02  w3wp.exe (0x5914)                        0x4100 SharePoint Portal Server       Microfeeds                  
      aizmk High     serviceHost_RequestExecuting e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.05  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          General                
           xxpk Medium   Unable to open Lookup list '{d7966e0d-e36c-40c2-a2fe-adea5b11239b}'.[Error was 0x81020026] e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.05  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          General                
           xxpk Medium   Unable to open Lookup list '{030c1db3-ae0c-4049-81f4-f8fccb68d7b2}'.[Error was 0x81020026] e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.07  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          Database                
          fa42 Monitorable A large block of literal text was sent to sql (length 44546).  This can result in blocking in sql and excessive memory use on the front end.  Verify that no binary parameters are being passed as literals, and
    consider breaking up batches into smaller components.  If this request is for a SharePoint list or list item, you may be able to resolve this by reducing the number of fields. Call stack:    at Microsoft.SharePoint.Utilities.SqlSession.OnPostExecuteCommand(SqlCommand
    command, SqlQueryData monitoringData)     at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock)     at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean
    retryfordeadlock)     at Microsoft.SharePoint.SPSqlC... e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.07* w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          Database                  
        fa42 Monitorable ...lient.ExecuteQuery(Boolean retryfordeadlock)     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName,
    String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback,
    Boolean& pbMaximalView)     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags,
    ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallbac... e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.07* w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          Database                  
        fa42 Monitorable ...k, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)     at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient
    pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback,
    ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)     at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData()     at Microsoft.SharePoint.SPListItemCollection.get_Count()    
    at Microsoft.SharePoint.SPList.GetItemById(Str... e571d29c-2ca9-405a-40e9-cd516fdce52e
    12/04/2014 10:56:20.07* w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          Database                  
        fa42 Monitorable
    Please help me out
    Thanks in advance 

    Hi Moorthy,
    can you please enable below setting to get search result for anonymous access.
    To get rid of it please do the following.
    Under the SharePoint Site go to Site Settings.  Search Administration -> Search and offline availability -> Indexing ASPX Page Content, Enable the option "Always index all
    Web Parts on this site"
    Under Search Service Application, do a Full Crawl for the content source to resolve this issue.
    see below link for more details
    http://blogs.msdn.com/b/sowmyancs/archive/2010/07/16/sharepoint-2010-search-not-showing-any-results-for-anonymous-users.aspx
    Hope this will help you.
    Regards
    Soni K

  • Is there a way to promote results with exact match?

    Hi,
    Is there a way to promote (like add results block or something) results with exact match over results that match?
    (when stemming is on, so the search consider also words with morpholgy match, and sometimes display them at the top, and wWe want to put in top of the results a block of results with exact match)
    keren tsur

    HI,
    Yes you can promote the result with exact match.....
    1. Navigate to the search center
    2. Navigate to the search result setting page and click to the Query rule as per your scope.
    3. Create the new query rule depend upon your result source.
    4. Give the query rule name. Under the Query Condition-> select "Advanced Query Text Match"-> Select Option that you want form matches input->Make the Check box "Entire Query Matches Exactly".
    5. Create the promoted results and Result block as per your description.
    6. save the Query rule and apply the query rule to your search vertical.
    Regards,
    sharepoint for developer
    Basant Pandey

  • Capturing multiple formats

    Hi. I have an American JVC BR-DV3000 deck that is multisystem (PAL and NTSC) connected to my British G5. I need to be editing from mini-DV tapes from both formats. Everything worked fine with NTSC tapes. I assumed when i put in a PAL tape I would just change the sequence preset and the capture preset to PAL in A/V settings, but changing those presets to PAL, and changing all presets to PAL, and every other configuration doesn't work. Device Control seems to work, but preview is disabled and capturing results in an instantaneous error. Please help!
    G5   Mac OS X (10.4.4)  

    I have that deck. As Jerry said, look on the back and you'll see a PAL/NTSC switch. Set it and the deck will turn off, reboot, then come back on in the new format...
    Patrick

  • Blocking reasons

    Hi,
    There is a requirement to introduce a drop down in the ME53n screen in the status tab of the item overview of Purchase requisition.The purpose of introducing this drop down is to capture the customised blocking reasons like say 'rejected by quality' etc.We cannot enter these reasons in the text field due to reasons of data inconsistency.So we decided to add them as a drop down in the block ID i.e BLCKD field.But this field has only 2 possible entries 0 and 1 and we need to add 5 blocking reasons.Can anyone help on how to accommodate the 5 blocking reasons and capture them in PR.
    Thanks and Regards,
    Ramya

    Hi,
    I think you can do this with screen exit.
    Regards,
    Sunny

  • DB buffer cache vs. SQL query & PL/SQL function result cache

    Hi all,
    Started preparing for OCA cert. just myself using McGraw Hill's exam guide. Have a question about memory structures.
    Actually, DB buffer cache is used to copy e.g. SELECT queries result data blocks, that can be reused by another session (server process).
    There is also additional otion - SQL query & PL/SQL function result cache (from 11g), where also stored the results of such queries.
    Do they do the same thing or nevertheless there is some difference, different purpose?
    thanks in advance...

    There is also additional otion - SQL query & PL/SQL function result cache (from 11g), where also stored the results of such queries.Result cache located in shared pool.So it is one component of shared pool.When server process execute query(and if you configured result cache) then result will store in shared pool.Then next execution time run time mechanism will detect and consider using result cache without executing this query(if data was not changed this is happen detection time)
    Do they do the same thing or nevertheless there is some difference, different purpose?.Buffer cache and result cache are different things and purpose also,but result cache introduced to improve response time of query in 11g(but such mechanism also implemented in 10g subquery execution,in complex query).In buffer cache holds data blocks but not such results.
    Edited by: Chinar on Nov 4, 2011 4:40 AM
    (Removing lots of "But" word from sentences :-) )

  • Problems Capturing with my Panasonic DVX100A

    Good Day, (I have posted this problem in the past and have had little help)
    I have a Panasonic DVX100A camera, a 500 gig-24 inch iMac (under a year old), and a Macbook Pro (almost 2 years old) Both computers have the Leopard OS.
    Here's the problem: When I try to capture the footage from my Panasonic DVX100A onto FCE on my iMac, FCE says, "Unable to initialize video deck..." So I go to the easy set up function as I have read in previous threads.
    In the FORMAT tab, I click, "DV/Panasonic DVCPRO" and continue on. As I try each setting under the USE tab, I get the same message saying:
    "Unable to locate the following external devices: Apple Firewire NTSC (720 x 480)
    Your system configuration may have been changed...."
    I understand FCE cannot recognize my Panasonic Camera in any way, so I open iMovie 08 and try to capture my footage that way. Here's where it gets interesting - iMovie 08 on my iMac also doesn't recognize my Panasonic camera BUT iMovie 08 on my Macbook Pro does!
    So what I've been doing for the past few months is capturing my footage in iMovie 08 on my Macbook Pro and transferring it via Firewire to my iMac - then importing it to FCE where I can edit the footage.
    Does anyone know why my iMac will not recognize my Panasonic DVX100A in any program, yet my Macbook Pro does recognize it in iMovie 08?
    and
    Is there any advice as to what I can change/programs I can install/or anything I need to do for my iMac to start recognizing my camera so I don't need to do this ridiculous procedure every time I want to capture my footage and edit it with FCE?
    Please help!

    Tom,
    Im not too sure what the exact media on the tapes are, or where to find that but what I do know is that I use many different brands of Mini DV such as Fuji Film, TDK and Maxell. I don't have the technical skills attached with years of filming but I do know that all of my settings on the camera are turned off - in regards to recording mode, my "DV OUT" on my camera is turned ON.
    As for the presets in FCE, (the "EASY SET UP" option) I have tried them ALL and none of them seem to make any difference. And as for the firewire, the camera has a 4 pin firewire port and the iMac computer is a 6 pin. Im not too sure how much more info you want.
    The problem is, my camera - with the firewire attached to the Macbook Pro, is recognized in iMovie 08 and has no problem transferring the data, even with the exact same preference settings on both computers - yet the iMac won't recognize it in iMovie 08. I don't have FCE on my laptop so I don't know if it would recognize it as well on my Macbook.
    Another thing I should mention, is that I have an older JVC camcorder that records on the same DV tapes, and works perfectly well in FCE on my iMac. I attach the firewire and it's recognized and transfers the data perfectly. (I was told that you should record the footage, and playback the footage on a computer with the same device for best capturing results. So filming it on my DVX100A and playing it back in FCE on my JVC has been an option as well - but still a silly way to work with my gear.)
    The variable here, to me, seems to be my iMac and its compatibility to the Panasonic camera. The JVC works on both computers but the Panasonic only works on the laptop. I have also searched other video forums for this kind of problem, but I have had no luck. People have told me it works great on their computers.
    Does this help clarify my problem?
    Thanks

  • Query to get the details of Blocking and deadlock occurred for the Day

    Hi,
       I need a query to get the details of blocking and deadlock occurred for the day.

    You havent specified which version of SQL you are using which makes it difficult to give a solution. Assuming its latest versions , by default SQL Server (in any versions) doesnt track blocking information.
    You need to run some kind of queries/traces to capture blocking. The same goes with Deadlocks where majority of the DBA's enable trace flag 1222/1205 when they suspect deadlocks happening.
    Check this link -
    http://dba.stackexchange.com/questions/10644/deadlock-error-isnt-returning-the-deadlock-sql/10646#10646
    This link gives code to get historic deadlock information. I havent used it , I just googled to get that.
    That being said if you are looking for something to capture for the future check the below links.
    Check these links on how to setup extended events to capture deadlock and blocking.
    http://sqlblog.com/blogs/jonathan_kehayias/archive/2010/12/21/an-xevent-a-day-21-of-31-the-future-tracking-blocking-in-denali.aspx
    http://blogs.msdn.com/b/sqlserverfaq/archive/2013/04/27/an-in-depth-look-at-sql-server-memory-part-2.aspx
    http://blogs.technet.com/b/mspfe/archive/2012/06/28/how_2d00_to_2d00_monitor_2d00_deadlocks_2d00_in_2d00_sql_2d00_server.aspx
    HTH
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

Maybe you are looking for