CR XI uses the wrong data field after save/close-open

I have a quite complex CR XI report (35 sections).  It has 2 embedded sub-reports, connects via ODBC to Sybase, and uses a long and complex SQL statement as a Database Command.  After a fairly small number of edits and saves (I guess between 10 and 20), I can no longer save it correctly.  For example, if I add a particular text field from the command to be displayed.  Run the report in the designer then all is well.  But if I save the report and re-open it then the data field that I added has been replaced by another, totally different field.  This process is repeatable!
I tried removing some unneeded fields from the Command SQL and that causes a DIFFERENT field to replace the one I select.
If I re-create the entire report from scratch (copy and paste from the u201Cbadu201D one) then the problem goes away for a few edits and saves; but then returns.
This is getting very frustrating, because it takes me the best part of a day to copy the report to a new one, including copying all of the formatting and formulae, and ensuring that every field and every section has the correct properties (suppress, new page etc) applied to it.  In order to minimise the risk of it becoming corrupt I u201Csaveu201D infrequently, which can add to the frustration when things go wrong!
Has anyone got ANY ideas? 
What can I do to prevent the corruptions?
Is there a better way to clone the report?
Does anyone know if CR 2008 would be any better?

Don,
Thanks again for your help.  I think that you are misunderstanding the problem a bit.  When I have the report open in the designer I can put the correct field on the designer surface (eg by dragging a field called u201CCustomerNameu201D from the Command in the u201CField Exploreru201D to an appropriate location).  The report then functions perfectly when I refresh (F5) and view it in the u201CPreviewu201D tab, and I see the appropriate names.  However If I close the designer and then re-open it, a DIFFERENT field, u201CCustomerBalanceu201D, is displayed both in the design view and the preview tab, and of course I see the numeric data for that incorrect field in the preview, where I expect to see a name.  The same (incorrect) data is shown when the report is run and displayed via the web browser interface (not within the CR designer).
I have run and edited the same report on different PCs with the latest CR XI installed and on my PC with many different loads (eg just after re-boot and later in the day with many applications running) all with identical results, so I am confident that it is not resource related.
Similarly I donu2019t think it can be ODBC related, because it appears to occur when the report is saved, closed or opened.  I am not saving data with the report.  I have now tried using the DataDirect driver, but it will not connect to the Sybase ASA database on a remote server, because it complains that procedure sp_server_info is not found.  This is only supported by Sybase ASE (not ASA).
There are a lot of conditional fields and sections and page breaks  within the report, these are suppressed with an appropriate formula, but the underlying SQL is just passed one parameter and this is used to select an appropriate single data set (there is no hierarchical grouping or drill-down in this report).  The error is there consistently whatever parameter value is used (i.e. it always displays a value in place of a name in the example above).
I have still not tried your stored procedure idea, partly because that will require another day to re-write the report.  I might combine that with Jasonu2019s idea and make all display all data via formulae as a first step and then replace the underlying data with a stored procedure.
I have discovered a temporary work-around though.  I have added more sub-reports (all take the same parameter value) and replaced whole sections with those sub reports, so I was able to remove quite a few data fields from the main SQL query, because these are now queried separately in the sub-reports.  Itu2019s all working at the moment!
     Jonathan

Similar Messages

  • Using the same data field on a report

    Post Author: Lukey1972
    CA Forum: General
    Hi can anyone help me please? New to crystal reports and I have added the same Data field on a report being and I need to filter these one for Credits and the other for Debits. When I use Select Expert it effects both columns. I know that there is a logical way of doing this but being new have yet to be able to find it. Please help.

    Post Author: DHBelgium
    CA Forum: General
    Hi there,
    you can put a block filter on the data saying ex facturation is equal to c or to d leaving you only with credit or debit amounts.
    Are you using webi?
    Greetz,
    David

  • When I save a picture in CS5 it uses the wrong date.

    I reloaded and saved the same jpg in photoshop elements and t he date is correct. CS 5 also makes this error in one directory only, BUT it happens to be the directory I earn my living in. Has anyone else had this problem, and is there a fix.  The dates are essential for my job.

    Thanks for following up and describing the problem in more detail.
    Interesting.
    I just opened a PSD file I saved yesterday, then did File - Save As, and saved it as a brand new JPEG file.  I also tried with Save for Web & Devices.  In both cases all the dates (created, modified, accessed) were set to the current time.
    Earlier You mention it only happening in one folder, but not others...  Which one?
    Also I have a wild hunch for something to try, if you're willing...  Chances are it will amount to nothing, but hey, maybe...
    On my computer I have set Windows to show file extensions in all cases.  Do you?
    In Windows Explorer, choose Tools - Folder Options, and click on the View tab.  Uncheck the Hide extensions for known file types box, then try going through your process again of constructing your file and saving as a JPEG.
    This setting is reversible, and if you simply don't want to go through the trouble, I fully understand.  I only bring it up because made a random connection between this and a problem a user on this forum where Photoshop seemed to be using information from the wrong file until this setting was changed.  I could only guess there's an ambiguity having to do with the different filenames (e.g., .psd and .jpg in that other user's case) both looking the same in the dialog, e.g., ImageFile (Photoshop document) vs. ImageFile (JPG file).
    Beyond resolving the problem this way, you could always embed the date into the filenames of all further files you save, e.g., 09_25_2010_Medical_Images.jpg.  You would, of course, have to do something special (e.g., add a sequence number) if you did more than one a day.
    Thanks again for clarifying what you're seeing.
    -Noel

  • HT4059 I use the bookmark option and after  I close the iPad it opens up on the first bookmark I used

    I read on my iBook, I mark a bookmark, when I close my iPad, after I come back, it opens up at my first bookmark I used.

    I'm not sure if I am having the same problem or just a similar problem.    Lately when I open a book in iBooks it automatically opens not to the page where the bookmark is, but so e earlier page.   Not certain if it is opening to a random page or a previously bookmarked page.
    It happens on my iPad 2, iOS 6.0.1. In Settings sync Bookmarks is set to "on" and I use iCloud to sync devices as well as plugging in to iTunes on my Mac almost  daily to make back ups.   I don't tend to open iBooks on my iPhone 4S, but it is set to sync anyway.

  • Restricting date selection of the calender date field

    Right now we have a web app where you choose the starting date of a work week. We're using the calender date field to get that date. However, our client wants to restrict that to just the Mondays of the month. Is it possible to do this?

    Hi Nagy,
    The way I would approach this is by implementing that kind of calendar picker myself, from some jQuery plugin or maybe a couple of simple dropdowns, and then use javascript to populate the current date field which would be hidden. You just have to make sure that the date format looks like this:
    03-Oct-2012
    Cheers,
    -mario

  • My hard drive crashed on me Macbook Pro.  After it was replaced I could not reload Aperture 3 because I used the wrong S/N twice.

    I tried to reload Aperture 3 on my newly replaced hard drive and was unsuccessful because I used the wrong S/N twice.

    See this knowledge base article:
    Troubleshooting Professional Application Serial Numbers http://support.apple.com/kb/TS2005
    Try to remove your System ID file(s) and enter your serial number(s) again:
    The System IDs are located here:
    /Library/Application Support/ProApps/
    If present, remove the file Aperture System ID, then launch the Aperture and enter your serial number.
    Regards
    Léonie

  • Cannot add hub-managed content type with external list lookup columns to a list -- Error:Id field is not set on the external data field

    This is a variation on the issue mentioned in this
    post
    We are using SP 2010 Content Hub to manage our content types.  On the content hub we've created a couple of exteranl lists, and then created some site columns as lookups against these lists.  We then added the columns to one of our content types
    and set it to publish.
    After the publishing job executed, I tried adding the content type (which now appears on the subscriber sites) to one of the document libraries on one of the subscriber sites.  When I did that it threw the following error:
    Microsoft.SharePoint.WebControls.BusinessDataListConfigurationException: Id field is not set on the external data field    
    at Microsoft.SharePoint.SPBusinessDataField.CreateIdField(SPAddFieldOptions op)     
    at Microsoft.SharePoint.SPBusinessDataField.OnAdded(SPAddFieldOptions op)     
    at Microsoft.SharePoint.SPFieldCollection.AddFieldAsXmlInternal(String schemaXml, Boolean addToDefaultView, SPAddFieldOptions op, Boolean isMigration, Boolean fResetCTCol)     
    at Microsoft.SharePoint.SPContentType.ProvisionFieldOnList(SPField field, Boolean bRecurAllowed)     
    at Microsoft.SharePoint.SPContentType.ProvisionFieldsOnList()     
    at Microsoft.SharePoint.SPContentType.DeriveContentType(SPContentTypeCollection cts, SPContentType& ctNew)     
    at Microsoft.SharePoint.SPContentTypeCollection.AddContentTypeToList(SPContentType contentType)     
    at Microsoft.SharePoint.SPContentTypeCollection.AddContentType(SPContentType contentType, Boolean updateResourceFileProperty, Boolean checkName, Boolean setNextChildByte)     
    at Microsoft.SharePoint.SPContentTypeCollection.Add(SPContentType contentType)     
    at Microsoft.SharePoint.ApplicationPages.AddContentTypeToListPage.Update(Object o, EventArgs e)     
    at System.Web.UI.WebControls.Button.OnClick(EventArgs e)     
    at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     
    at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)     
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    b55297ed-717f-466d-8bdc-297b20344d3f
    I checked the external  content type configuration and it did specify an "id column".  Anyone know if what I am attempting to do is possible and if so, what special configurations are required?
    Thanks

    The issue is not External Content type or external list but the look up column.
    It's not possible to publish a look up column via the Content Type Hub.
    If you need to do this then an alternate way is to use a Managed Metadata column instead, otherwise you will have to implement this via a feature.
    Varun Malhotra
    =================
    If my post solves your problem could you mark the post as Answered or Vote As Helpful if my post has been helpful for you.

  • I accidentally created an iCloud account using the wrong email address for my username - I already have an iCloud account with a different email address username. Is there any way I can merge these accounts?

    I just upgraded my MacBook from OS X 10.6.8 to Mountain Lion so that I could stream from my other devices (iPhone and iPad) to my MacBook.  After making it through the upgrade process, I realized that I used the wrong email address for my iCloud username when starting up on the MacBook.  My iPhone, iPad, and iTunes are under my Hotmail email address and I accidently used my Gmail email address for the MacBook.  Is there any way I can merge these two icloud accounts together? I tried changing my account information to add the other email address, but wasn't allowed because another account was using the name (duh).  If I can't merge them, how could I change the MacBook from the Gmail address to the Hotmail address so that all my devices are on the same icloud account?  It'd be nice if I could keep the free 5GB of storage that comes with my purchase of the software, but I'd rather lose the storage than not be able to stream.

    To change accounts on your Mac, go to System Preferences, sign out of the current account, then sign into the new account.  When you sign out of the current account it will delete synced data from your Mac.  Assuming your data (such as contacts, calendars, etc.) is in the other iCloud account, it will be synced to your Mac when you sign into this account.

  • Why can't I create a document in my Facebook group on my iPad? It won't let me input any text into the text box field after I create a new document. Thanks.

    Why can't I create a document in my Facebook group on my iPad. It won't let me input any text into the text box field after I create a new document. Thanks.

    Just thought I'd add my solution, I decided to go with WebDAV and I think it actually works better than the iTunes way, the steps are pretty much the same but avoiding the iTunes interface just makes things easier and faster.
    I followed this guide but it does have a small mistake in the httpd-dav.conf file, on line 2, where it's WebServer/WebDAV">, it should be <Directory "/Library/WebServer/WebDAV">.
    The tricky part is setting permissions which if wrong will give you errors when connecting with the iPad, I opted to set all to Read&Write since my home network has a hardware firewall. Another convenience was to add an alias to the webdav share on the Desktop.
    I'm still expecting the call from Apple but even if they fix the iTunes I'm sticking with WebDAV, atleast until I see what's new with iOS5 and iCloud this fall which should bring true sync for documents (I'm hoping that they will offer encryption with my own keys, if not, then I'll probably keep using WebDAV).

  • ARRRRGH! Apple Mail is now using the wrong email address by default

    ...unless I pick one specifically in it's prefs. What the **** could be
    causing this? It just started happening today. Shouldn't it be using the
    address of account I was last in? Instead it's using the last address
    entered in the email address field in Account prefs.
    *swears long and loudly* I've been sending email all day using the wrong
    effing address!
    Mail is also still continuing to remove a line after I paste text - some
    of the time. It's always nice to never know whether I'll need to fix
    things after pasting. Keeps me on my toes...

    I suggest you play with the Send new mail from setting and see if it makes any difference. The feature works OK for me, so I think there's something funky with your Mail settings.

  • I am using the big date calendar template and when I submit it to apple for printing I lose the name of two months. These names are not text boxes. I see the names when I send it in but something happens during the transmission to apple. It was suggested

    I am using the big date calendar template in iPhoto. I am on Lion 10.7.2, macbook air. The names of the months are on each calendar page but something happens when I send the data to Apple. The names are part of the template. They are not text boxes. I lose two names on the calendar after it is sent to Apple. Apple suggested I make a pdf file of my calendar before sending it in and check to make sure every name shows. I did this with a calendar I just sent in. The calendar was correct. All names of the months were showing. After sending the data two month names disappeard because when it arrived by mail, it was incorrect. Apple looked at my calendar via a pdf file and it was incorrect.  This is second time this has happened. I called Apple and they had me delete several folders in the Library folder, some preferences and do a complete reinstall of iPhoto.  I have not yet remade the defective calendar. I am wondering if anyone else has had this problem?
    kathy

    Control-click on the background of the view all pages window and select "Preview Calendar" from the contextual menu.
    You can also save the pdf as a file to compare to the printed calendar.  If the two names are visible in the pdf file then the printed copy should show them.  Contact Apple for a refund.  Apple Print Products - Apple Store (U.S.)

  • How to find out Which LineItem is having the wrong data

    Hi All,
    This is Idoc--File scenario
    Iam sending the Idoc from R/3 and it may have several Line items and related data.
    If One line item data is wrong also the Idoc will be errored Out in MONI,for this i used UDF in mapping  to through the Exceptions. So i have to goto WE05 in R/3 and i have to check each and every line item for wrong data and then i will repost it.
    the thing is how can i find out the Particular line item is caused for this Error.
    REgards

    Hi Sarvesh,
    No, in MONI it will not take us to the correct Lineitem which is having the wrong data.
    That is only the problem here.
    Any Views.........
    Regards

  • Calendar List view shows entries under the wrong date

    I just upgraded to iOS4 and finding that my calendar entries are appearing under the wrong date in the calendar list view when I am viewing two calendars.
    - List view is ok when viewing 1 calendar
    - Day and Month views are ok at all times (ie: viewing single or multiple calendars)
    - I have 2 Exchange accounts
    - Calendar entries are appearing in the correct order, but under the incorrect date heading.
    - When I intially added the Exchange accounts the calendar list view was fine at first (I could see both calendars correctly in list view) but after a short time later it became screwed up.
    Anyone else experience this?

    Same problem here since my upgrade to iOS4 - but I only noticed today.
    I have 3 calendars set up:
    Gmail (Exchange)
    UK Holidays (iCal)
    Birthdays
    The exchange calendar is always wrong but the other two are correct when my exchange calendar is switched off.
    It has mucked up my scheduling a bit for the next month. I only became suspicious when I noticed the Scottish Bank Holiday Monday at the beginning of August was showing on FRIDAY, 30th of July!

  • Accidentally put in the wrong date of birth!!!

    I accidentally put in the wrong date of Birth when signing in to Creative Cloud. Now its locked me out and I can't log in at all.
    I logged in to my main Adobe ID account to see if I could change my date of birth but could not see how to do it!
    Can someone help me change this so I can use the system.
    At the moment according to Creative Cloud Im a 9 year old 29 year old!!!
    Matt

    You will need to contact Customer Support to fix the date-of-birth:
    Phone number: 800-833-6687, Monday-Friday, 5am-7pm PST
    Chat with an agent: http://tinyurl.com/8kquhso

  • F4 Help on Date Field after ALV is generated

    Hi all,
    Now this might sound very simple question, but Im having some difficulty in this.
    My idea is to have an F4 on a date field after the ALV Grid report is executed. From the forum search, Ive got such answers as
    l_fieldcat-edit         = 'X'.
    l_fieldcat-F4AVAILABL = 'X'.
    Now the problem with this is that Im getting an error saying:
    The data object "l_fieldcat does not have a component called "F4AVAILABL".
    And then I tried this:
    l_fieldcat-fieldname    = 'DDATE'.
    l_fieldcat-ref_tabname = 'ZCST001'.
    Now at the report output when I press F4 on the date field it gives me a dump saying:
    Field symbol has not yet been assigned.
    Error in the ABAP Application Program
    The current ABAP program "CL_GUI_ALV_GRID===============CP" had to be terminated because it has come across a statement that unfortunately cannot be executed.
    So Im kinda stuck now. Appreciate your suggestions.
    PS: Im on ECC6.
    PPS:The intended F4 on field is a custom field in a custom table.
    pk

    Run This:
    report ztest.
    TYPE-POOLS : slis.
    tables:mara,makt.
    data: begin of it_final occurs 0,
    matnr like mara-matnr,
    ERSDA like mara-ERSDA,
    end of it_final.
    DATA: it_fieldcat     TYPE slis_t_fieldcat_alv,
          wa_fieldcat     TYPE slis_fieldcat_alv,
          wa_layout       TYPE slis_layout_alv,
          g_repid         TYPE sy-repid.
    START-OF-SELECTION.
    select matnr ERSDA into table it_final from mara up to 10 rows.
      g_repid = sy-repid.
      PERFORM f_populate_fieldcat.
    *  PERFORM fill_zpayroll.
      PERFORM f_call_alv.
    *&      Form  f_populate_fieldcat
    *       text
    *  -->  p1        text
    *  <--  p2        text
    form f_populate_fieldcat .
    "Mat Number
      CLEAR wa_fieldcat.
      wa_fieldcat-tabname     = it_final.
      wa_fieldcat-fieldname   = 'MATNR'.
      wa_fieldcat-seltext_l   = 'MAT No.'.
      wa_fieldcat-outputlen   = 15.
      APPEND wa_fieldcat TO it_fieldcat.
      "Creation date
      CLEAR wa_fieldcat.
      wa_fieldcat-tabname     = it_final.
      wa_fieldcat-fieldname   = 'ERSDA'.
      wa_fieldcat-edit         = 'X'.
    wa_fieldcat-REF_TABname = 'MARA'.
    wa_fieldcat-REF_FIELDname = 'ERSDA'.
      wa_fieldcat-seltext_l   = 'Creation date '.
      wa_fieldcat-outputlen   = 15.
      APPEND wa_fieldcat TO it_fieldcat.
    endform.                    " f_populate_fieldcat
    *&      Form  f_call_alv
    *       text
    *  -->  p1        text
    *  <--  p2        text
    form f_call_alv .
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program     = g_repid
          i_callback_top_of_page = 'TOP-OF-PAGE'
          is_layout              = wa_layout
          it_fieldcat            = it_fieldcat[]
          I_SAVE = 'A'
        TABLES
          t_outtab               = it_final
        EXCEPTIONS
          program_error          = 1
          OTHERS                 = 2.
      IF sy-subrc <> 0.
        EXIT.
      ENDIF.
    endform.                    " f_call_alv
    In custom table date field must be referenced to DATS.
    P.S.I hope you already solved
    Cheers

Maybe you are looking for

  • IMAP Working for some but not others

    I am having the issue of imap working for some users and not others. I have for instance 2 users both accounts the same. One account I can link via imap the other I can not. Both have the same group memberships, both are in the same post office. Ever

  • How do I fix audio in an iMovie video?

    I'm trying to finalize a video from iMovie, but whenever I finalize it, no matter what media I use, the sound for the video clips in my movie are always off. But on iMovie, the videos and audio work fine. How can I fix this??

  • Sizing of catalog using an external 7 terabyte RAID

    I have just purchased LR in order to see if it can efficentaly catalog my 100k of raw photographs (19 meg each).These reside on a 7tb network drive.  Since LR does not allow me to place the catalog on a large external network drive. I want to know ho

  • Full Garabage Collection every minute in oc4j_soa instance

    It looks like a Full GC cycle is run exactly every minute on a IDLE BPEL instance that does not have any instances. This is a basic 10.1.3.1.0 BPEL install with no Out of the box parameters modified / tuned. Is this a known issue / bug with a fix ? A

  • QoS Shaping Subinterface

    This may not even be possible but figured I'd ping a few other brains. We are in the process of setting multiple sub-interfaces out to branch offices off our own transport. Part of this is providing them committed sub-rate interface speeds. Easy enou