APEX 4.2 / TextField / type="search"

Hello
Is anyone aware of an easy way to define a text field with "search" as the type. I would like to have this nice jQuery Mobile search icon in the text field.
Many thanks in advance for your help
Lukasz

Not sure how the last reply was posted without the content...anyways, posting again
Many of the sample packaged applications in Apex 4.2 (like Decision Maker, P-Track etc) have search fields on their home page. That should help you. BTW, you can follow the these steps:
1. Create a region to hold the textfield
2. Give the "sCustomSearch" class to the region as:
a. In the region header, input the following:
    <div class="sCustomSearch">
    b. Close the div in the region footer as:
    </div>
    3. Create a simple text field page item. In the "HTML Form Element Attributes", specify the following:
class="sSearchFieldBig"

Similar Messages

  • Transfer Order : Data for storage type search is not defined (A   )

    Dear Experts ,
    While trying to use the Transfer Order and trying to determine the storage type this error appears :
    Data for storage type search is not defined (A   )
    Message no. L3007
    Diagnosis
    Information on the storage type search has not been defined.
    How ever , I have already configured the search and here is the Storage Type search's data in OMLY
    1. Warehouse number : W10
    2. Operation : A "Stock Removal"
    3. Indicator :   E
    4. Stock Category : Blank
    5. Special Stock Category : Blank
    6. Storage Location Ref :10
    7. Storage Type : 10E
    Please Advice
    Edited by: Sap Sap on Feb 24, 2011 10:54 AM

    Hello,
    The storage type in which you want to place the material or pick the material from has not been defined in the storage type search sequence.
    You need to define the search sequence in customization so that storage type is determined automatically when the transfer order is created;
    SPRO>>Logistics Execution>>Warehouse Management>>Strategies>>Activate Storage Type Search
    In this go to determine search sequence and then
    for warehouse number W10, operation as stock removal 'A' and in this maintained the relevant the storage type (10E) so that it is determined automatically.
    I hope this helps.
    BR,
    Tushar

  • Storage Bin Type Search

    This question relates to teh storage bin type search. 
    When a storage bin type is assigned to a number of different storage unit types, when the systen is trying to putaway a material, does it assign preferentially according to how storage unit types are listed in this table or when finding the next empty bin, does it simply check this table to make sure that the storage bin type is compatible with the storage unit type.  For example, if the storage unit type is a half pallet and the next empty bin can hold both a full pallet and a half pallet, will the system try and find a half pallet space or will it simply place the SU into the full pallet space.

    Hi,
    It will work like this in the material master palletization data you will assign the Storage unit type and in OMM1 you will assign  the storage unit type to the storage bin type (search criteria).
    So if you have HP, then in the storage type it is next empty bin it fin the FP and then HP, system will place it in the HP only.
    thanks,
    JK

  • High Level Bin Search, before Storage Type Search

    Hi,
    Can anyone help me to guide, which user Exit/Badi, be used for searching Empty bins, before storage type search. I come to know from one of colleague below message.
    "" if you want to check the quantities on a higher level (before storage type search ), you can use the user exit "+++".""
    I am unable to understand which kind of user exit "+++".
    Background: Want to do putaway with storage type 007: Our high rack is  having space (Bins) with different capacity. One rack can have 4 type of racks.
    We want to putaway material with different bin types in one storage type.
    Regards,
    Mainsh Gupta

    Hi Vijay,
    Thanks for your quick reply. I am trying user exit given by you. Once again I would like to submit my requirements here.
    a) We have 98 racks in Warehouse.
    b) Product is Ball Bearing.
    c) Bearings are handeled in Ea, Issue and Stock unit is Ea
    d) Alternate Unit of Measure is Box, i.e. per box quantity is mentioned into Material Master.
    e) Each Rack is having 5 different type of bins.
    f) We want to fill rack from bottom to top for first rack, and then next rack.
    g) Once we do putaway for any material, each time system should pick Next empty bin, and each bin type is different.
    Case 1) If going with Storage Type 007: 
                    i) Need to maintain palletization data in Material master WM view 2.
                   ii) Can not maintain any capacity check for Capacity utilization in Material Master. Capacity is only Pallatization data.
                  iii) While creating TO, System goes for placemet of material from bottom to Top in Rack, but give similar quantity for each bin,  &  these quantities are defined from Material Master from Palletization data.
                  iv) In this case it is not checking bin capacity.
    My query:
    i)  How can we split quantity during TO Creation based on Next Empty Bin avaialbe with certain capacity and all further bins with other capacity.
    ii) Can we have different type of bins in one storage type if we are going for Storage type 007. or it is mandatory to have similar kind of bins.
    Case 2) If going for Storage type 002:
                  i) Not maintined Palletiztaion data in Material master.
                 ii) Maintining capacity check in WM View 1.
                iii) Maintained Capacity check in Bin master.
                iv) WHile careting TO , system doesnot spilt quantity for next empty bins avaialbe, Only one line item comes for whole quantities. and system throw an error.
    Message Number: Message no. L3068
    Message Details: Maximum quantity for storage bin TR-15 will be exceeded by 740.000 PC
    My query: How can we split TO quantity as per next empty bins available.
    If you will give me your contact number, I can speak to you over phone and eleborate in more details for your clear understanding my issue.
    Regards,
    Manish

  • Search "as you type" search form

    Is there a way to implement a search "as you type" search form? I know how to implement a standard seach form but am not sure how you would do a "as you type" search form.
    Any help would be appreciated.
    Marty

    Hi Marty,
    I'm not sure to well understand the question, but if i do this link could probably help you:
    http://my.opera.com/dominionspy/blog/2007/02/26/an-advanced-custom-search-form-for-adf
    Good luck,
    Tif

  • Storage type search

    Hi Experts,
    I am trying to create TO when I get the error message
    "Data for storage type search is not defined (E 123 S)".
    I may have missed something. Please help.
    Thanks,
    Mylene

    Dear Mylene
    Check this thread where the same issue was discussed
    [Data for storage type search is not defined |Data for storage type search is not defined (A   )]
    thanks
    G. Lakshmipathi

  • In version 3.x.x I used to be able to type search terms into the address bar and the page would load, similar to Google's "Feeling Lucky" button. Now it just brings up a Google search for the terms I typed in. How can I get this time saving feature back?

    In version 3.x.x I used to be able to type search terms into the address bar and the page would load, similar to Google's "Feeling Lucky" button. Now it just brings up a Google search for the terms I typed in. How can I get this time saving feature back?

    The change between Firefox 3.6.* and Firefox 4 is how location bar search works. In Firefox 3.6 it uses Google "Browse by name" search. With the browse by name search, it performs a Google search and if there is a clear match it will take you to the site, otherwise it shows the Google search result. With Firefox 4 it just performs a Google search if you type something which is not recognised as a URL.
    To get the Firefox 3.6 behaviour on Firefox 4 you need to change a hidden preference.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''keyword.URL''', double-click on it and change its value to the link shown below
    [http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q= http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=]
    If you prefer, you can also do this by installing the Browse by Name extension - https://addons.mozilla.org/firefox/addon/browse-by-name

  • Data for storage type search is not defined (E FC1  ) in WM module

    Hi friends,
    I m working in Ware house management.I have created material document and using the matertial document number in LT06.
    I am getting the following error while creating transfer order for material document in T-code LT06.
    Data for storage type search is not defined (E FC1  )
    Message no. L3007
    Diagnosis
    Information on the storage type search has not been defined.
    Procedure
    Contact your system administrator. Note down the values that are within parentheses in the error message.
    Please advise me how to solve this error.
    Thanks in advance.
    Regards,
    William

    SAP does not know where to put the material.
    You usually enable SAP by defining storage type indicators, that you maintain at the putaway and picking indicator fields in material master.
    then you setup the storage type search based on this indicators.
    SAP can then know in which storage type it shall search for a space to store your material.
    As a first step check whether you missed to enter this indicator in your matrial master WM view

  • Storage Type +++ in Storage Type Search Sequence

    Hi Everyone,
    Can someone please explain me what a '++' signifies in the Storage type Search Sequence. Like for a warehouse, for a storage type indicator, for a stock category etc. one has defined storage type: '++' in the first storage type column. What does this mean. I understand '***' might imply all storage types are equal, try all. But what does +++ mean?

    Hi VIk,
    SAP help of the customizing node (sPRO > LE > WM > Strategies > Activate Storage type Search):
    If you want the system to search through the entire warehouse number for stock pick, enter "***" (stands for strignent FIFO) as the storage type. The system then will search the entire warehouse for the oldest stock of the material. The entry "+ + +" means that the system branches to the user exit to the stringest FIFO process (MWMT0013).
    Regards,
    Csaba
    Edited by: Csaba Szommer on Jul 27, 2009 8:54 AM

  • Storage Type Search for Multiple Storage Types

    Hello experts.
    I have an issue that I cannot seem to resolve.
    Background
    - We are using kanban strategy 0006 in order to move materials from Plant A to Plant B.  Plant A is warehouse-managed but Plant B is not.
    - Within Plant A we have one wm-managed Storage Location with many Storage Types.
    - Within Plant B we have two Storage Locations ( each one representing a separate, physical building ).
    - A majority of the kanban materials in use only have one Supply Area assigned to them.  However we have approximately 15 materials that have multiple Supply Areas assigned to them.  This is because these materials are common parts across two different Storage Locations in Plant B.  As a result, they also have two different Storage Types assigned to them in Plant A ( the source of the material ).
    Problem
    Because we have common materials in two different Storage Types, the Storage Type Search (defined in OMLY) does not always return the correct Storage Type for the Stock Removal Strategy.
    I understand that this occurs because the Storage Type Search is defined based upon the Warehouse Number, Removal/Putaway Indicator and the Storage Strategy.  Therefore both Storage Types will use the same Storage Type Search when determining the Destination Storage Type for the transfer order.
    FYI, here's an example :
    - Material 123ABC is defined in Plant A, Storage Location SL00, Warehouse WH1 with Storage Types ST1 and ST2.
    - Material 123ABC is defined in Plant B, Storage Locations SL01 and SL02.
    - Material 123ABC has Supply Area SA1 for Storage Location SL01 and Supply Area SA2 for Storage Location SL02 defined for kanban.
    - Material 123ABC has Stock Removal Strategy 003 assigned in the WM1 view for Plant A, Storage Location SL00 and Warehouse WH1.
    - The Storage Type Search sequence defined for Stock Removal Strategy 003 is Storage Location SL01 then Storage Location SL02.
    - When I execute kanban for Material 123ABC for Supply Area SA2, the Destination Storage Type for the transfer order should be ST2.  However because the Storage Type Search is based upon the Warehouse (and not the Storage Type level), the Destination Storage Type for the transfer order is ST1 because it is the first item in the Storage Type Search sequence.
    So my question : does anybody know how I can resolve this issue?  We don't want to adjust our master data for these materials or supply areas.  Is there a USER_EXIT that we can implement that will account for this condition?

    Hi Mathew,
    Based on the storage location indicator you can maintan different storage types for picking and putaway. I think your scnario willl be addressed using this indicator.Please explore this option before going for User exits.

  • ID Point for Storage Type V.S. Value in Storage Type Search Table.

    I am trying to perform a GR without PO (MVT 501) for material ABC into Plant 1000, Warehouse number 100, Storage Location 0100.
    During creation of Transport Order, the Destinated Storage Type appeared
    is 011  (ID point for st.ty.010). However, the desired Destinated Storage Type should be 015 (High Rack) instead of 011.
    I have checked the following configuration:
    1. At the SPRO->LE->WM->Master Data->Define Storage Type, the value set for Field: Assigned ID (Identification point) for storage type under the Stock Placement Control = 011 (ID point for st.ty.010).
    2. At the Storage Type Search Strategy, 015 is put as the first Storage Type, followed by Storage Type 001 (high Rack Storage)
    3. And I found out that using LX03 (Bin Status Report) that there is no
    Storage Bin created for the combination of the following
    Plant 1000, WN 100, SLOC 0100, Storage Type 015, Storage Section 001
    Since we do not have any Storage Bin created for Storage Type 015, it will display 011 as the destinated storage type during TO creation.
    My question
    After I have manually created a Storage Bin 03-01-01 for storage type 015, during the TO Creation, system still suggests 011 as Destinated Storage Type instead of the 015 I put in the 1st column of the Storate Type Search.
    I already have the Storage Bin created for Storage Type 015, why the system still fails to pick it but suggests 011 from Assigned ID (Identification point) for storage type.

    Dear Karthik
    You are right, I did activated Indicator: Activate Storage Unit Type Check for Stock Placement in SPRO->LE->WM->Master Data->Define Storage Type
    The Indicator: Storage type with storage unit management was also ticked automatically by system when I selected Indicator: Activate Storaget Unit Type Check for Stock Placement.
    Are you trying to say the ID Port defined in Storage Type will have higher priority over the Storage Type value I maintained in the Storage Type Search Table?
    I have already maintained the Storage Bin and I still do not understand why system still go for ID port. As far as I know, system will suggest the Storage Type from ID Port ONLY if storage bin in this storage type as their destination are not maintained in first in the other setting.
    Quoted from SAP HELP
    Identification point for storage type
    Identification point (storage type) of the current storage type.
    All goods movements that do not have a specific storage bin in this storage type as their destination are first directed to the identification point.
    Here the goods are identified and a transfer order is generated for the actual transfer of the goods into the storage type concerned.
    Please help.
    Edited by: Daimos on Nov 4, 2011 3:25 AM

  • "Just Type" "Search Using" Automatically adds websites you have visited that have search capabilities.

    Is there any way to turn off this functionality or at least clean up the list?  I have been to so many websites that have the search and this list is huge!  I have searched every where and cannot find out how to clean it. 
    I would invoke the "chat" with HP support but I know they cannot handle this.  The last 3 times I "chatted" they gave incorrect information. 
    I did report feedback to request the function.
    Post relates to: HP TouchPad (WiFi)

    Once again as I explained in the previous posting all you have to do is follow these steps to stop searching on sites or apps that you do not want to search on.
    Tap on the Just Type search bar, tap on the Just Type menu in the top left corner of the screen, then uncheck any item or turn off any section you want to, to customize your searches. This will stop the search on any URL's or apps that you uncheck or turn off.
    As far as a search list clean up there is currently no way to remove items from the search list, only choose to search or not search on them.

  • Pdf printing in report with textfield to search

    I'm facing this error in bi publisher log:
    [100307_021613640][oracle.apps.xdo.common.xml.XSLTWrapper][EXCEPTION] XSL error:
    <Line 12, Column 18>: XML-20221: (Fatal Error) Invalid char in text.
    <Line 44, Column 11>: XML-20121: (Fatal Error) End tag does not match start tag
    'P300_STRING'.
    <Line 45, Column 1>: XML-20210: (Fatal Error) Unexpected EOF.
    [100307_021613640][][EXCEPTION] java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(Unknown Source)
    at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
    at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
    at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
    at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
    at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
    at oracle.apps.xdo.servlet.Converter.process(Converter.java:306)
    at oracle.apps.xdo.servlet.Converter.render(Converter.java:239)
    at oracle.apps.xdo.servlet.Converter.doPost(Converter.java:99)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
    stDispatcher.java:711)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
    vletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
    estHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
    stHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
    cketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(Server
    SocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocket
    AcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(
    ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.xdo.parser.v2.XMLParseException: Invalid char in text.
    at oracle.xdo.parser.v2.XMLError.flushErrors1(XMLError.java:337)
    at oracle.xdo.parser.v2.XMLReader.popXMLReader(XMLReader.java:528)
    at oracle.xdo.parser.v2.NonValidatingParser.parseElement(NonValidatingPa
    rser.java:1287)
    at oracle.xdo.parser.v2.NonValidatingParser.parseRootElement(NonValidati
    ngParser.java:314)
    at oracle.xdo.parser.v2.NonValidatingParser.parseDocument(NonValidatingP
    arser.java:281)
    at oracle.xdo.parser.v2.XMLParser.parse(XMLParser.java:278)
    ... 29 more
    iam using apex 3.0, bi publisher 10.1.3.1.0 and my report region has the Enable Report Printing = Yes.
    i also have a textfield to minimize the search. the error only ocurrs when the search includes the character '%'. It seems to me that apex is using this field (P300_STRING) to form a not well formated xml. Why is apex using this field to form xml?

    Hi Gielis
    <br>
    I am also facing the same problem mentioned above , Please tell if this can be resolved . Erro Message that i get when I put '%' in text filed
    Though I get result no the page but PDF report gives Error mentioned below <br><br>
    <HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server Error</H1><PRE>oracle.xml.parser.v2.XMLParseException: Invalid char in text.<br>     at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java(Compiled Code))<br>     at oracle.xml.parser.v2.XMLReader.popXMLReader(XMLReader.java(Inlined Compiled Code))<br>     at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java(Compiled Code))<br>     at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java(Compiled Code))<br>     at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java(Compiled Code))<br>     at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:307)<br>     at apex_fop._jspService(_apex__fop.java:74)<br>     [SRC:/apex_fop.jsp:24]<br>     at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java(Compiled Code))<br>     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java(Compiled Code))<br>     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java(Compiled Code))<br>     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java(Compiled Code))<br>     at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))<br>     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java(Compiled Code))<br>     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java(Compiled Code))<br>     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java(Compiled Code))<br>     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java(Compiled Code))<br>     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)<br>     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)<br>     at java.lang.Thread.run(Thread.java:568)<br></PRE></BODY></HTML>
    <br>
    I have also mailed the complete problem at your ID<br>
    [email protected]
    <br>
    Please update if it can be resolved
    <br>
    <br>
    Thanx<br>
    Ajay Singh<br>
    [email protected]

  • Textfield and search

    I have a list of strings. I would like to allow users to enter any number of characters (then press "enter") in the textfield. Then, I will display the closest match on the textfield. Like I have
    "find", "close", "match", and "matches"
    and user types "ma", then I will display "match".
    Does any of you know how can this be done?
    Thanks.

    Use the String method indexof. Putall your strings into an ArrayList, step through it with an Iterator and do an indexOf call to each of the strings. Example:
    import java.util.*;
    ArrayList stringsToSearch; //
    String in = yourTextfield.getText(); //in <- search string
    int index;
    String cmp;
    Iterator i = stringsToSearch.iterator();
    while( i.hasNext() ) {
    cmp = (String)(i.next()); //Cast to String
    index = cmp.indexOf( in ); //returns -1 if not in string
    if( index > -1 ) {
    //Print string or whatever you want to do with it
    Hope this helps.

  • File Server - File size\type search and save results to file

    I already have a vb script to do what I want on our file server, but it is very inefficient and slow.  I was thinking that a powershell script may be more suitable now but I don't know anything about scripting in PS.  So far the vb code that I
    have works, and I am not the one who wrote it but I can manipulate it to do what I want it to.  The only problem is, when I scan the shared network locations it stops on some files that are password protected and I don't know how to get around it.  If
    someone else knows of a PS script to go through the file system and get all files of a certain type or size (right now, preferably size) and save the file name, size, path, owner and dates created\modified please point me to it and I can work with that.  If
    not, could I get some help with the current script that I have to somehow get around the password protected files?  They belong in a users' HOME directory so I can't do anything with them.  Here is my code:   
    'Script for scanning file folders for certain types of files and those of a certain size of larger'
    'Note: Script must be placed locally on whichever machine the script is running on'
    '***********VARIABLES FOR USE IN SCRIPT***********'
    'objStartFolder - notes the location of the folder you wish to begin your scan in'
    objStartFolder = "\\FileServer\DriveLetter\SharedFolder"
    'excelFileName - notes the location where you want the output spreadsheet to be saved to'
    excelFileName = "c:\temp\Results_Shared.xls"
    '**********END OF VARIABLES**********'
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    fileName = objFSO.GetFileName(path)
    'beginning row and column for actual data (not headers)'
    excelRow = 3
    excelCol = 1
    'Create Excel Spreadsheet'
    Set objExcel = CreateObject("Excel.Application")
    Set objWorkbook = objExcel.Workbooks.Add()
    CreateExcelHeaders()
    'Loop to go through original folder'
    Set objFolder = objFSO.GetFolder(objStartFolder)
    Set colFiles = objFolder.Files
    For Each objFile in colFiles
    Call Output(excelRow) 'If a subfolder is met, output procedure recursively called'
    Next
    ShowSubfolders objFSO.GetFolder(objStartFolder)
    'Autofit the spreadsheet columns'
    ExcelAutofit()
    'Save Spreadsheet'
    objWorkbook.SaveAs(excelFileName)
    objExcel.Quit
    '*****END OF MAIN SCRIPT*****'
    '*****BEGIN PROCEDURES*****'
    Sub ShowSubFolders(Folder)
    'Loop to go through each subfolder'
    For Each Subfolder in Folder.SubFolders
    Set objFolder = objFSO.GetFolder(Subfolder.Path)
    Set colFiles = objFolder.Files
    For Each objFile in colFiles
    Call Output(excelRow)
    Next
    ShowSubFolders Subfolder
    Next
    End Sub
    Sub Output(excelRow)
    'convert filesize to readable format (MB)'
    fileSize = objFile.Size/1048576
    fileSize = FormatNumber(fileSize, 2)
    'list of file extensions currently automatically included in spreadsheet report:'
    '.wav, .mp3, .mpeg, .avi, .aac, .m4a, .m4p, .mov, .qt, .qtm'
    If fileSize > 100 then'OR objFile.Type="Movie Clip" OR objFile.Type="MP3 Format Sound" _ '
    'OR objFile.Type="MOV File" OR objFile.Type="M4P File" _'
    'OR objFile.Type="M4A File" OR objFile.Type="Video Clip" _'
    'OR objFile.Type="AAC File" OR objFile.Type="Wave Sound" _'
    'OR objFile.Type="QT File" OR objFile.Type="QTM File"'
    'export data to Excel'
    objExcel.Visible = True
    objExcel.Cells(excelRow,1).Value = objFile.Name
    objExcel.Cells(excelRow,2).Value = objFile.Type
    objExcel.Cells(excelRow,3).Value = fileSize & " MB"
    objExcel.Cells(excelRow,4).Value = FindOwner(objFile.Path)
    objExcel.Cells(excelRow,5).Value = objFile.Path
    objExcel.Cells(excelRow,6).Value = objFile.DateCreated
    objExcel.Cells(excelRow,7).Value = objFile.DateLastAccessed
    excelRow = excelRow + 1 'Used to move active cell for data input'
    end if
    End Sub
    'Procedure used to find the owner of a file'
    Function FindOwner(FName)
    On Error Resume Next
    strComputer = "."
    Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
    Set colItems = objWMIService.ExecQuery _
    ("ASSOCIATORS OF {Win32_LogicalFileSecuritySetting='" & FName & "'}" _
    & " WHERE AssocClass=Win32_LogicalFileOwner ResultRole=Owner")
    For Each objItem in colItems
    FindOwner = objItem.AccountName
    Next
    End Function
    Sub CreateExcelHeaders
    'create headers for spreadsheet'
    Set objRange = objExcel.Range("A1","G1")
    objRange.Font.Bold = true
    objExcel.Cells(1, 1).Value = "File Name"
    objExcel.Cells(1, 2).Value = "File Type"
    objExcel.Cells(1, 3).Value = "Size"
    objExcel.Cells(1, 4).Value = "Owner"
    objExcel.Cells(1, 5).Value = "Path"
    objExcel.Cells(1, 6).Value = "Date Created"
    objExcel.Cells(1, 7).Value = "Date Modified"
    End Sub
    Sub ExcelAutofit
    'autofit cells'
    Set objRange = objExcel.Range("A1")
    objRange.Activate
    Set objRange = objExcel.ActiveCell.EntireColumn
    objRange.Autofit()
    Set objRange = objExcel.Range("B1")
    objRange.Activate
    Set objRange = objExcel.ActiveCell.EntireColumn
    objRange.Autofit()
    Set objRange = objExcel.Range("C1")
    objRange.Activate
    Set objRange = objExcel.ActiveCell.EntireColumn
    objRange.Autofit()
    Set objRange = objExcel.Range("D1")
    objRange.Activate
    Set objRange = objExcel.ActiveCell.EntireColumn
    objRange.Autofit()
    Set objRange = objExcel.Range("E1")
    objRange.Activate
    Set objRange = objExcel.ActiveCell.EntireColumn
    objRange.Autofit()
    Set objRange = objExcel.Range("F1")
    objRange.Activate
    Set objRange = objExcel.ActiveCell.EntireColumn
    objRange.Autofit()
    Set objRange = objExcel.Range("G1")
    objRange.Activate
    Set objRange = objExcel.ActiveCell.EntireColumn
    objRange.Autofit()
    End Sub
    David Hood

    Accessing Excel through automation is bvery slow no matter what tool you use.  Scanning a disk is very slow for all tools.
    Since Vista all system have a search service that catalogues all major file itmes like size, extension, name and other attributes.  A search of a 1+Tb  volume can return in less that a second if you query the search service.
    You can easily batch the result into Excel by writ4ing to a CSV and opening in Excel. Use a template to apply formats.
    Example.  See how fast this returns results.
    #The following will find all log files in a system that are larger than 10Mb
    $query="SELECT System.ItemName, system.ItemPathDisplay, System.ItemTypeText,System.Size,System.ItemType FROM SystemIndex where system.itemtype='.log' AND system.size > $(10Mb)"
    $conn=New-Object -ComObject adodb.connection
    $conn.open('Provider=Search.CollatorDSO;Extended Properties="Application=Windows";')
    $rs=New-Object -ComObject adodb.recordset
    $rs.open($query, $conn)
    do{
    $p=[ordered]@{
    Name = $rs.Fields.Item('System.ItemName').Value
    Type = $rs.Fields.Item('System.ITemType').Value
    Size = $rs.Fields.Item('System.Size').Value
    New-Object PsObject -Property $p
    $rs.MoveNext()
    }Until($rs.EOF)
    ¯\_(ツ)_/¯

Maybe you are looking for

  • UnZipping an archive with folders inside

    Hello, everyone. A friend of mine asked me to create him an "auto-downloader" type of program, to download a ZIP archive, then extract the information to the user's computer (no, it is not harmful). Anyways, I've been trying mutliple ways, and I've c

  • Greek Character Display Problem

    Hi Server Side : We are using Oracle 8i . Database Character Set = UTF8. Client Side: Windows XP. Modified Control Panel->Regional Settings -> Advanced->Language for non-unicode program = Greek. Changed Alter session set NLS_Language = GREEK When we

  • Line items duplicated in KE24

    Hi, I have activated costing based profitability analysis and when I create a billing document the system generates a PA segment. It is correct but when I display it in KE24 it appears twice, one with the currency type B0 - Operating concern currency

  • I want workflow code in spd

    I have a List that I used to use for Notifying the Analyst of the Server that has requested to new or update requirements. However, it hasn't worked very well in the past and no management intervention. Here is the link to that Form: http://sitename/

  • Inconsistency in the Dictionary for structure COMT_BSP_BP_SEAREQ_DIVERSE

    Please could someone help me out on this one. I am new to ABAP and CRM Technical and have just started my career on this new track. I am getting "Inconsistency in the Dictionary for the structure COMT_BSP_BP_SEAREQ_DIVERSE" on the WebUI as error when