Re: Confused with the logic.Plzz Help.

Hi All,
I am a newbie to Crystal Reports. I am generating a work center report and have some issues with it.
I have an Activity_type and Activity_rate fields grouped by Person responsible for each Plant. I need to get the Activity_type by date.
Logic to do this:
  table1.ARBID=table2.OBJID and
  table2.OBJID=table3.OBJID and
  table1.DATE >= table3.Date
[Imp note: Table1.ARBID is not linked to Table2.OBJID(if i link them, all other data is not getting displayed)].
Also, Logic for Activity_Rate:
Select Table4.TKG001
from table4
where table4.objectno = @form_act_Objno
How can i work with this logic in Crystal reports.
Any kind of advice is appreciated.
Thanks In Advance!!

Ragini,
If you are building your data set by adding tables and linking them in the Database Expert then you drawl lines from key field to key field. Right click the link lines and alter the link properties as needed.
The fact that you you used SQL to illustrate your problem leads me to believe that you may actually know SQL. If that's the case you can use a SQL Command as your data source using the native SQL syntax for your database.
something like this:
SELECT
Fieild List
FROM Table1 AS t1
INNER JOIN Table2 AS t2 ON t1.ARBID = t2.OBJID
INNER JOIN Table3 AS t3 ON t2.OBJID = t3.OBJID AND t1.DATE >= t3.DATE
Not sure where Table 4 is coming into the mix... but you can easily pass parameter values back to a SQL Command:
where table4.objectno = '{?form_act_Objno}'
If @form_act_Objno is a formula field... You can't directly pass the results of a formula back to a SQL Command... (You can get to pass into the SQL using sub-report parameters, but it's far from intuitive, requires the use of sub-reports, and id outside the scope of do-ability for most new comers).
If it's a user supplied parameter value... no problem.
HTH,
Jason

Similar Messages

  • I am confused with the session knowledge, help

    when is the beginning of a session? is it the time when a user open a browser?
    when is the end of a session? is it the time when a user close a browser?
    but some books said that the beginning of a session is when the user logged in, and the end of a session is when the user logged out.
    what is the relationship of a session and the HttpSession object?
    I am confused, please help!

    Typically a session begins the first time the client requests an object from the servlet container. This could be any object, as long as the servlet container is responsible for it's delivery...
    As for when a session is closed, well that's a little more complicated...It ends when either you explicitly invalidate it, or when the servlet container times it out. If a user leaves your site, then later returns within the timeout using the same browser instance or a child of that window, then the session will still be alive.
    However if they visit the site with a totally new browser window (not all browsers handle this exactly the same, so you'll need to test!!!) regardless of whether or not the first session is expired, they will have a new session.

  • I have problems with the logic pro help menu, it´s in French and not English. Please help me

    When i open the help meny in Logic pro X, everything is in French instead of English. I really need some help to switch.

    or else:
    http://www.bbc.co.uk/languages/french/
    Heh!

  • Hi ive upgraded my itouch to ios 6.1.3 but it keeps crashing ounce i put my passcode in is there a way i can fix this? one of my  friends mentioed downgrading it but the only way isnt supported by apple so i dont feel safe with it so plzz help me

    hi ive upgraded my itouch to ios 6.1.3 but it keeps crashing ounce i put my passcode in is there a way i can fix this? one of my  friends mentioed downgrading it but the only way isnt supported by apple so i dont feel safe with it so plzz help me.
    it has worked fine no problems till i updated it i tried restoring itwith my old backup but it doesnt move the ios back so it just keeps on craching when i try to unlock it

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar          
    Downgrading the iOS is not supported by Apple

  • I am unable to create a new event on my iPhone with IOS 7.0.4. I tap the plus sign, fill in the details, tape Done and ... nothing. Repeatedly. No problem on my iMac or iPad, just with the phone. Help.

    I am unable to create a new event on my iPhone with IOS 7.0.4. I tap the plus sign, fill in the details, tape Done and ... nothing. Repeatedly. No problem on my iMac or iPad, just with the phone. Help.

    Assuming you're creating this event to place in your calendar, and assuming this calendar is shared with your iMac and iPad using iCloud, might the calendar be restricted on your iPhone?
    Check Settings > General > Restrictions

  • TS4498 Is music created in logic pro compatible with the logic pro x ? for instance if you have created something in logic pro and wont to add or tweak it a bit is that possible?

    Is music created in logic pro compatible with the logic pro x ? for instance if you have created something in logic pro and want to add or tweak it, is that possible? I suppose you would need the original logic folder?

    Yes it is more or less compatible, except the use of 32 bit plugins, which is prohibited from now on. So although you're able to open Logic projects as far as down to v5 I believe, it is advisable to remain for 'adding and tweaking' in your pre LPX environment.
    Have a nice day!

  • Hello.I wanted to upgrade my iPad 1 to iOS 5.1 Over the Air.I was running iOS 5.0.1.It said it had an error connecting to server.It is already 5 hours i cant install this update.I also have an iPhone 4 with iOS 5.0.1 with the same issues.Help please!

    Hello.I wanted to upgrade my iPad 1 to iOS 5.1 Over the Air.I was running iOS 5.0.1.It said it had an error connecting to server.It is already 5 hours i cant install this update.I also have an iPhone 4 with iOS 5.0.1 with the same issues.Help please!

    You're probably running into the servers simply being swamped. Thousands of people are all going for the software update at the same time. Give it a try again and if that doesn't work, then try plugging it into your computer and trying it that way.
    I didn't get a notion of the size, it doesn't seem to be as big as the 700 meg 5.0 update, but it did take me 20+ minutes to download via cable internet so it's a large file. That in and of itself takes a while.
    If you're trying to download it directly to your iPhone, you'll need to be on wifi since I'm sure it's well over the 20 meg file size limit for 3G.

  • TR associated with the Logical File Path

    Hi Experts,
    Can you please let me know how to identify a Transport Request associated with a Logical File path. We are not able to find a TR associated with the logical file path, any suggestions on how to find the TR. We checked in E070 table, but could not find a way to easily locate it, as there are many TR's in the table.
    is there a way, please suggest
    thx
    Ganu

    Hello Ganu,
    When you create a Logical Path & assign it to a physical app server path it does ask you to save the entry in a Workbench request.
    I think you can zero-in on the correct TR by checking in the table E071 (not E070 as you have done).
    In SE16 you can search for the TR using the following selection criteria:
    PGMID = 'R3TR'
    OBJECT = 'CDAT'
    OBJ_NAME = 'FILENAME'
    OBJFUNC = 'K'
    @Other posters : Did you really try it out before giving your (incorrect) responses ?
    BR,
    Suhas

  • HT201210 when i try to update to 6.0, itunes says "itunes could not back up the iphone "****** iphone" because a session could not be started with the iPhone? help?

    when i try to update to 6.0, itunes says "itunes could not back up the iphone "****** iphone" because a session could not be started with the iPhone? help?

    i hope you have 30 dollars to blow on top of what you already spent on your ipod....because thats what apple wants to answer your question ...if its out of warranty

  • I purchased an IPAD2 for my special needs daughter.  She only currently understands lowercase letters only and gets confused with the uppercase letters.  Is there a way to change the keyboard to display lowercase letters?

    I purchased an IPAD2 for my special needs daughter.  She only currently understands lowercase letters only and gets confused with the uppercase letters.  Is there a way to change the keyboard to display lowercase letters?

    There is no way for the keyboard itself to display only lower case letters. It doesn't display lower case letters at all for that matter.
    When you are using the keyboard - The other issue that you will have is with the shift key. Even with auto caps turned off you can still type capital letters if you tap the shift key and if you double tap it by mistake - it will turn into all capital letters so also turn off Caps Lock in the keyboard settings.
    Other than that, there is no way to ensure that you can type in lower case.
    Maybe an external bluetooth keyboard would be a better solution but I don't use one, and I have never even seen one in person so someone else will have to verify that for you.

  • We recently purchased the iphone5 (2) and are having problems with sound coming thru the earbuds when we plug them in to the iphones.  works fine with the ipad.  help please

    recently purchased the iphone5 (2 of them) and are having problems with the earpods.  no sound when plugged in to the iphone.  both phones.  works with the ipad.  help please

    Hi P5052,
    Welcome to the Support Communities ... and congratulations on the purchase of your iPhone 5's!
    It is very unusual that neither phone is working with the new earpods. 
    Have you tried a different headphone just to see if the issue is with the earpods or the iPhones?
    The article below will give you the basic troubleshooting steps for this issue.
    Click on the link below to see more details and screenshots. 
    I've quoted some helpful highlights for you:
    iPhone: Can't hear through the receiver or speakers
    Symptoms
    When someone calls, I can't hear them through the receiver or speaker phone, and I can't hear music through the speaker. I also can't be heard by someone who is calling me.
    Note: iPhone has one speaker, which is adjacent to the dock connector. On iPhone 4 or later models, the speaker is to the right of the dock connector. On earlier iPhone models, the speaker is to the left of the dock connector.
    Resolution
    Verify that there is nothing plugged in to the headset jack, including headsets, headphones, or adapters.
    Make sure the Ring/Silent switch is not switched to silent.
    While on the Home screen, adjust the volume buttons. If you see the icon below, indicating that headphones are attached, there may be debris or an object lodged in the headset jack:
    Check the headset jack. If there is an object lodged in the headset jack that is not easily removed, have the iPhone serviced to remove object.
    For Original iPhone: If there is light debris, such as lint, in the headset jack, try connecting a pair of headphones to the headset jack and then remove the headphones. Repeat this several times to remove the debris.
    If you have installed a protective film on the display, either ensure that the receiver is not covered or remove the film completely.
    Check the receiver mesh (which is on the top front of the device, above the display). If it appears blocked, use a clean, small, dry, soft-bristled brush to carefully and gently brush away any debris.
    If you have paired with a Bluetooth headset that is nearby, either use the headset or turn Bluetooth off (chooseSettings > General > Bluetooth).
    Restart the iPhone.
    If restarting the iPhone doesn't resolve the issue, try restoring the device.
    If the issue persists, go to the Service Answer Center - iPhone for information on service.
    Hope this helps!
    - Judy
    <Edited by Host>

  • I am trying to import video and the audio doesn't upload with the video. Help.

    I am trying to import video and the audio doesn't upload with the video. Help.
    I upgraded to iMovie 11 because the previous version wouldn't read the type of video I was importing (VOB).  The video imports but not the audio, what do I do?

    What are you capturing from?  You may not hear the auido as it's captured but it will be there.  After it's captured can you see the audio waveforms? Do the audio meters move when you play the clip?  If so then go to "View" then "Audio Playback"  and set it to 'Built-in Output" if you're monitoring audio through the computer.

  • No persistent store with the logical name could be found on the server

    Weblogic 10.3.6 standalone server (no cluster).
    I want to move ejb timers persistence from the default store to DB.
    I created a new data source, non-XA, global transactions not supported, targeted to my managed server. Tested configuratiion against DB: OK.
    I created a JDBC persistent store (type JDBCStore), attached it to data source, targeted to my managed server, committed changes OK.
    In my application, TimedObject is implemented by a Stateless Session bean.
    I modified the weblogic-ejb-jar.xml descriptor for my SLSB specifying the persistence store name:
    <stateless-session-descriptor>
                <timer-descriptor>
                    <persistent-store-logical-name>MyStore</persistent-store-logical-name>
                </timer-descriptor>
    When I deploy my application, I get the following error
    [EJB:011112]Error initializing the EJB Timer store for the EJB '...' The weblogic-ejb-jar.xml deployment descriptor or annotation for this EJB contains a persistent-store-logical-name setting but no persistent store with the logical name 'MyStore' could be found on the server 'yyyy'.
    Why ?

    Hi JB,
    The OTM schema has been created on an external database and not on the embedded XE database. Using 'Oracle Application Testing Database Configuration' we were able to successfully configure the said DB. We are able to use OTM through the 'Oracle Test Manager - Win32 Client' also. We are being held up by the above error when we attempt to deploy and use the server based OTM application.
    Do we need to configure the above Schema under the Weblogic console also?
    Regards,
    Aniket.

  • I'm trying to scan but instead of the scan a message comes up from PS saying "An error occurred while communicating with the scanner." help- I cannot scan!

    I'm trying to scan but instead of the scan a message comes up from PS saying "An error occurred while communicating with the scanner." help- I cannot scan!

    Best practices: Usage
    Supply pertinent information for quicker answers
    The more information you supply about your situation, the better equipped other community members will be to answer. Consider including the following in your question:
    Adobe product and version number
    Operating system and version number
    The full text of any error message(s)
    What you were doing when the problem occurred
    Screenshots of the problem
    Computer hardware, such as CPU; GPU; amount of RAM; etc.

  • (HELP) Dead MacBook Pro.. possibly something to do with the logic board.

    I had been noticing my MacBook Pro's performance degrading lately.. for example whenever I dragged a file into a folder it would lag for 5-6 seconds and then copy over. It started to bug me so I guessed that maybe a reinstall would fix the problem. After reinstalling and rebooting, I got no video on the display.. keyboard wouldn't work.. only things that happened was the disc drive made a sound, light came on the font and could hear the HDD spinning a little.
    I then took it to the Apple store as thats what Apple told me to do on the phone. So we took the loverly 3 hour drive(there and back) to the closest Apple store just to have the man take it out the back for 2-3 minutes and then come back to say "It's possibly the logic board that is dead".
    I am out of warranty by 2-3 months and so he told me I would have to pay £700 or so to repair. As a full-time student I don't have that kind of money.. I don't even have £60. - I find it annoying how they didn't even fully check the problem out.. just a "possibly the logic board".
    So what if I manage to click my fingers and have £700 appear right before my very eyes? I pay for the new logic board just to find out thats not really the problem? or maybe have the same thing happen again right after the 90 days that logic board is covered for? meaning I have to fork out another £700.
    I am a massive fan of Apple.. I love their products. I have brought so many products of theirs.. now just 2-3 months after my warranty runs out.. I get this. They didn't even say sorry for selling me a faulty product and didn't offer to help out in any way. When I spend £1,299 on something I expect it to last A LOT longer than a year and 3 months.
    I need my MacBook Pro very badly for College but now I can't do my work and if I want to do my work, I have to pay £700 for it.
    What do I do? Who do I talk to? Is it possible to get it fixed without having to pay that kind of money?
    I can't settle for anything less than a Mac. I love the OS way too much and need so many of the apps that are Mac-only. So no way am I going to forget this and buy myself some cheap PC CrapTop.
    - iTomath

    Unfortunately, if you cannot boot from the disc, it won't be possible to do any diagnostic tests yourself.
    It might be worth getting a second opinion. Is there an Apple authorized repair shop anywhere near you? If so, possibly you could take it there and see if they can diagnose it. You may need to pay a small fee for them to do this. But possibly someone might take a little more time with it and be able to give you a definitive diagnosis.
    I'm grasping at straws, but you might be able to try resetting the SMC:
    http://support.apple.com/kb/HT1411?viewlocale=en_US
    I don't know if this would help or not--there are not many things to do when the computer is unresponsive and you can't use the keyboard or a disc.
    Unless the problem was reported to Apple while the MBP was still under warranty, I don't think there is any way that Apple would be able to fix it under warranty. Did you ever take it in for any problem under warranty that might relate to its current situation?
    I don't know if you might be up for trying to fix it yourself. If you are, here is a site that might be of help:
    http://www.ifixit.com/
    You have my sympathy--this has to be an exceedingly difficult situation for you. I will continue to think about this, and will post back if anything comes to mind.
    Good luck!

Maybe you are looking for