Pulling a Record set and then using a field within that record to pull additional information from the table.

I am pulling information based on the following "If" statement;
If({JCT_CURRENT__TRANSACTION.Category} = "L"
    and "cost" in {JCT_CURRENT__TRANSACTION.Transaction_Type}
    and {JCT_CURRENT__TRANSACTION.Transaction_Date} > {@Prev Week}
    and {JCT_CURRENT__TRANSACTION.Transaction_Date} <= {@Week 1})
then
{JCT_CURRENT__TRANSACTION.Units}
This works fine and I can print it on the report with other associated fields.  One of those fields is a "Cost Code" field associated with the above conditions and date set (I am pulling for one pay period week).  Of these transactions, each week different "cost codes" could be available.
One item I need to figure out another formula is associated with the cost codes that are pulled, but, I need to compare them to a different date range.
Here is how I get the cost codes that were used in a specific time frame;
If({JCT_CURRENT__TRANSACTION.Category} = "L"
    and "cost" in {JCT_CURRENT__TRANSACTION.Transaction_Type}
    and {JCT_CURRENT__TRANSACTION.Transaction_Date} > {@Prev Week}
    and {JCT_CURRENT__TRANSACTION.Transaction_Date} <= {@Week 1})
then
left({JCM_MASTER__COST_CODE.Cost_Code},6) & "001"
This gives me the cost codes used in that period but changes the last three digits to be "001" (xx-xx-001).
Now, I need to take that cost code, the xx-xx-001 and compare it to a completely different date range to get an "estimate" number.
My problem is that, because I need to use a date range in the original conditions, even after I truncate the cost code, for some reason, it stays associated with that date range.
How can I use a field from a group of records based on date, but, associate it with a competely different date range.
I hope this is clear, I am having a real hard time with this, I am fairly new, but have pretty normal working knowledge of basic formulas, etc...
Thanks, Mike

Please re-post if this is still an issue

Similar Messages

  • I lost my iphone a few days ago and i received an email saying that my icloud account was disable from the phone is that possible?

    i lost my iphone a few days ago and i received an email saying that my icloud account was disable from the phone is that possible?

    Hi Jorge858,
    I'm sorry that you lost your iPhone.  The article below will explain what you should do in this situation.
    If your iPhone, iPad, or iPod touch is lost or stolen - Apple Support
    https://support.apple.com/en-lb/HT201472
    I would suggest you contact the Apple ID Account Security team regarding the email you received and to change the password of your Apple ID account.
    Contact Apple for help with Apple ID account security - Apple Support
    http://support.apple.com/en-us/HT204169
    Regards,
    Judy

  • Hi, I still use an iPhone 4, ever since my recent update of iOS I cannot purchase apps from the App Store, and a message keeps appearing saying that, 'this item cannot be purchased from the US store, and please switch to the Malaysia store''.

    I keep getting this message when I try to update my apps and when trying to purchase new apps from the App Store. I checked my iTunes ID and it turns out that the country shown there is the one that I am actually living in. And it is the same as my billing address, but when I tried to update my apps again, I keep getting this message, 'you are not eligible for purchase of this item from the US store, please switch to the Malaysia store'. How do I solve this issue.
    Besides ever since I updated my phone iOS it has started misbehaving, quite irritably at times. Dropped calls, slow typing, apps open very slowly, apps cannot be updated with prompts coming up like, this app cannot be updated now, please try again. I had to delete quite a few apps and reinstall them again. I had a trouble free experience with this phone till now, but is apple losing its magic. 

    Thanks too all the people who responded. . . . (noone)
    Got it sorted though. Seems that Apple has issues with multiple apple id's.
    Seems i had to somehow remember and use the original id i had when i first bought my 1st iPhone. . . .
    Even after that it was extremely hard to get my apps back on my PC.
    If anyone else has the same problem. . . .email Apple. Cya.

  • Palm Zire 31 sat idle for too long and then my hard drive crashed - I have recovered my palmOne files from the hard drive but don't know how to install to desktop?

    Since this product is no longer supported by the manufacturer, I hope that someone out there will be able to help me find a way to get my calendar and contacts restored to the desktop.  My handheld sat unused for a very long time, but my desktop calendar and contacts were current up until my hard drive crashed.  I was able to recover the PalmOne files from the crashed hard drive but all I can see are *.dat files.  When I try to import or restore, the *.dat is not a supported file extension.  HELP!  I have the original installation CD. Thank you
    Post relates to: Zire 31
    This question was solved.
    View Solution.

    .dat are the actual working files Palm Desktop is looking for - you can't import them.
    Just create a user in Palm Desktop and copy the .dat files (that have more than 1k of data) over the existing address.dat and datebook.dat (or calendar.dat, I forget which existed on your device).
    WyreNut 
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • I have an email validation script on my page and a populate form fields script that doesn't work unless it's the only script written. Here are the scripts. Thanks

              <script type="text/javascript"><!--
    function validateForm() {
    with (document.drbrake) {
    var alertMsg = "The following REQUIRED fields\nhave been left empty:\n";
    if (fullname.value == "") alertMsg += "\nfullname";
    if (emailcheck.value == "") alertMsg += "\nemailcheck";
    if (telephone.value == "") alertMsg += "\ntelephone";
    if (selectproduct.value == "") alertMsg += "\nselectproduct";
    if (problem.value == "") alertMsg += "\nproblem";
    if (alertMsg != "The following REQUIRED fields\nhave been left empty:\n") { alert(alertMsg);
    return false;
    } else {
    return true;
    // -->
    </script>
            <script language="JavaScript1.2">
    //Advanced Email Check credit-
    //By JavaScript Kit (http://www.javascriptkit.com)
    //Over 200+ free scripts here!
    var testresults
    function checkemail(){
    var str=document.validation.emailcheck.value
    var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$ /i
    if (filter.test(str))
    testresults=true
    else{
    alert("Please input a valid email address!")
    testresults=false
    return (testresults)
            </script>
                                <script>
    function checkbae(){
    if (document.layers||document.getElementById||document.all)
    return checkemail()
    else
    return true
    </script>

    I do see issues with the script, but do you realize that HTML5 has all this capability build in, so not a single bit of the code you posted is needed? Of course there may be a reason you are doing it the way you are, but I don't know what that reason would be.
    In your forms, you can simply add "required" to an input field to make it required. And by making an email field the email type, it will automatically be validated for correctness. See below:
    <input type='text' value='<?php echo last_name ?>' name='last_name' required />
    <input type='email' value='<?php echo email ?>' name='email' required />
    Assuming that your form is processed by PHP, you would then use further validation in PHP. But the HTML5 validation is just as good as javascript validation and easier to use.
    With the HTML5 validation, all fields remain populated and the form cannot be submitted if anything fails validation.  I added the value attribute to the input examples because normally, if the PHP validation fails, you want to re-populate the form with what is stored in the POST array.

  • My settings and messages app open and then close in a matter of seconds, I've tried restoring from the back up of and downloading a free app. Nothing's worked. I'd really like to avoid setting up as new. I'm on 6.1    PLEASE HELP

    PLEASE HELP

    i'm also having major CPU problems w/ FF 29.0.1. when i restart the app it calms down again but after loading tabs it steadily climbs up to 100% after not too long. i have checked out the 2 CPU links/articles above and do all the basic troubleshooting and tips, but with all the FF tools & add-ons isn't there some sort of CPU monitor that has the ability to display which extensions/scripts are hogging the CPU? Activity Monitor on Mac just shows the total used by the app. it's impossible in my case to efficiently disable dozens of add-ons & scripts, restart, and test each one by one b/c it can take several hrs before the CPU starts to spike high again. i have no time for this.
    thanks

  • TS3212 i saw the file download security window and did enter run, it only gets so far and then a window pops up that says there is a problem with the download and can't install.  what do I do?

    I did see the security download window and entered "run", but it only got so far and a window popped up saying "problem with download, can't proceed".  What to do?

    This happened to me, too. If I remember correctly, I had to set wither iTunes or my computer to download files one at a time instead of all at once. I don't remember how I set it to do this, though. I also remember that I had to delete the files and downloads and restart them all after I did this. Sorry I couldn't help more.

  • HT5622 I had an apple 3g and now I have 4S.  How do I get my information from the 3 to the 4S?  like contacts and photos?

    I had an iphone 3g and now have a 4S.  How do I transfer my contacts and photos to my 4S?

    Read http://support.apple.com/kb/ht2109

  • I want to be able to use airplay to stream audio to another iOS device, and then use that audio stream to be used when recording video instead of the built in microphone / microphone input. Is this possible?

    I want to be able to use airplay to stream audio to another iOS device, and then use that audio stream to be used when recording video instead of the built in microphone / microphone input. Is this possible?

    A third-party app probably cannot obtain a stream from another app. To the best of my knowledge, such a capability is not provided in the software development kit, apps being "sandboxed" from each other and so allowed to communicate only in very specific and limited ways.
    I'm not completely sure what you mean by "limitations on video capture". An iPhone, to the best of my knowledge, can natively record video only through it's built-in camera, and audio while doing video recording only through the built-in microphone or mic/headphone jack. There might be a video recording app that would allow audio input from an external device connected to the dock connector, but I'm not sure.
    Regards.

  • Dynamic Calc processor cannot lock more than [100] ESM blocks during the calculation, please increase CalcLockBlock setting and then retry(a small data cache setting could also cause this problem, please check the data cache size setting).

    Hi,
    Our Environment is Essbase 11.1.2.2 and working on Essbase EAS and Shared Services components.One of our user tried to run the Cal Script of one Application and faced this error.
    Dynamic Calc processor cannot lock more than [100] ESM blocks during the calculation, please increase CalcLockBlock setting and then retry(a small data cache setting could also cause this problem, please check the data cache size setting).
    I have done some Google and found that we need to add something in Essbase.cfg file like below.
    1012704 Dynamic Calc processor cannot lock more than number ESM blocks during the calculation, please increase CalcLockBlock setting and then retry (a small data cache setting could also cause this problem, please check the data cache size setting).
    Possible Problems
    Analytic Services could not lock enough blocks to perform the calculation.
    Possible Solutions
    Increase the number of blocks that Analytic Services can allocate for a calculation:
    Set the maximum number of blocks that Analytic Services can allocate to at least 500. 
    If you do not have an $ARBORPATH/bin/essbase.cfg file on the server computer, create one using a text editor.
    In the essbase.cfg file on the server computer, set CALCLOCKBLOCKHIGH to 500.
    Stop and restart Analytic Server.
    Add the SET LOCKBLOCK HIGH command to the beginning of the calculation script.
    Set the data cache large enough to hold all the blocks specified in the CALCLOCKBLOCKHIGH setting. 
    Determine the block size.
    Set the data catche size.
    Actually in our Server Config file(essbase.cfg) we dont have below data  added.
    CalcLockBlockHigh 2000
    CalcLockBlockDefault 200
    CalcLockBlocklow 50
    So my doubt is if we edit the Essbase.cfg file and add the above settings and restart the services will it work?  and if so why should we change the Server config file if the problem is with one application Cal Script. Please guide me how to proceed.
    Regards,
    Naveen

    Your calculation needs to hold more blocks in memory than your current set up allows.
    From the docs (quoting so I don't have to write it, not to be a smarta***:
    CALCLOCKBLOCK specifies the number of blocks that can be fixed at each level of the SET LOCKBLOCK HIGH | DEFAULT | LOW calculation script command.
    When a block is calculated, Essbase fixes (gets addressability to) the block along with the blocks containing its children. Essbase calculates the block and then releases it along with the blocks containing its children. By default, Essbase allows up to 100 blocks to be fixed concurrently when calculating a block. This is sufficient for most database calculations. However, you may want to set a number higher than 100 if you are consolidating very large numbers of children in a formula calculation. This ensures that Essbase can fix all the required blocks when calculating a data block and that performance will not be impaired.
    Example
    If the essbase.cfg file contains the following settings:
    CALCLOCKBLOCKHIGH 500  CALCLOCKBLOCKDEFAULT 200  CALCLOCKBLOCKLOW 50 
    then you can use the following SET LOCKBLOCK setting commands in a calculation script:
    SET LOCKBLOCK HIGH; 
    means that Essbase can fix up to 500 data blocks when calculating one block.
    Support doc is saying to change your config file so those settings can be made available for any calc script to use.
    On a side note, if this was working previously and now isn't then it is worth investigating if this is simply due to standard growth or a recent change that has made an unexpected significant impact.

  • Received adobe photoshop elements 12/adobe premiere elements 12 when I purchased a MacBook Pro.   The macBook Pro does not have a DVD player it is sold separately.     To install the program can I download a free trial version and then use the serial numb

    Received adobe photoshop elements 12/adobe premiere elements 12 when I purchased a MacBook Pro.   The macBook Pro does not have a DVD player it is sold separately.     To install the program can I download a free trial version and then use the serial numbers from the set I received?

    yes, that's exactly what you should do,
    Downloads available:
    Suites and Programs:  CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  12 | 11, 10 | 9,8,7
    Lightroom:  5 | 4 | 3
    Captivate:  7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • How can I apply a timestretch to different null objects and then use them to parent layers?

    I am using several hundred stills which are held on screen for different lengths of time. Is there a way to create null objects with various timestretch values and then use them to parent my stills?
    I'm trying to find an equivalent to the 'paste attributes' function in Final Cut Pro.
    Thanks in advance
    A

    If you have movement on the stills you can set up expressions based on in and out points. That's what I do. I then drop all my stills in order into a comp then set the out point for all stills for the longest duration. I then set group colors for layers that I want to make different lengths, do a group select and then adjust the out points for those layers. When I'm done I sequence the layers using the keyframe assistant.
    The other way I work is to use an audio track with markers for timing. I have an expression that reads the markers and sets opacity for the layers based on pairs of markers. The motion is also controlled by expressions. That's an even faster way to set up an animated slide show.
    The last way I work is just to set in an out points for all layers, sequence the layers, use expressions to do the motion and then use time remapping on a pre-comp to adjust the timing of the slide show. All methods are quick and easy.
    Here's a fly in bounce and then drop out fxx preset that will give you an idea of how expressions based on in and out point work for slide shows. You just drag the layer to it's resting position, apply the animatiokn preset and the layer flys in, bounces, and then drops out the bottom of the comp. Works in 2D and 3D space.

  • Process for exporting in FCPX and then using MPEG Streamclip to downgrade?

    I have footage shot with a 5Diii, and it is set at 1920x1080, 23.98p.
    When I export through FCPX at H.264, it gives me a beautiful master file, but is larger than the 4GB that I need.
    What is the process for using MPEG Streamclip to get a smaller file?
    Do I export a master file in FCPX first using a different codec, and then use MPEG Streamclip to compress it? If so, what would be the best setting to export from FCPX, and then what would be the best setting to compress at in MPEG streamclip?
    My goal is to be as close to 1080HD as possible.

    Here is the background story....... I provide movie files on a DVD delivery (files in SD quality) and then also give a copy of the same films on a flash drive so clients can have it in HD quality, and plug the flash drive directly into the TV.
    This always worked fine in the past until I ran into a movie file that is 4.7GB, and would not copy onto the flash drive, since flash drives only accept files up to 4GB.
    So I tried reformating the flashdrive to exFAT. It allowed me to copy the 4.7GB on the flashdrive, but when I tried plugging it in directly to the TV, the TV did not recognize the drive. (I learned that exFAT is not always compatable with all TVs.)
    My other option would be to download an app to let me reformat the drive into NTFS which accepts files bigger than 4GB, and supposedly works better with TVs. I haven't tried this yet because I am worried that downloading that app might mess up my computer. ???????
    So....I have come to the conclusion that the only other thing I can do is compress the 4.7GB file to be 4GB (or less) so it will fit on the flash drive which I believe had an original format was MS-DOS FAT.
    Are you suggesting instead of exporting the file from FCPX in H264, I should do it in ProRes? The file will be much larger than 4GB, but, then I can compress it, without losing as much of the quality as I would if I compressed an H264 file? Either way it needs to be 4GB or less, so I don't know if that defeats the purpose of using a ProRes file to begin with.
    Thank you so much for helping with this!

  • Can I work with localhost to create PHP pages and then use DW to upload them

    Problem solved
    Kevin

    If you have movement on the stills you can set up expressions based on in and out points. That's what I do. I then drop all my stills in order into a comp then set the out point for all stills for the longest duration. I then set group colors for layers that I want to make different lengths, do a group select and then adjust the out points for those layers. When I'm done I sequence the layers using the keyframe assistant.
    The other way I work is to use an audio track with markers for timing. I have an expression that reads the markers and sets opacity for the layers based on pairs of markers. The motion is also controlled by expressions. That's an even faster way to set up an animated slide show.
    The last way I work is just to set in an out points for all layers, sequence the layers, use expressions to do the motion and then use time remapping on a pre-comp to adjust the timing of the slide show. All methods are quick and easy.
    Here's a fly in bounce and then drop out fxx preset that will give you an idea of how expressions based on in and out point work for slide shows. You just drag the layer to it's resting position, apply the animatiokn preset and the layer flys in, bounces, and then drops out the bottom of the comp. Works in 2D and 3D space.

  • Select a small area and then use the selected area to paint other areas of the image

    Hello
    My problem is a little hard to explain but I try.
    What I want is to select a small area and then use the selected area to paint other areas of the image. Do not know how to do it and if it's stamp tools or pen tools to be used?

    Howdy.
    Sounds like you're looking for the Clone Stamp Tool. Set to Aligned, the sampling point resets when you release the mouse after painting. Untic Aligned and the sampling point stays in the original spot for the next stroke. It's a good idea to clone onto a separate layer with Sample All Layers selected. Then you don't lose original pixels. Allows you a do over later.
    FWIW.
    Peace,
    Lee

Maybe you are looking for

  • After iOS 8 upgrade restore from backup not working

    Hi, yesterday I've upgraded to iOS8. After three tries it worked. But now I'm not able to restore my iPhone5 from Backup. It starts restoring. But the when it's done I've receive the error message without an error nr. "itunes could not restore the ip

  • Need help setting up a Git server.

    Been following this guide. But it is missing a part regarding SSH support. When I add a locale server, IP-based. It gives me some error about line length and access denied. I suspect that it tries to connect with the wrong user, or something. I have

  • Procedure for sending captital goods to vendor with excise challan

    Dear All, Need your help on the following issue. We are having an oven in the shop floor (Capital Goods)  which we need to send out of the factory to vendor site against excise challan for some upgradation. Can you suggest the procedure for the same

  • UNDO Tablespace is used to fill frequently

    Hi Experts, We have an issue with the UNDO tablespace frequently,where we dont see the space occupied for any active transactions and i can see only for "Retained for Use by Queries or Flashback" i.e. more than 2000M. Can any one let me know how to p

  • More Wireless Woes [solved]

    There's a lot on these fora about wireless, but I haven't been able to figure this out.  So forgive me if someone else has solved this problem elsewhere, but I didn't recognize it when I saw it, I guess. I have a Broadcom BCM4306 wireless adapter.  I