You cannot have command as the datasource with parameters that get passed?

I wrote a Crystal Report using a SQL command shown below. The SQL in effect creates a table called Command with the specified fields. This CR works exactly as we requested. Now I am told that they are using some kind of Interface, written in VB6, not sure exactly of all this, but that it cannot accept this Command as the datasource. The developer says that the interface is expecting SQL Server tables. Does this sound right? The interface is a repository of all reports with parameters.
SELECT
IV00101.ITMGEDSC,
IV00101.ITEMDESC,
RM00101.CUSTNAME,
RM00101.CPRCSTNM,
RM00101.CUSTNMBR,
IV40600.UserCatLongDescr,
CATS.UserCatLongDescr,
SOP10200.ITEMNMBR,
SOP10200.SOPNUMBE,
SOP10200.QUANTITY,
SOP10200.OXTNDPRC,
SOP10200.SOPTYPE,
SOP10100.DOCDATE,
'Current' as source
FROM ((((PBS.dbo.SOP10200
SOP10200 INNER JOIN PBS.dbo.IV00101 IV00101 ON
SOP10200.ITEMNMBR=IV00101.ITEMNMBR)
INNER JOIN
PBS.dbo.SOP10100 SOP10100 ON
(SOP10200.SOPTYPE=SOP10100.SOPTYPE) AND
(SOP10200.SOPNUMBE=SOP10100.SOPNUMBE))
INNER JOIN
PBS.dbo.IV40600 IV40600 ON
IV00101.ITMGEDSC=IV40600.USCATVAL)
INNER JOIN
PBS.dbo.IV40600 CATS ON
IV00101.USCATVLS_2=CATS.USCATVAL)
INNER JOIN
PBS.dbo.RM00101 RM00101 ON
SOP10100.CUSTNMBR=RM00101.CUSTNMBR
UNION ALL
SELECT
IV00101.ITMGEDSC,
IV00101.ITEMDESC,
RM00101.CUSTNAME,
RM00101.CPRCSTNM,
RM00101.CUSTNMBR,
IV40600.UserCatLongDescr,
CATS.UserCatLongDescr,
SOP30300.ITEMNMBR,
SOP30300.SOPNUMBE,
SOP30300.QUANTITY,
SOP30300.OXTNDPRC,
SOP30300.SOPTYPE,
SOP30200.DOCDATE,
'History' as source
FROM ((((PBS.dbo.SOP30300
SOP30300 LEFT OUTER JOIN PBS.dbo.IV00101 IV00101 ON
SOP30300.ITEMNMBR=IV00101.ITEMNMBR)
INNER JOIN
PBS.dbo.SOP30200 SOP30200 ON
(SOP30300.SOPTYPE=SOP30200.SOPTYPE) AND
(SOP30300.SOPNUMBE=SOP30200.SOPNUMBE))
LEFT OUTER JOIN
PBS.dbo.IV40600 IV40600 ON
IV00101.ITMGEDSC=IV40600.USCATVAL)
LEFT OUTER JOIN
PBS.dbo.IV40600 CATS ON
IV00101.USCATVLS_2=CATS.USCATVAL)
INNER JOIN
PBS.dbo.RM00101 RM00101 ON
SOP30200.CUSTNMBR=RM00101.CUSTNMBR

Hi,
I've used the SQL Command quite a bit in Crystal. It simply replaces the SQL that Crystal would create for your Designer query with the SQL you specify in the Command. Therefore I would not expect using Command to make any difference. So I suspect the problem lies elsewhere - e.g. is the report being called correctly and are the correct parameters and database login credentials being passed?

Similar Messages

  • I get the following error message when I connect a usb ethernet adapter to my new MacBook Pro: Unsupported - You cannot use an Apple USB Modem with this computer. I live were we only have dial-up and the Apple Store said this is what I need.

    I get the following error message when I connect a usb ethernet adapter to my new MacBook Pro: Unsupported - You cannot use an Apple USB Modem with this computer. I live where we only have dial-up and the Apple Store said this is what I need. In addition, when I connect the phone to the connecter it falls out, it will not click in.

    Why are you using a usb ethernet adaptor? Just plug the modem into the usb port.

  • "Cannot complete command because the extension could not be loaded." with CEP5 Sample

    Hi,
    I have trouble with porting my extension to CEP5. I am getting error "Cannot complete command because the extension could not be loaded." when I open the panel.
    Is there any way to get more info about what happened and why? My extension was properly signed zxp and Extension Managed installed it without trouble.
    Also, to debug the problem, I tried to open the CEP HTML Test Extension - https://github.com/Adobe-CEP/Samples/tree/master/CEP_HTML_Test_Extension_5.0
    I have copied it to "~/Library/Application Support/Adobe/CEP/extensions/com.adobe.CEPHTMLTEST", created .debug file in it (https://gist.github.com/m6k/39a49786b7a85a9e312b), created empty .debug file inside Photoshop CC 2014.app (to suppress signature checking). When I open Photoshop CC 2014, I see test panels listed in extension menu, but when I try to open them, I also get the "Cannot complete command because the extension could not be loaded." error.
    Any hints what i am doing wrong and what can I do to debug this problem?
    Jan

    Hallgrimur, thanks, that is exactly the article I needed!
    My problem was that I forgot about the pref file  "~/Library/Preferences/com.adobe.CSXS.5.plist".

  • How do I get rid of the iCloud Backup alert message?  I cannot do anything with my iPad and cannot get rid of the alert. I have plugged in the iPad with Wifi on, but it won't reset.  Thanks

    How do I get rid of the iCloud Backup alert message?  I cannot do anything with my iPad and cannot get rid of the alert. I have plugged in the iPad with Wifi on, but it won't reset.  Thanks

    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • Hi guys, i just got my iPhone 4s and sometimes the signal is lost and i have to restart the phone in order to get reception again. do you thing there is a problem with the phone or with the carrier? thanks

    Hi guys, i just got my iPhone 4s and sometimes the signal is lost and i have to restart the phone in order to get reception again. do you thing there is a problem with the phone or with the carrier? thanks

    I have the exact same problem. Called my operator who told me it was a hardware issue and Apple is working on a fix...

  • I have had Aperture since 1.0 and bought every upgrade.  Now I want to transfer the software to my new iMac but I have to enter the original Serial number that I cannot locate.  Any ideas what i can do, please?

    I have had Aperture since version 1.0 and bought every upgrade.  Now I want to transfer the software to my new iMac but I have to enter the original Serial number that I cannot locate.  Any ideas what I can do, please?

    The original serial number should be in the box with the installer disk.
    If you cannot locate the serial number, contact Apple for a replacement serial number. You will need to provide a proof of purchase.
    See: Pro Application Replacement Serial Numbers
    Regards
    Léonie
    P.S. The menu command "Aperture > About Aperture" will show you your Aperture 3 serial number on your old mac, but not the previous serial numbers.

  • My original apple id is not an email address . I bought iCloud memory via that same account no problem. When setting up iCloud on iPad you cannot have a primary iCloud account unless it has an email address . Made new account but can you change originalI'

    My original apple id is not an email address .
    I bought iCloud memory via that same account no problem.
    When setting up iCloud on iPad you cannot have a primary iCloud account unless it has an email address .
    Made new account as per instruction ie [email protected] works fine
    BUT as I want to utilise the money spent on the additional memory it would be great to use the initial account set up as my primary HOWEVER as far as I have tried the initial apple ID CANNOT be changed. Bit confused actually any usefull guidance will be greatly appreciated. Thanks

    See Here > Apple ID: Contacting Apple for help with Apple ID account security
              Ask to speak with the Account Security Team...
    lmerchant wrote:
    My new phone has an old apple ID associated with iCloud only.  I cannot delete the account as it has "Find my iPhone" turned on. 
    Activation Lock in iOS 7  >  http://support.apple.com/kb/HT5818

  • You cannot reconcile a/p invoice transaction with A/P Down Payment request manually

    Dear Experts,
    One of my client has facing this problem while doing Reconciliation then he is getting the following error.
    "you cannot reconcile a/p invoice transaction with A/P Down Payment request manually"
    then we found a solution in SAP Forums and applied the same in Test Company Environment, then its working good and also attaching the scenario with screen shot.
    Please have a look into the attachment then tell us. Is it a good practice to proceed or is there any solution as simple as this.
    One more thing is my client has having more 20000 records to do reconciliation and he is looking for any alternative solution.
    So please tell us a Better solution.
    We are awaiting for your prompt response.....

    Hi,
    Please check SAP note:
    1340606 - Paid Down Payment Request cannot be reconciled
    internally.
    Thanks & Regards,
    Nagarajan

  • I can't read Or write I have been using the iPad With the accessibility icon Is there a video help them teach me how to use it more efficiently

    I cannot read or write I have been using the iPad With the accessibility icon  Is there a video to help teach me To learn how to use this accessibility more efficiently

    It sounds like you may have multiple problems, but none of them are likely to be caused by malware.
    First, the internet-related issues may be related to adware or a network compromise. I tend to lean more towards the latter, based on your description of the problem. See:
    http://www.adwaremedic.com/kb/baddns.php
    http://www.adwaremedic.com/kb/hackedrouter.php
    If investigation shows that this is not a network-specific issue, then it's probably adware. See my Adware Removal Guide for help finding and removing it. Note that you mention AdBlock as if it should have prevented this, but it's important to understand that ad blockers do not protect you against adware in any way. Neither would any kind of anti-virus software, which often doesn't detect adware.
    As for the other issues, it sounds like you've got some serious corruption. I would be inclined to say it sounds like a failing drive, except it sounds like you just got it replaced. How did you get all your files back after the new drive was installed?
    (Fair disclosure: I may receive compensation from links to my sites, TheSafeMac.com and AdwareMedic.com, in the form of buttons allowing for donations. Donations are not required to use my site or software.)

  • XI Integration Engine- You cannot log on to system BS_SAP_R_3 with user XIR

    I have given the correct user name and password while creating RFC destination and Port.
    And I see wrong user ID/password in ping status.
    Ping Status: You cannot log on to system BS_SAP_R_3 with user XIRWBUSER
    Last Retry Thu Jan 18 23:13:47 UTC 2007 .
    Can anybody guide me on this?
    Thanks
    Chiru

    Hi,
    I have correct user id/ password in RFC destination. I do not know why in Runtime work Bench it is showing the wrong userid/password.
    I forgot to give it at the first time and later I gave the user details.
    And in Runtime work bench this error is not going away.
    Any help on this?
    Thanks
    chiru

  • I am trying to reset my security questions, but I have not received the email with instructions. What is the problem?

    I initially created my apple account years ago. I am trying to reset my security questions because my answers are continually incorrect. I pressed the link that sends reset security questions info to my alt. address, but I have not received the email with instructions. I have resent the email several times and checked both of the emails I have set up with my apple account to no avail. I have tried everything that is provided in the support article about the issue and my problem has not be resolved. I've even deleted my alt email from the apple account and then reassigned it and tried again, however, I still have not received the email. Without knowing the answers to my security questions, I cannot purchase anything from the iTunes store, which I have been trying to do.
    I do not know what the problem is and I am asking for any resolutions. Please and thank you!

    Go to the Apple ID Security site from http://support.apple.com/kb/HT5699 or call the AppleCare support number from http://support.apple.com/kb/HE57 and ask to speak with the Account Security Team...either can help you reset your questions/answers.

  • "You are not connected to the internet"  with a green light on Airport

    Using airport extreme with my MacBook, The airport shows a steady green light, but I cannot connect to the internet and my Safari shows "You are not connected to the internet".
    I tried getting a direct connection, but didn't work, I will be taking my MacBook to have it checked tomorrow.
    I called my ISP, thought had to do with my DSL modem, but it works fine with a direct connection to the PC.
    I have my network checked with a check mark beside it.
    Any help?

    For future references, I have come to solve my own problem and I'm now on line.
    After I reset my DSL modem, I went into my System Preferences, Network, then Sharing.
    Clicked on Internet tab, and chose " Share your connection using Airport".
    In my Airport Options, I checked the inputs to make sure the settings match.
    And viola, I'm online and 2 floors away from my Airport Extreme.
    Hope this comes in handy for future users.
    I'm still going to get my Ethernet card checked tomorrow.

  • The DataSource with the JNDI name: contentDataSource could not be located

    Hello,
    We try to deploy our system/application to the servers that structed as
    Machine one has:
    1 administration domain
    1 managed domain
    Machine two has :
    1 managed domain which is administrated by machine one.
    I was trying to deploy the UI(portal application) to managed domain under Machine one. I got
    error message as following:
    Exception:weblogic.management.ApplicationException: activate failed for content.jar Module: content.jar Error: Exception activating module: EJBModule(content.jar,status=PREPARED) Unable to deploy EJB: ValueBean from content.jar: [EJB:011028]The DataSource with the JNDI name: contentDataSource could not be located. Please ensure that the DataSource has been deployed successfully and that the JNDI name in your EJB Deployment descriptor is correct.
    I have portalFrameworkPool Data Sources deployed to both managed domains.
    when I deploy the application to the server that has one one domain(both adminstrator domain and application domain are in one), it is fine.
    Can some one with same experience, or BEA people provide some help on this? Very appreciate any help on this issue.
    Thanks in advance.
    Christina

    :-p
    If you go to each Managed Server on the console, you can see the Service tab and then go to JDBC. Under JDBC you can see all the pool connections. Instead of localhost they should be pointing to the specific hostname or ip address of the adminserver and the pointbase port on that server (9093 by default) so the EAR files can be correctly deployed and then the JNDI Tree will look exactly the same on both servers. Change all the connection pools to use the specific hostname instead of localhost. Hope this works for you.

  • You cannot open row in the document AP invoice

    Hi Experts,
    We're getting "You cannot open row in the document AP invoice" when adding an 3 AP Invoice from draft, it used to work before with our AP Invoices.
    We're using Service Type.
    2005A PL46
    What might be the problem? Any information will be greatly appreciated.
    Thanks!

    Hi,
    What do you mean for adding an 3 AP Invoice from draft ?  Do you have any add-on running?
    Thanks,
    Gordon

  • "Cannot complete command because the extension could not be loaded" ?

    I have installed a photoshop plugin into photoshop cc. However when I go to windows => extension => photoshop plugin, it shows me "Cannot complete command because the extension could not be loaded". What should I do ?
    Thanks.

    I think you posted on the »wrong« Forum. (edited)
    http://forums.adobe.com/community/labs/extensionbuilder3?view=discussions

Maybe you are looking for

  • Swithcing java IDE's

    I have gotten into javva through school where we used an educational IDE. I'm not sure but so far I have experinced diffculties when using my code outside the educational IDE. I pretty sure we were taught the "actual " java (lol) but the structure mi

  • How to interrupt sound output?

    Hello, I need help with one problem. I have VI that plays waveform. And I need to interrupt it in any moment during playing, and to perform new playing with new waveform. When I use Sound Output  Stop and Sound Output Clear in different combinations,

  • Keychain export - can it be done?

    I've got a problem keychain on one Mac. I'd like to export a working keychain from another Mac and import to the problem Mac. However, export is grayed out. There are quite a few old posts on this topic but nothing was resolved that I can find. Does

  • Invoice Revaluation Data on a cut off date

    Hi all Client have run revalation programme for a month and next month the previous month revaluation was not reversed and new month revaluation was run now the balances are out i need query to check one specific liability account and all invoices pr

  • WRT54GS v7.50.2 and Xbox Live

    What are the correct settings that will allow me to connect to Xbox Live? I have connection to my wireless, but it keeps failing on IP. I've tried everything that I can find on the internet. Keep some here explain the correct settings to me? Thanks