Issue with Script its urgent

Hi,
Any one please let me know how we can defne new-page with particular page name.
for example i want to display the newpage 
All terms & conditions in last page its layout is different.
if iam using CONTROL_FORM function module its not taking LAstpage as new page
please let me know urgently.
thanks & regards...
Anil.T

Hi
The first thing you have to consider is the NEW-PAGE statament can be done in the MAIN only.
In the SAPSCRIPT you can insert the line:
/: NEW-PAGE <PAGE NAME>
so try to transfer the same command to fm CONTROL_FORM
Max

Similar Messages

  • How to Fix the row in sap script, its urgent......

    Hi Experts,
    first i explain my sap script, i have print void check in my script client give readymade format means box are there, lines are there. i have to fix in box and line data form database table. everthing is working fine. i got all data. i have total 6 window in my script .but i have one issue  In my sap script in header window total five rows... like below
    Check voucher no:8888
    check No: 1234
    Date:1/28/2007
    Bank:xyz
    Batch no: 5678
    now sometime check voucher is balnk....
    Check voucher no: BLANK/NULL
    check No: 1234
    Date:1/28/2007
    Bank:xyz
    Batch no: 5678
    because of that all rows are move up side and all window also move up side and so script not fix to the box and line all data are seen not perfectly... so guru`s how to fix the row and window in script....
    its urgent...
    Waiting for ur reply
    Thanks & regards
    Jigar

    Hi,
    Follow the below steps . Definately your issue will bve resolved.
    Let us suppose you are printing following fields
    PH &v_text&
    PH &v_text1&
    PH &v_text2&
    you will get the output as you expected.
    and if you have any conditions  for these fileds
    /: if v_text is not initial.
    PH &v_text&
    /: endif
    PH &v_text1&
    PH &v_text2&
    if you have data in each field then you will get output as expected .
    But when v_text is initial.
    the data will be moved up wnhich is happening in your case.
    so what you need to do is?
    /: if v_text is not initial.
    PH &v_text&
    /: else
    PH  (Here you need to mention empty line with same paragraph format
    /: endif.
    PH &v_text1&
    PH &v_text2&
    Reward points if useful
    Regards,
    Nageswar

  • I'm having a big issue with scripts and sites I need.

    I am an Etsy shop owner and always been able to access my shop just fine all the sudden about three weeks ago I cannot log in to my shop on ff. I can view the Etsy site but when I try to log in it just loads and loads and will not let me. I know it is the script bc I added a script turn off add on and I could log on but Etsy will not let you have it turned off to edit items if your shop so I had to download chrome just to go to my shop which is annoying, I do not like chrome.
    Other than that a few more sites like creative market and a few blogs will not load anymore for me. I have already re-set and that did not work. Also I get a lot of script not responding plugin popups that freeze and crash. This is really annoying. Does anyone know a fix? Thanks..

    You can try basic steps like these in case of issues with web pages:
    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and only cookies from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Linking vacancy in OM with recruitment - Its urgent

    Hi Friends,
    Could you please tell me how to link a vacancy in OM with recruitment module.
    The vacancy has been created in OM using PO13.
    I believe i need to have integration between OM and recruitment for the same.
    Please advise, what configurations ettings are required to be done.
    Its urgent,

    go to IMG
    pres ctrl f and give intefaration with om
    or else check in the authorisations whether the switch for recruitments is on or off
    revert back if u have any query
    u will find
    sikindar
    Plogi PPVAC is the value

  • Lsmw issue plz help its urgent

    Hi Experts ,
    i need to create a LSMW using batch input .
    but the requirement is on the basis of conditions my recording need to be changed .
    dat means
    3127POL09 3127POL09-1 CTR 3127-1003E 100 FUL
    3127POL09 3127POL09-2 WBS 3127POL01 60 FUL
    for ctr i ill have to post data in screen number 200
    and for wbs i ill have to post data in screen number 400 .
    can we put some conditions in recording in lsmw ?
    i no we can create multiple recording but how can we use them to fullfill my requirement .
    plz help its urgent
    thanx in advance

    Hi,
    Within LSMW, there is an option to write our own code wherein this code can be incorporated.
    This is in the Field Mapping Option...
    Just go to the Menu Extras->Layout
    and click on the check box Form Routines
    Global Data.
    Here you can define Global Variables and also perform your ABAP Coding.
    Regards,
    Balaji.

  • Issue with script timeouts - trying to send email mail shots - hosting recommendations?

    Background is this - I look after a site for a recruitment agency, which has a backend mySQL database.
    It includes a table of potential candidates, which the site owner can search based on various criteria and then send all the returned candidates an email about potential jobs they might be interested in.
    I'm using an off the shelf script to send the emails, and have jumped through a few hoops to get this to work, but it looks like we need to move hosting unfortunately.
    The script is able to limit emails so that the hosting company doesn't get black flagged as a spammer.
    I've set it up with a progress bar in a new window so the site owner can see progress, but easily get back to the rest of the site.
    But where we have come unstuck is the script timeout on the server - so even though its set to send emails slowly enough, ie under 500 emails an hour, because of that slow pace, it fails if it takes more then five minutes to send them all as the script times out.
    My understanding is that the script includes a line to reset the script timeout value to 0, so enabling the script to keep running until all the emails have been sent. But unfortunately our current hosting company does not allow the script timeout to be reset at the PHP level.
    So my question is this - is anyone doing anything similar, and if so, can you recommend any hosting company that does allow the script timeout to be reset at the PHP level?
    Because at the minute it seems like a frustrating catch-22 - slow it down to get around the spam issue, and it won't run long enough to send all the emails. Speed it up, and it falls foul of the script timeout.
    Any advise on this, or hosting suggestons most welcome!
    Thanks.

    Although there is an AppleScript Forum, Automator can run AppleScripts, so sometimes things can go in either forum. In your script, other than not setting a recipient, you are just getting one of the persons. You need to get a list of your contact information, then build your outgoing messages from that list - for example:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #FFEE80;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    set theEmails to {} -- this will be a list of email addresses
    set theNames to {} -- this will be a list of names for the greeting
    tell application "Address Book"
    activate
    set theGroup to (choose from list (get the name of every group) with prompt "Choose a Group") as text
    if theGroup is "false" then return -- cancel
    repeat with aPerson in (get every person of group theGroup) -- build email and name lists
    set the end of theEmails to the first item of (get the value of the email of aPerson) -- just the first address
    set the end of theNames to the first name of aPerson
    end repeat
    end tell
    tell application "Mail"
    repeat with anItem from 1 to (count theEmails) -- make a new message for each entry
    tell (make new outgoing message at the front of outgoing messages with properties {subject:"Test Mail"})
    set visible to true
    get item anItem of theNames
    if the result is missing value then -- no name
    set the content to "message"
    else
    set the content to "Dear " & the result & "," & return & return & "message"
    end if
    make new to recipient at the end of to recipients with properties {address:(item anItem of theEmails)}
    end tell
    end repeat
    activate
    end tell
    </pre>

  • Image Quality issue with script

    So I recently wrote a simple script to output an image at a bunch of different resolutions. However, I am running into an image quality issue that I don't run into when I do the same thing manually.
    Here is an example image showcasing the image: http://terminalvelocity.ca/temp/notworking.jpg
    As you can see along the top of the model's forhead there is destinct color fragmentation. Which seems very strange.
    Here is the script, it is pretty simple, it asks for a few simple config options. (the above image was created using default settings). It then figures out the correct ratios and loops through doing each resize, saving the image, then reverting the history so each iteration uses the original image data and not the resized version:
    doc = app.activeDocument;
    openFilePath = Folder.selectDialog ("Where do you want the images to be saved?");
    maxSize = Number(prompt("What would you like to be the maximum length of the long edge? (Image is never upsized) (pixels)", 2800)); 
    minSize = Number(prompt("What would you like to be the minimum length of the long edge? (pixels)", 100));
    gap = Number(prompt("How much smaller should each image be? (pixels)", 100)); 
    quality = Number(prompt("What quality would you like the JPG exported as (0-12)", 10)); 
    var size;
    var primary;
    var secondary;
    if(doc.width > doc.height){
              primary = doc.width;
              secondary = doc.height;
    }else{
              primary = doc.height;
              secondary = doc.width;
    var ratio = secondary/primary;
    var size = [];
    for(var i = maxSize;i>minSize;i-=gap){
              var  p = i
              var s = i * ratio;
              size.push([p,s]);
    var w;
    var h;
    var n;
    for(var i in size){
              if(doc.width > doc.height){
                        w = n = size[i][0];
                        h = size[i][1];
              }else{
                        w = size[i][1];
                        n= h = size[i][0];
              if(doc.width >= w && doc.height >= h){
                        doc.resizeImage(w,h,null,ResampleMethod.BICUBICSHARPER);
                        jpgFile = new File(openFilePath+"/"+n+".jpeg" )
                        jpgSaveOptions = new JPEGSaveOptions()
                        jpgSaveOptions.embedColorProfile = false
                        jpgSaveOptions.formatOptions =
                        FormatOptions.STANDARDBASELINE
                        jpgSaveOptions.matte = MatteType.NONE
                        jpgSaveOptions.quality = quality
                        app.activeDocument.saveAs(jpgFile, jpgSaveOptions, true,Extension.LOWERCASE);             
                        doc.activeHistoryState = doc.historyStates[doc.historyStates.length-2];
    In comparison, here is an example of an image of the exact same resolution that does not exhibit this issue at all:
    The steps taken to save this image were as follows: http://photography.terminalvelocity.ca/content/images/2012/avery_konrad_6/horizontal/1500. jpg
    Image > Resize > Bicubic Sharper (1500px);
    Save For Web
         Jpeg
         Quality 75
         Optimzed: true
         Progressive: false
         Blur: 0
         Convert to sRGB: true   
    Anyway, as you can see, The manually exported image does not have any of the quality issues that are present within the scripted image. I am pretty new to photoshop scriping so am assuming it has something to do with me missing some sort of option in the save settings. Any help would be swell.
    Also note, this doesn't occur on all images, I usually don't see an issue when using the script, however, something about the tones of this particular photo make it really obvious.
    I am using the latest version of Photoshop CS6 (creative cloud) on Max OSX
    thanks so much!

    I'm on windows find the bicubicsharper does not work well it the image being resized has been highly sharpened all ready. Because of my Photoshop preferences I had to make minor modification to your script. I'm also a bit colorblind so i don't see many color issues so I include a screen capture if what windows does with your image and script.
    var orig_ruler_units = app.preferences.rulerUnits;
    app.preferences.rulerUnits = Units.PIXELS;          // Set the ruler units to PIXELS
    doc = app.activeDocument;
    openFilePath = Folder.selectDialog ("Where do you want the images to be saved?");
    maxSize = Number(prompt("What would you like to be the maximum length of the long edge? (Image is never upsized) (pixels)", 2800));
    minSize = Number(prompt("What would you like to be the minimum length of the long edge? (pixels)", 100));
    gap = Number(prompt("How much smaller should each image be? (pixels)", 100));
    quality = Number(prompt("What quality would you like the JPG exported as (0-12)", 10));
    var size;
    var primary;
    var secondary;
    if(doc.width > doc.height){
              primary = doc.width;
              secondary = doc.height;
    }else{
              primary = doc.height;
              secondary = doc.width;
    var ratio = secondary/primary;
    var size = [];
    for(var i = maxSize;i>minSize;i-=gap){
              var  p = i
              var s = i * ratio;
              size.push([p,s]);
    var w;
    var h;
    var n;
    for(var i in size){
              if(doc.width > doc.height){
                        w = n = size[i][0];
                        h = size[i][1];
              }else{
                        w = size[i][1];
                        n= h = size[i][0];
              if(doc.width.value >= w && doc.height.value >= h){
                        doc.resizeImage(w,h,null,ResampleMethod.BICUBICSHARPER);
                        jpgFile = new File(openFilePath+"/"+n+".jpeg" )
                        jpgSaveOptions = new JPEGSaveOptions()
                        jpgSaveOptions.embedColorProfile = false
                        jpgSaveOptions.formatOptions =
                        FormatOptions.STANDARDBASELINE
                        jpgSaveOptions.matte = MatteType.NONE
                        jpgSaveOptions.quality = quality
                        app.activeDocument.saveAs(jpgFile, jpgSaveOptions, true,Extension.LOWERCASE);            
                        doc.activeHistoryState = doc.historyStates[doc.historyStates.length-2];
    app.preferences.rulerUnits = orig_ruler_units;          // Reset units to original settings

  • Issues with Script in Safari browser

    Anyone having trouble with the Weight Watchers website in Safari? First problem ever for me.
    Safari is no longer responding because of a script on the webpage “WeightWatchers.com: Community - Message Board Posts” (http://www.weightwatchers.com/community/mbd/post.aspx?threadpageno=1&page_size=25&rownum=1&board_name=50%2bPounds+to+Lose&thread_id=146669110&board_id=10&forum_name=message+boards&forum_i d=1&thread_name=Arguing+against+NI+being+posted+in+restaurants&modno=&sincedate=9%2f20%2f2010+12%3a00%3a00AM&viewchange=DATECREATEDDESC). Do you want to stop running the script, or let it continue?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen. Click the Clear Display icon in the toolbar. Then take one of the actions that you're having trouble with. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Pricing issue with Product hierarchy - Urgent

    Hello,
    I have an issue on pricing determination with product hierarchy.
    I created product hierarchy as following,
    level1 - A0001
    level2 - A0001B0001
    level3 - A0001B0001C0001
    Then, assigned A0001B0001C0001 to material D in material master.
    I created condition record with A0001B0001C0001(level 3),  the system found the condition sucessfully when I created a sales order with material D.
    However, I created condition record with A0001(level1) but the system didn't get the price when I created the sales order with material D.  Since A0001B0001C0001 belongs to A0001, the system is supposed to get the price from the condition record with A0001... 
    Could you please let me know how to fix it?

    Hi,
    Thanks a lot for your kind explanation.
    Here is the access sequence I defined.  I wonder if there is anyway I can define PRODH1, PRODH2, PRODH3 in access sequnce the same way with customer hierarchy so that the system can check higher level data.  If it's not allowed, I think I should define routine in requirement as you advised.  Thanks!
    *Accesses
    AcNo       Description
      1           Customer Hierarchy/Product Hiearchy
      2           Customer Hierarchy/Product Hiearchy
      3           Customer Hierarchy/Product Hiearchy
      4           Customer Hierarchy/Product Hiearchy
    Fields
      AcNo   Condition    Doc. field      field lable
         1      HIENR      HIEBO01     CustomerHierarchy 01
                 PRODH     PRODH       Product hierarchy
         2.     HIENR      HIEBO02     CustomerHierarchy 02
                 PRODH     PRODH       Product hierarchy
         3      HIENR      HIEBO03     CustomerHierarchy 03
                 PRODH     PRODH       Product hierarchy
         4       HIENR      HIEBO04     CustomerHierarchy 04
                 PRODH     PRODH       Product hierarchy
    I wonder if I can assign product hierachy fields, PRODH1, PRODH2, PRODH3 to access sequence like customer hierarchy so that the system can check higher level data to get the price...

  • Page formats in script its Urgent

    Hello all,
    I have created one page format through SPAD.. but its getting error :You have selected a page format YPO_PF for which there is no identical formatting type in the spool.
    and i saved with same request no but while i was moving it to testing through scc1 i am getting error
    please guide me to create page format....?
    thanks
    regards
    aeda
    Edited by: Aeda N on Mar 10, 2008 12:21 PM

    Hi,
    Although I have never done this before, but I hope the below link from SAP help site may help you.
    http://help.sap.com/saphelp_nw70/helpdata/en/d9/4a959551ea11d189570000e829fbbd/content.htm
    Regards,
    Mayank

  • Issue with script design

    HI expert can we design a box in sap-script where the vertical lines inside the box are not continious i.e discrete .

    Well actually that doesnt work on first hand.
    There is no way to tell the BAX statement to do such stuff.
    what you COULD do is: have a box with height 0, well you need some upper line, you could do this using &ULINE(xx)& as well.
    and have another on for bottom.
    Between manually print the signs that you wish to build the not continuous vertical thing.

  • Issue with Scripted Probe for LDAP

    I have the script LDAP_PROBE loaded into memory on my ACE 4710 (A4(2.0)) and th Probe is name is configured for the LDAP port the servers are listening on. So here is th econfiguration.
    probe scripted LDAP_PROBE_3389
      port 3389
      interval 5
      passdetect interval 5
      passdetect count 2
      receive 5
      script LDAP_PROBE 3389
    I have tried removing the argument of 3389 at the bottom as well but I continue to get the result:
    real      : LDAP02[3389]
                    10.220.31.81    3389  PROBE    2491     2491     0        FAILED
       Socket state        : RESET
       No. Passed states   : 0         No. Failed states : 1
       No. Probes skipped  : 0         Last status code  : 30002
       No. Out of Sockets  : 0         No. Internal error: 0
       Last disconnect err : Probe error: Server did not respond as expected
       Last probe time     : Thu Jul 12 16:24:41 2012
       Last fail time      : Thu Jul 12 12:56:59 2012
       Last active time    : Never
    The server log states this was successful however...
    Admin Acct Status: Not Locked
    AuditV3--2012-07-11-14:18:21.428+00:00DST--V3 anonymous Bind--bindDN: <*CN=NULLDN*>--client: 10.220.31.217:56908--connectionID: 8--received: 2012-07-11-14:18:21.428+00:00DST--Success
    name: <*CN=NULLDN*>
    authenticationChoice: simple
    Admin Acct Status: Not Locked
    Am I missing an argument? I have run debug on LDAP but really don't know what I am looking at...

    To update the script
    ==============
    Extract the Cisco-supplied LDAP script from the tar.gz or zip file. Rename it to something unique. Update it to use the
    new length and offset.
    Import the script into the LDAP contexts on both ACEs. Remember, scripts are not replicated and having mismatched scripts will cause replication to fail.
    ACE1/ldap# copy tftp: disk0:
    Enter source filename[]? UoN-LDAP_PROBE-iLDAP2
    Enter the destination filename[]? [UoN-LDAP_PROBE-iLDAP2]
    Address of remote host[]? [redacted]
    Trying to connect to tftp server......
    TFTP get operation was successful
    ACE2/ldap# copy tftp: disk0:
    Enter source filename[]? UoN-LDAP_PROBE-iLDAP2
    Enter the destination filename[]? [UoN-LDAP_PROBE-iLDAP2]
    Address of remote host[]? [redacted]
    Trying to connect to tftp server......
    TFTP get operation was successful
    script file 13 UoN-LDAP_PROBE-iLDAP2
    If you look at (for example) packet 651 in the capture in wireshark you'll see a
    successful bind response. You will need to tell wireshark to decode the packet as LDAP.
    The payload is:
    30 84 00 00 00 10 02 01 01 61 84 00 00 00 07 0a 01 00 04 00 04 00
    You need to have a basic understanding of ASN.1 and something called Basic Encoding Rules (BER) - whicj comes down to TLV format structures.
    The key to understanding this output is that there are three ways of specifying a length in ASN.1. The first way we have already seen in the Cisco script is to use a single byte. This known as the "definite" form and can be used for lengths of 127 bytes or less. Otherwise if the high bit is set to one, the low seven bits define the length of length. The length is then encoded in that many bytes. This is the "length of the length field" form. It looks like Microsoft Active Directory uses the indefinite form for all length encoding. The third form (for completeness is "indefinite" where the length is coded as x'80' and the end of the content is marked by x'0000'. Deconstructing the data:
    0x30    The start of a universal constructed sequence
    0x84    The length of the sequence in "length of the length" format. The next 4 bytes give the length.
    0x00000010    sequence length of 16 bytes
    0x02    Integer
    0x01    The length of the next field (1 byte)
    0x01    Value (this is the message ID which agrees with the ID in the BIND Request)
    0x61    Application, number 0, use RFC2251 to decode. This is a Bind Response
    0x84    The length of the sequence in "length of the length" format. The next 4 bytes give the length.
    0x00000007    bind response length of 7 bytes   
    0x0a    Enumeration
    0x01    Length 1
    0x03    0 - Success
    0x04    String
    0x00    Length 0 (null string)
    0x04    String
    0x00    Length 0 (null string)
    The patch given takes in 20 bytes from the bitstream,converts it into a hexadecimal string  and finds the 6 hexadecimal characters from the 16th byte onwards   (Tcl uses zero-based arrays). This is the response code.
    Kind Regards
    Cathy

  • Declaration issues with  script logic

    we use to write the logic as below in 5.1
    *MEMEBERSET(%PRODUCT%,"Desendents(PRODUCT_LTERM.TOT_PROD,999,LEAVES)")
    *XDIM_MEMBERSET ACCOUNT_LTERM=100000000_D,110000000_D,120000000_D,130200000_D,
    *XDIM_MEMBERSET DATASRC=INPUT
    *XDIM_MEMBERSET ENTITY_LTERM=%ENTITY_LTERM_SET%
    *XDIM_MEMBERSET PRODUCT_LTERM=%PRODUCT%
    *XDIM_MEMBERSET RPTCURRENCY=LC
    *XDIM_MEMBERSET SCENARIO=%SCENARIO_SET%
    *XDIM_MEMBERSET TIME_LTERM=CY,CY+1
    *WHEN *
    *IS *
         *REC(EXPRESSION=0)
    *ENDWHEN
    As we know that sql based keywords are not used now in thi new version 7.0
    I want to know the replacement in 7.0 for *MEMBERSET() COMMAND and also
    How * in when command for specificing consideratrion of all the declaration is replaced in 7.0

    Hi sheldon,
    Thanks for your time in replying to the question. Chennuru and I are working together.
    Let me give you a clear picture of our issue.
    1. *memberset() command which is used to retrieve a list of members of a particular dimension, is not being recognised in 7.0NW version.
    We want to know if we have any replacement or other format for this command.
    2. After declaring the dimensions using XDIM_MEMBERSET statements for all the existing dimensions, if we need to manipulate on all the existing combinations we use
    WHEN *
    IS *
                                                                               REC(EXPRESSION=0)
                                                                         *ENDWHEN
    In this case, the star to the right of the when is not recognised. Even if we replace * with <ALL> the result is not achieved.
    We would like to know what must be used to select all the existing dimensions.

  • Issue with Script

    Hi Team,
    I am using this script for monitoring VPN account expiration date. Please check any errors at date function.
    Every this is working fine but while getting alerts i am getting END Date as below: It should be DD/MM/YYY Format
    End date
    41665
    Functions*********************************************************************************
    Function ReadExcel(strFileName,strSheetName)
        Set objExcelConn = CreateObject("ADODB.Connection")
        objExcelConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & strFileName & ";Extended Properties=Excel 5.0;Persist Security Info=False"
        Set objExcelRS = objExcelConn.Execute("SELECT * FROM [" & strSheetName & "$]")
        For iColumnNumber = 0 to objExcelRS.fields.Count-1
            If iColumnNumber = 0 Then
                sColumnNames = objExcelRS.fields(iColumnNumber).Name
            Else
                sColumnNames = sColumnNames & "~" & objExcelRS.fields(iColumnNumber).Name
            End If
        Next
        firstCol = true
        Do While Not objExcelRS.EOF
            If (objExcelRS.Fields.Item("End Date") = Date+2) or (objExcelRS.Fields.Item("End Date") = Date)  Then
                For Each fld In objExcelRS.Fields
                    If firstCol Then
                    dim abc
                    'abc= objExcelRS.Cells(sRowValue,8)
                        fldCat = fldCat & fld
                        firstCol = false
                        'set uid=objExcelRS.Fields.Item("User ID")
                    Else
                        fldCat = fldCat & ";" & fld
                    End If
                Next
                fldCat = fldCat & "#"
            End If
            objExcelRS.MoveNext
        Loop
        ReadExcel = Replace(fldCat,"#;","#")    
    End Function

    There us no way to tell what is happening.  The script does not make much sense.
    Ask the person who wrote it to help you. The script has noting to do with VPNs and nothing to do with dates.  It appears to just read all of an excel spreadsheet into a single string.
    ¯\_(ツ)_/¯

  • Issues with .profile file(urgent

    Hi Techies,
    I've Solaris 10 running in v

    John.Kotches wrote:
    Darren:
    If the executable is calling external dependencies (/lib/libc.so.1, /lib/ld.so.1) it is no longer statically linked and shouldn't be in /sbin. Historically, /sbin is for statically linked binaries and shouldn't require anything else to run successfully.Not strictly true on Solaris. Even on Solaris 8 (and further back as well, but I still have a Solaris 8 machine running), dynamically linked tools were present.
    sol8# file /sbin/* |  sed -e 's/^.*script.*$/script/' -e 's/^.* \([a-z]*ic\).*$/\1/' | sort | uniq -c
      12 dynamic
      10 script
       9 staticIn addition to those "system" binaries, there were a few normal tools (like mv) that could be installed in /usr/sbin/static. With Solaris 10 and no more static system libraries, they are gone as well.
    Unfortunately, I can't experiment with a machine right now to move out these two so's to see if /bin/sh will still run; but I doubt it given the truss output I was looking at.No, it won't. /lib is required for system boot.
    I suppose that we could then get into an extended discussion about whether historical convention is worth preserving at some point :-)
    If /lib is hacked and the shell isn't statically linked -- okay I'm not opening that door right now!You're a few years too late... They're not going back to static binaries.
    Darren

Maybe you are looking for

  • Add Report Generation toolkit for Microsoft Office in exe

    Hi I am having a problem. I am using LabVIEW 8.20, Report Generation Toolkit for Microsoft Office 1.1.2 and Microsoft Excel 2003. My OS is Windows XP (SP ) I want to build the vi attached below into an exe. The vis that I used are from addons>>_offic

  • How to Generate DDL Statement for PSAPROLL Tablespace on Oracle9i-HP_UX

    Hi, I am having SAP R3 46C installed with Oracle 9i on HP_UX 11i system. I want to generate required DDL statements for PSAPROLL Tablespace/Rollback Segments as Backup/recovery purpose, before converting it into PSAPUNDO. Its easy to find & store req

  • Data warehouse staging area

    Hi all, i hope someone can shed some light as I am new to Datawarehousing.. I have an transactional access database and am going to put the indivudal tables into my Oracle staging area as it is. (So basically the same db in Oracle). I am then intendi

  • Sorry, you can't reactivate you Skype Credit at th...

    Sorry, you can't reactivate you Skype Credit at the moment. Please try again in 15 minutes. This error keeps coming up, day after day, hour after hour. What is the solution please?  Can this bug be fixed Skype? Thanks, Martyn

  • DLNA with SD to HD upscale?

    Hi, IF you have at last connected the TV to a DLNA media server, you will find out that SD videos are shown only in the middle of the screen. Does any Toshiba TV support upscaling of SD to HD with DLNA? Regards, Dirk