VBSCript .asp page 8.5 CRViewer Selecting specific Printer

I am still writing in vbscript (not .net) and have a web page that currently uses activex and the CRViewer 8.5.  I need the report to print to a specific printer that does not have to display.  Will the CRViewer control do this or is there a better way to print a report directly to a selected printer?   I am needing examples.

Hi, Herb;
We don't have an exact sample of what you are looking for. But, have a look at these samples:
https://smpdl.sap-ag.de/~sapidp/012002523100005920112008E/aspxmps85.exe
There is one, that is export to file. It does not use the viewer, as viewing is not needed, just as you will not need to view.
You can then use the PrintOut method of the report object to print the report without viewing it.
Regards,
Jonathan

Similar Messages

  • SOAP Response From ASP Page gives Exceptions-Why ?

    Hi Friends,
    I am trying to call an ASP Page by sending it a SOAP Request.
    The SOAP Request reaches the ASP Page but still i am getting lot of
    exceptions.This is my code from Request.java
    import javax.xml.soap.*;
    import java.util.*;
    import java.net.URL;
    public class Request {
    public static void main(String[] args) {
    try {
    SOAPConnectionFactory scFactory =
    SOAPConnectionFactory.newInstance();
    SOAPConnection con = scFactory.createConnection();
    MessageFactory factory =
    MessageFactory.newInstance();
    SOAPMessage message = factory.createMessage();
    SOAPPart soapPart = message.getSOAPPart();
    SOAPEnvelope envelope = soapPart.getEnvelope();
    SOAPHeader header = envelope.getHeader();
    SOAPBody body = envelope.getBody();
    header.detachNode();
    Name bodyName = envelope.createName(
    "TestDtls", "m",
    "urn:myserver/soap:TestThis");
    SOAPBodyElement gltp =
    body.addBodyElement(bodyName);
    Name name = envelope.createName("PhoneOrigin");
    SOAPElement symbol = gltp.addChildElement(name);
    symbol.addTextNode("0672324228");
    URL endpoint = new URL
    ("http://john/myservices/testsoap.asp");
         message.writeTo(System.out);
    SOAPMessage response = con.call(message, endpoint);
         response.writeTo(System.out);
    SOAPPart sp = response.getSOAPPart();
    SOAPEnvelope se = sp.getEnvelope();
    SOAPBody sb = se.getBody();
    Iterator it = sb.getChildElements(bodyName);
    SOAPBodyElement bodyElement =
    (SOAPBodyElement)it.next();
    String myvalue = bodyElement.getValue();
    System.out.print("The Value Retrived is ");
    System.out.println(myvalue);
         con.close();
    } catch (Exception ex) {
         System.out.println(ex);
    This is what i have in my ASP Page: testsoap.asp
    <%
    Set objReq = Server.CreateObject("Microsoft.XMLDOM")
    objReq.load(Request)
    strmycode = "SOAP-ENV:Envelope/SOAP-ENV:Body/m:TestDtls/PhoneOrigin"
    varPhoneOrigin=objReq.SelectSingleNode(strmycode).text
    status="ok"
    strReturn = "<SOAP-ENV:Envelope xmlns:SOAP=""urn:schemas-xmlsoap-org:soap.v1"">" & _
    "<SOAP-ENV:Header></SOAP-ENV:Header>" & _
         "<SOAP-ENV:Body>" & _
              "<m:TestDtlsResponse xmlns:m=""urn:myserver/soap:TestThis"">" & _
         "<PhoneStatus>" & Status & "</PhoneStatus>" & _
         "</m:TestDtlsResponse>" & _
         "</SOAP-ENV:Body>" & _
                        "</SOAP-ENV:Envelope>"
    Response.Write strReturn
    %>
    The Exceptions i get are as follows:
    =====================================
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><S
    OAP-ENV:Body><m:TestDtls xmlns:m="urn:myserver/soap:TestThis"><PhoneOrigin>"0672
    324228"</PhoneOrigin></m:TestDtls></SOAP-ENV:Body></SOAP-ENV:Envelope>Jul 11, 20
    03 6:37:35 PM com.sun.xml.messaging.saaj.soap.MessageImpl identifyContentType
    SEVERE: SAAJ0537: Invalid Content-Type. Could be an error message instead of a S
    OAP message
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is
    this an error message instead of a SOAP response?
    at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(Messa
    geImpl.java:268)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:1
    35)
    at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1
    _1Impl.java:45)
    at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.crea
    teMessage(SOAPMessageFactory1_1Impl.java:32)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA
    PConnection.java:361)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedP
    ost.run(HttpSOAPConnection.java:156)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOA
    PConnection.java:126)
    at Request.main(Request.java:34)
    Jul 11, 2003 6:37:35 PM com.sun.xml.messaging.saaj.soap.MessageImpl <init>
    SEVERE: SAAJ0535: Unable to internalize message
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:2
    02)
    at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1
    _1Impl.java:45)
    at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.crea
    teMessage(SOAPMessageFactory1_1Impl.java:32)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA
    PConnection.java:361)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedP
    ost.run(HttpSOAPConnection.java:156)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOA
    PConnection.java:126)
    at Request.main(Request.java:34)
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:te
    xt/html. Is this an error message instead of a SOAP response?
    at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(Messa
    geImpl.java:268)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:1
    35)
    ... 7 more
    CAUSE:
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is
    this an error message instead of a SOAP response?
    at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(Messa
    geImpl.java:268)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:1
    35)
    at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1
    _1Impl.java:45)
    at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.crea
    teMessage(SOAPMessageFactory1_1Impl.java:32)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA
    PConnection.java:361)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedP
    ost.run(HttpSOAPConnection.java:156)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOA
    PConnection.java:126)
    at Request.main(Request.java:34)
    CAUSE:
    com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:text/html. Is
    this an error message instead of a SOAP response?
    at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(Messa
    geImpl.java:268)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:1
    35)
    at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1
    _1Impl.java:45)
    at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.crea
    teMessage(SOAPMessageFactory1_1Impl.java:32)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA
    PConnection.java:361)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedP
    ost.run(HttpSOAPConnection.java:156)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOA
    PConnection.java:126)
    at Request.main(Request.java:34)
    java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptio
    nImpl: Unable to internalize message
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOA
    PConnection.java:126)
    at Request.main(Request.java:34)
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize m
    essage
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:2
    02)
    at com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl.<init>(Message1
    _1Impl.java:45)
    at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.crea
    teMessage(SOAPMessageFactory1_1Impl.java:32)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOA
    PConnection.java:361)
    at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection$PriviledgedP
    ost.run(HttpSOAPConnection.java:156)
    ... 3 more
    Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Invalid Content-Type:te
    xt/html. Is this an error message instead of a SOAP response?
    at com.sun.xml.messaging.saaj.soap.MessageImpl.identifyContentType(Messa
    geImpl.java:268)
    at com.sun.xml.messaging.saaj.soap.MessageImpl.<init>(MessageImpl.java:1
    35)
    ... 7 more
    Actually,i need to see the response in XML format as per my program.
    But,What does all this stuff mean ? I have using latest jwsdp 1.2.
    Can Anyone Help me on this ?

    i have the same problem. when i make a test with a VB client, the SOAP message is builded this way "<SOAP.... instead of <SOAP-ENV.... tag generated by java. When a make a test in vb client using this syntax (SOAP-ENV), the asp page returns a error:
    <font face="Arial" size=2>
    <p>Microsoft VBScript runtime </font> <font face="Arial" size=2>error '800a01a8'</font>
    <p>
    <font face="Arial" size=2>Object required: 'objXMLDOM.selectSingleNode(...)'</font>
    <p>
    <font face="Arial" size=2>/rcruz/soap/vbSoap/simplesoap.asp</font><font face="Arial" size=2>, line 6</font>
    Anyone have a idea???
    Thanks

  • ASP Page to query report

    Hi there,
    So a long time ago we had a developer who set up an asp page that loads through some of our applications.  The asp page points to a specific report, depending on where it is called from within our application and also the parameters for that specific report are provided in the URL when it is called.  Then the report being requested from within our application is displayed with the given paramaters that are provided by our application. 
    We are working on preparing to migrate everything to a new server, this is all on a windows 2003 server running like crystal server 8 or something, to a new server that is currently running crystal server 2013.  Is what I am describing possible on crystal server 2013 and if so, what would I need to set up server side to allow our applications to work the same as they are? 

    If you pull the reports from Crystal Reports Server (CRS), you'll have to log in to CRS to get to them.  You'll also need the latest Service Pack of the BI Platform 4.1 .NET SDK to connect to the server. (version 14.1.x of the assemblies).  You'll run a query on the CMS database (through the SDK - you can't query it directly) to get information about the report and then either build an OpenDocument URL to open the report or open it in the viewer that comes with the SDK.  You can find more information about OpenDocument here:  http://help.sap.com/businessobject/product_guides/sbo41/en/sbo41_opendocument_en.pdf.  Unfortunately, the documentation for the .NET SDK is virtually non-existent and what is available is not very good.  However, I have some sample C# code for working with the SDK on my website (http://www.dellstinnett.com/sample_code.html) that includes a couple of tutorial programs that show how to work with the SDK.
    If you're not connecting to CRS, you'll use the SAP Crystal Reports for Visual Studio SDK, which you can download here:  http://scn.sap.com/docs/DOC-7824.  Get the latest "Install Executable" for integration into Visual Studio - the other downloads on the same line are for various types of runtime installs.  This will allow you to open reports directly from files.  You can get more information about this SDK here:  SAP Crystal Reports, developer version for Microsoft Visual Studio – SAP Help Portal Page
    -Dell

  • ASP Page Manipulated by Form Variable

    I have an ASP page containing data from a recordset. I would
    like help doing the following: When the user first opens the page,
    they see all of the records. On the top of the page, there will be
    a form containing a menu and a submit button. I would like it so
    that the user can select an item from the menu and when they hit
    submit, it simply uses the selection as the filter term.
    I can get everything to work if I'm passing to a secondary
    page, but then the problem arises again if the user wants to make
    another selection without hitting the back button. If I'm stuck
    with the 'back' solution, please let me know.
    Thanks for your help!

    Hi,
    Thanks for replying. I have now resolved by creating a master page and passing the AwayUser URL variable through to the main form.
    Regards

  • ASP page stops loading after Javascript

    Hi all
    I have an ASP page that works fine on it's own. However, I
    have an include file that calls a .js The Javascript has a function
    that compares two field values and if both values match a specific
    string it pops up an alert to the user. The javascript works fine
    but the ASP page doesn't finish loading into the browser "Please
    wait while page loads....." error message. This also prevents any
    conditions from being applied to fields that have been created
    following the above two fields. Can't see any errors using DW 8.
    Any help or pointers to help much appreciated

    I have resolved this, thanks to anyone who spent time on
    this.

  • ASP pages and Oracle ODBC Driver

    I have a number of ASP pages that need to be updated to connect to Oracle using the ORACLE ODBC driver. Currently, these pages connect using the Microsoft ODBC driver for Oracle. I do not know of all the details yet as I havent seen the pages or network for which they reside on and I havent been supplied with details on version information. I would assume I am working with recent versions of all software.
    What Im curious about is if anyone has done this sort of driver change before and if you have any suggestions on how I would go about doing this, or if there are things that I need to be aware of that arent evident at first glance.
    Again, I am switching from the odbc driver provided by Microsoft to a version of the odbc driver provided by Oracle.
    Thanks for any and all information.

    I'll assume that there is some reason that necessitates switching drivers. If there's not going to be a benefit, I'd suggest not changing.
    That said, changing drivers should be relatively painless. If your ASP makes database connections using DSN's, simply go to the ODBC Data Source Administrator, rename the old Microsoft DSN, and create a new DSN using the Oracle driver with the name your ASP is looking for. If your ASP specifies the ODBC driver in its connect string, you'll have to modify all the ASP connect strings to use the Oracle driver. If all goes well, your ASP will now be up & running using the Oracle driver.
    As we all know, however, reality and theory are often at odds with each other. While your ASP should be connecting to the database correctly when you make these changes, please do some thorough testing to verify that everything works like you expect. The ODBC specification permits drivers to have a variety of behaviors in certain conditions. Applications written with one ODBC driver often end up relying on one of these behaviors, and may break when the ODBC driver changes.
    Justin Cave
    ODBC Development

  • I want to delete all music on my i-Phone and reload what I want...have tried to do it manually on i-Tunes and by just selecting specific songs, but nothing comes off my phone.

    I want to delete all music on my i-Phone and reload what I want...have tried to do it manually on i-Tunes and by just selecting specific songs, but nothing comes off my phone.

    You might want a more Mac-centric version of that post which is directed more at Windows users.
    iTunes will only give you the option to copy your iTunes Store purchases directly from an iPod to the computer, you'll find details in this article: Copying iTunes Store purchases from your iPod or iPhone to a computer
    For everything else (music from CDs, other downloads and including iTunes purchased songs and in some cases, videos and games) there are a number of third party utilities that you can use to retrieve the music files and playlists from your iPod. I use Senuti but have a look at the web pages and documentation for the others too. You can read reviews and comparisons of some of them here (you'll find that they have varying degrees of functionality and some will transfer movies, videos, photos and games as well):
    Wired News - Rescue Your Stranded Tunes
    Comparison of iPod managers
    A selection of iPod to iTunes utilities:
    Senuti Mac Only (iPod Touch & iPhone compatible)
    expod Mac Only (iPod Touch & iPhone compatible)
    PodView Mac Only
    PodWorks Mac Only
    TuneAid Mac only (iPhone and iPod Touch compatible)
    YamiPod Mac & Windows
    iPod Music Liberator Mac & Windows (iPhone and iPod Touch compatible)
    iPodRip Mac & Windows (iPhone and iPod Touch compatible)
    iPod Music Liberator Mac & Windows (iPhone and iPod Touch compatible)
    iGadget Mac & Windows (iPhone and iPod Touch compatible)
    Floola Mac & Windows
    Music Rescue Mac & Windows (iPhone and iPod Touch compatible)
    iRepo Mac & Windows (iPhone and iPod Touch compatible)
    iPod Access Mac & Windows (iPhone and iPod Touch compatible)
    TouchCopy Mac & Windows (iPhone and iPod Touch compatible)
    There's also a manual method of copying songs from your iPod to a Mac or PC. The procedure is a bit involved and won't recover playlists but if you're interested it's available on page 2 at this link: Copying Content from your iPod to your Computer - The Definitive Guide

  • Why ASP pages on desktop open in DW CS3

    Hello,
    I just completed the installation of CS3 on Win XP SP2
    machine. Everything seems to work fine, except that when I click on
    an ASP file, with the windows explorer, located anywhere on my pc
    the file opens in Dreamweaver CS3 instead of in Internet Explorer.
    Why is this? What's wrong?
    Just in case, Internet Explorer opens ASP files on the
    Internet.
    Any help would be greatly appreciated.
    Thank you,
    AP

    Not only is that page invalid HTML (the text needs to be in a
    container),
    but it also contains no ASP/VBScript, or any connection to a
    database.
    Notwithstanding that, however, merely opening this page in DW
    should not
    also fire up IE. And you sure shouldn't get any error on it -
    since there
    is really nothing there.
    Finally, you cannot just OPEN an ASP page from your computer
    in IE, you
    would have to SERVE it by browsing to -
    http://localhost/pathtothefile/filename.asp
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "bombolbi" <[email protected]> wrote in
    message
    news:[email protected]...
    > Wow, I neglected to mention. I do have XP Professional
    SP2 with IIS 5.1
    > running
    > on it.
    > I also checked the File Associations in windows
    explorere and is showing
    > that
    > ASP files open with Internet Explorer.
    >
    > BUT also, I jut noticed am getting the following: If I
    open an ASP file
    > from
    > within Dreamweaver CS3 on my PC, Internet Explorer opens
    but almost
    > immediately and say say:
    >
    > Active Server Pages error 'ASP 0201'
    >
    > Invalid Default Script Language
    >
    > The default script language specified for this
    application
    > is
    > invalid.
    >
    >
    > The ASP files am trying to open are not linked to an
    Access database,
    > they're
    > simply text files, here is the code of one just in case:
    >
    > <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    > Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html; "
    />
    > <title>Untitled Document</title>
    > </head>
    >
    > <body>
    >
    > THIS IS MY TEST
    >
    > </body>
    > </html>.
    >
    >
    > But both IIS 5 and my asp page indicate that the script
    language is
    > VBScript.
    >
    > Any additional thoughts?
    > Thanks,
    > AP
    >
    >

  • Adobe Reader XI 11.0.10 "there were no pages selected to print"?

    Help, I came into the office this morning and need to print forms for a client...and I can't print!  I got the message that "There were no pages selected to print".  How can I fix this?

    Hi Scott,
    I am so sorry for the inconvenience caused, lets try to resolve your issue.
    Try the "Print as Image" option. Click the Advanced button in the Print dialog box to find this option. Maybe that specific PDF is not well formed.
    Please refer to this KB doc. in order to troubleshot the issue Troubleshoot PDF printing | Acrobat, Reader
    Let me know if you still experience any issue, we will be happy to help you.
    Regards,
    Aadesh

  • Safari not opening .asp pages

    safari not opening .asp pages
    i am running safari 6.0.5

    I can't test because I don't have a login, but you can try the following.
    From the Safari menu bar, select
    Safari ▹ Preferences ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
    If you wish, you may be able to salvage the malfunctioning extension by uninstalling and reinstalling it. That will revert its settings to the defaults.

  • OS X 10.4.7 (and Tiger) specific Printer selection for applications

    Is there a way to select a specific printer to be used in an application? In my case Filemaker has always been a bit of a bug about selecting printers 'automatically' within a script.
    My script in Filemaker is set to use a specific printer which somehow OS X messes up, not because of the default selection, but rather if another script or manually the printer is changed to anything else, the scripted printer is no longer valid. The page set up (also scripted) does not behave this way.
    I found this problem in other applications too so it's not just Filemaker. Where Vectorworks uses a printer/page selection from the last saved document, a previous selection of printer in the OS (prior to even starting the app) changes this preference.
    So is there a way for OS X to default to a specific printer where no specific user or application selection is made, yet use the user setting or application (if one exists) setting to override the default, maybe in that order?
    G5 PM 2.0 dual, MBP 2.0GHz, G3 B&W 400MHz   Mac OS X (10.4)  

    You're right, this probably would not fit well into a workflow. I don't think you can attach to the command-p menu item, but perhaps Filemaker has some way of controlling the printer. (I don't have FileMaker.)
    This may also not be an ideal solution, but you could use the Printer Setup Utility preferences to set that printer as the default printer all the time, as opposed to the "Last Used Printer." That way your FiileMaker script would always work, but you'd have to remember to switch the printer when you want to print somewhere else.

  • Vbscript / asp and DATEs in recordset query

    I've been using dreamweaver for about 5 years now, and its all be mostly vbscript - classic asp based stuff....   mostly small scale stuff using MS Access db as backend datasource.
    i've always had issues with using the recordset building dialogue window/box under server behaviors in terms of building a query using the 'advanced' tab/option and having a date field from my database (formatted like mm/dd/yyyy) used  in the filtering of records... the text based  queries are all a cinch and very easy to do, but for dates I always run into issues.
    right now im simply trying to make sure all the returned records are AFTER the 'current date'  - date() ...
    and dw cs5 has this line added for the default value: RS_Events_cmd.Parameters.Append RS_Events_cmd.CreateParameter("param3", 135, 1, 1, RS_Events__MMColParam3) ' adDBTimeStamp
    in my query im asking And EventDate > ?     ---- basically, where the date of the record in the database is GREATER than or AFTER the current date or a user-defined variable for the date... the default is the current date though.
    something tells me the problem is probably related to the 135,1,1 area  of that string, but i dont know what to try... i've tried changing the last 1 to -1 and 0  but still same error "Application uses a value of the wrong type for the current operation." and it cites that same line of code i just mentioned.
    i might add the database has the date field formatted correctly and im able to use hand-written code to query it just fine, but i know there has to be a way for dw to handle it so my code isnt 'tacked' on and making a mess of the dw routines.
    anyone familiar with any of these issues as relates specifically to vbscript / asp and the use of date() in dw recordset queries?

    Hi,
    <i>I need to use a date to calculate a key figure.</i>
    Here you will use the formula variable with replacement path.
    <i> Can I filter these null values at the query level.</i>
    Yes, it is possible in query level.
    For example, in the formula :
    (0calday = '')* (do what ever you wan to do in case date is null) + (NOT (0calday = ''))* (do what ever you wan to do in case date is not null)
    With rgds,
    Anil Kumar Sharma .P

  • How to select specific rows in rtf template for complex calculation

    Hi,
    I want custom calculation in my rtf template and for this i need to select specific cell's value OR specific row's value. Any one please suggest how can I get this. Below is the example i have plotted using excel. My target is to get field 8 and 9 using sum and minus. We can calculate column over column, is there any way to calculate row over row? If I use variables, then i have to create so many variables because I have more columns and rows to calculate (here i posted one sample table). Any one please help me how can I get expected result other than using variables! If "Using variables" is the only way then also give your valuable opinions.
    Row No
    Curr Qtr
    PQtr1
    PQtr2
    3
    B3
    C3
    D3
    4
    B4
    C4
    D4
    5
    B5
    C5
    D5
    6
    B6
    C6
    D6
    7
    B7
    C7
    D7
    8
    B8=SUM(B4:B7)
    C8=SUM(C4:C7)
    D8=SUM(D4:D7)
    9
    B9=B8-B5
    C9=C8-C5
    D9=D8-D5
    Thanks.

    Hi AlexAnd,
    Thanks for the reply, I got 0 using both codes. This is a dummy table and I plotted 3,4 to give an idea of row number (as like as excel). Rows are individual data sets combining different measures and dimensions with different values.
    Account
    Curr_Qtr
    PQtr1
    PQtr2
    Deposit
    10
    15
    20
    Loan
    15
    20
    25
    Earning
    20
    25
    30
    Assets
    25
    30
    35
    Total
    =SUM(15,20)
    =SUM(20,25)
    =SUM(25,30)
    Expense
    =SUM(15,20)-25
    =SUM(20,25-30
    =SUM(15,20)-25
    Is there any way to identify the range or individual cell's value? Using variables I have to create lots of variables for each cells, I want to avoid that and want to use rows in calculation! Is that possible, Pls share your valuable opinions!
    Thanks.

  • Stop Safari pages from reloading when selected.

    Safari in iPad is driving me crazy. Unlike tabs in Safari for Mac, the pages on the iPad seem to be hardwired to reload when you select them (I usually have several pages open and need to switch back and forth between them). And that means lots of wasted time waiting for pages to reload and many times the new page refreshes with different content so I've lost the exact page I was on. Is there a way to stop Safari from auto-reloading pages when they are selected? I'd prefer to have to manually initiate refreshes.

    Your advice didn't work for me. Safari was the only app I had running, and I only had two tabs. I was attempting to post in school discussion forum. I opened a new tab, and found the link I wanted to reference. When I returned to the discussion board tab, the page reloaded and I lost everything I had typed thus far.
    I have a 16GB iPad 2 with 12GB free. Only one app running and two tabs open and yet it still did this.
    Any thoughts on why that might be?

  • Problem: Selecting 2 individual pages from a 28page doc to print as a a spread...

    I have been using InDesign today to print off a 28page booklet. I have my document setup per screen grab 1 attached. As I need to print one sheet at a time (in order to turn over to print next spread), I need to select pages in particular that I want to print.
    When going to print, I setup my printer to use A3 paper size, printing landscape. I want to select p.28&1 to print off as my cover. This however does not print off as 1 spread (even though I have selected to print as spreads). How this appears, is to print off 2 pages, 1 sheet with Page 28 and a blank, the other sheet with page 1 and a blank - see screen grab 2 attached. I am unsure how to print these side by side?
    The reason I am printing this way as opposed to selecting 'Print booklet' as I need to rotate sheets of paper, re-load to tray and individually print off spreads in order to make up this booklet. Can anyone assist or advise how to sort this? It prints all other pages as paginate spreads if I select it, just not the first and last pages which are currently single panels in the ID doc.
    Some guidance would be highly appreciated.

    There are a number of options...
    Use Print Booklet to print to postscript file using the ADBPDF9.PPD printer description, then distill to PDF and print from Acrobat. See Creating PostScript Files in Snow Leopard for Older Print Workflows | InDesignSecrets
    Export to PDF and use Actobat's booklet function,
    Use a script like Dave Saunders' basic booklet script (http://pdsassoc.com/downloads/Buildbooklet.zip) to impose, then export spreads to PDF and print from Acrobat, or one of Sterling Computing's older scripts: Steve Sterling legacy ID imposition scripts
    Use an imposition plugin like IDImposer: Overview | IDImposer

Maybe you are looking for

  • HT1918 Can I have multiple payment methods on one account

    Currently, both of my teenage sons and I are sharing an Apple account with one payment method. I would like to have a payment method for each of us.

  • Error in generating activity

    Hi experts, I am facing vary strange problem i want to create aactivity but when i create a activity then it shows me a error "The transaction 'Activate Planned' is not allowed for  Business Activity <w/out no>, because no status is set to permit it.

  • IOS7 DHCP IP address scopes being depleted

    I work for a large school district in Texas. We have a large deployment of iPads (10,000+) as well, we encourge BYOD. Our district has recently updated to iOS7. We now are experiencing IP address scopes running out of IP's, 6000 per campus for studen

  • Unable to view page content in Design View

    I cannot see the content of a page made from a template in normal Design view. I am able to see the content in Live View mode, but cannot make changes in that view. I can only make changes in code view. My client would like to make changes to content

  • Display does not go to sleep

    I have two Macbooks, early model (2006) and later model (2007). I've set the display to go to sleep while on Power Adapter on each model using Energy Saver preferences. It's not happening on my 2007 model - never goes to sleep no matter how long I se