VS2012 Saving views issue

I have an odd issue with saving views in Server Explorer in VS 2012.
If I only select columns from the database tables I can add/remove columns and save the view.
If I add a calculated column I can save that view one time only, any subsequent changes to the view will not be saved but only as long as
any calculated column remains in the view design. It means that I have to copy the SQL, close Visual Studio, then re-open, past back the SQL to be able to subsequently save any view with calculated columns.
I did not get this in VS 2008
The below view will save one time only, take out the QuantityInStock calculation the view will be able to be changed and saved normally.
SELECT        TOP (100) PERCENT Floyd.dbo.StockItem.Code, Floyd.dbo.StockItem.Name, Floyd.dbo.StockItem.Description, Floyd.dbo.StockItem.ProductGroupID,
                         Floyd.dbo.Warehouse.Name AS Depot,
                         CAST(Floyd.dbo.WarehouseItem.ConfirmedQtyInStock + Floyd.dbo.WarehouseItem.UnconfirmedQtyInStock - Floyd.dbo.WarehouseItem.QuantityAllocatedStock
AS NUMERIC(36,
                          0)) AS QuantityInStock, Floyd.dbo.StockItem.CommodityCode, Floyd.dbo.StockItem.Weight, Floyd.dbo.WarehouseItem.DateOfLastSale,
                         Floyd.dbo.WarehouseItem.DateOfLastStockCount
FROM            Floyd.dbo.StockItem INNER JOIN
                         Floyd.dbo.WarehouseItem ON Floyd.dbo.StockItem.ItemID = Floyd.dbo.WarehouseItem.ItemID INNER JOIN
                         Floyd.dbo.Warehouse ON Floyd.dbo.WarehouseItem.WarehouseID = Floyd.dbo.Warehouse.WarehouseID
ORDER BY Floyd.dbo.StockItem.Code

Hello,
Sorry for delay.
Did you try to specify "Is Persisted" property to 'Yes' in the Column Properties tab within Table Designer? the property allows us to save the computed column with the data source.
Reference:
http://msdn.microsoft.com/en-us/library/hx0xtfze(VS.80).aspx
Regards,
Fanny Liu
If you have any feedback on our support, please click here.
Fanny Liu
TechNet Community Support

Similar Messages

  • Error while saving Views in Portal - Technical name not valid.

    Hi,
    When saving Views in Portal, I'm getting the message The Technical name of object QVIW is not valid. I've searched the forums but couldn't find any solution to this issue. We are on SP 16. Any help would be appreciated.
    Thanks & Regards,
    Hari

    Dear Harikrishna,
    while saving iviews in portal..
    it will prompt for some mandetory columns is it.. one is for description..
    and the iview name like iv<name of the template>.. this should be without space..
    and in the next page u should give technical name of the template as 'template=<name of the template'
    in this you should not give any space..finish and save the ivew..
    hope this would help you.

  • Download of saved views of an interactive report

    Hi all
    When I am on a saved view of an interactive report and choose 'Download', I always get the data of the actual worksheet but not that form the saved report.
    Has anyone a solution of this problem?
    best regards
    Gerhild

    Hi Dan
    that posting contains a good deal of information about REPORT_ID of an IR on rebuild environment or updating application, but nothing about saving IRs to file.
    But in the meantime I detect the following issues:
    1. using the Repot Id Item of Advanced Attributes, you get the behavior I had described above.
    2. if you keep Repot Id Itemr of Advanced Attributes clean, the current view of the IR is downloaded to the file.
    3. Therfore I thing, that the given REPORT_ID in the Item set in Repot Id Item of Advanced Attributes is only saved once, when loading the page, but not when the current view is changed by asynchronous javascripts (AJAX function apex.worksheet.ws.pull). But the funktion for downloading data of IR (apex.worksheet.ws.download ? - body of function is emty) uses the content of that item obviously.
    I had a look at that scripts, but don't found the link between a variable of javascript and the Repot Id Item. For this reason I wasn't able to check this by eding the javascript of APEX; but I think this will be the only way to get the expected behavior.
    Best regards
    Gerhild
    Edited by: gaselmeyer on Aug 27, 2009 1:08 PM

  • Bex Saved  views not working after changes in query

    Hi Experts,
    we have an issue in saved views(Bex reports.
    Users execute the Bex reports and do drill downs according to their requirement and save it in their local machine.Whenever they want to do reporting they just open the saved report and do refresh which fetch the latest data from the backed system.
    But as a developer we do the changes in queries(like adding extra rows or any other changes in queries without changing the row and column structure) and transport to production..
    When user opens the old saved and do refresh(this will connect to SAP), it doesn't show the latest changes(extra row added in the query)
    So user complains every time they have to open a fresh report and do drill downs according to the requirement.
    We informed that its unavoidable, But Any idea to avoid this issue? please suggest?
    regards
    Pradeep
    Edited by: pradeep v on Nov 7, 2011 2:15 PM

    Hi
    Its not possible user has to execute the report freshly and have to save the views.
    But there is an option if you save views in server i.e. what ever required formats that to be saved in the server whenever new changes comes then as a developer you just open that view and refresh and save it again.
    Regards
    Jagadeesh

  • Saved Views on a Workbook

    Hi Everyone,
    I have a issue with one of my workbook.
    When I refresh the query in a workbook using a bex toolbar it is directly going to a saved view.
    How can I get rid of this views?
    Without deleting a view can I get rid of View?
    What is procedure in creating this views?
    Please explain

    Please update you have a exp in views

  • How to open a saved view in bex web analyzer.

    Hi All
    In web analyzer I have saved a view through context menu -- save view. but in open window I am unable to find saved view. Can any one help me to know how to open it.
    Thanks in advance
    Vani

    Hi Bhaskar
    I can not even see it in favourites or roles.
    Thanks
    Sushma

  • Edit the hyperlink in the alert email (Modify my alert settings, View Issue Tracking)

    is it possible to add the external hyperlink in these emails instead of the internal hyperlink? 
    in example when I get a list tracking email there are hyperlink that get sent out with these tags Modify my alert settings | View Issue Tracking | mobile view  that use the internal url //servername how can I change it to use the external
    address //internetname

    Hi Joe, check out the following links for solutions:
    http://sharepoint.stackexchange.com/questions/13216/how-to-create-custom-email-alert-template-in-sharepoint-2010
    https://social.technet.microsoft.com/forums/sharepoint/en-US/e5ebc5a7-8295-49e4-a817-c31066e1ac3d/customize-the-sharepoint-2010-email-alert
    http://www.alectang.com/blog/archive/2012/05/16/how-to-customise-sharepoint-alert-email-template.aspx
    cameron rautmann

  • Saving\updating issue or bug in C5?

    When I update buttons or even text in captions, the changes do not seem to be taking effect after I close the project, so I have to continuously go back and make the changes either on my local mathine or if another developer opens the files from our network. Is anyone else experiencing this problem?
    Thanks.

    Rick,
    Typically we use the network drive to store and pass the projects back and forth. I am checking to see if others are actually editing on the network drive. I am experiencing this on my local HD as well, with changes that I made last week not being reflected when I open the file locally today (no network drive involved). I am wondering if this is a cached project issue.
    Thanks
    Dewey Cooper |
    From: Captiv8r [email protected]
    Sent: Monday, January 03, 2011 12:05 PM
    To: Dewey Cooper
    Subject: Editing Saving\updating issue or bug in C5?
    Hi there
    From what you are asking it would seem that your mode of operation is to make edits to a project while the project is on the network? If so, that's a pretty awful way of operating and is fraught with issues.
    The preferred way of operating is to only edit a Captivate file while it is on your local hard drive. Then if you want it on the network for others to make edits, copy it there. When others need to edit, they copy it locally, edit and copy it back.
    This also requires careful coordination so that simultaneous edits aren't made. Then one person saves back to the network and his/her changes are saved, the person number two saves back and blows their changes away and replaces them with the changes they made.
    In other words, in this situation, whoever saved last wins. So you need to be very careful about coordinating who is making updates and when so that only one person is making and saving changes at any given time.
    Cheers... Rick
    http://www.robowizard.com/pc.gif
    Helpful and Handy Links
    http://www.gooberguides.com/ProductPages/Captivate/Captivate5Foundations.htm
    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=5
    http://www.ShowMeSolutions.biz
    http://sorcererstone.wordpress.com/
    http://www.gooberguides.com

  • Viewing issues with Adobe Acrobat Professional 8

    We have Adobe Acrobat Professional 8 installed, and we are having some issues when viewing pdf documents.  Once a Word document is converted to a pdf document, some of the hyperlinks are appearing thicker (almost bold) than others, and some of the text appears lighter/darker than the rest of the text.  There is no pattern to this, it is all very random.
    When we print the pdf document, everything looks correct, so this only happening when we view the document on the computer.
    Can anyone provide a suggestion on how to fix this issue?
    Thanks!

    Sorry, I forgot the attachment!
    Hi Bill,
    I am attaching screen shots of 1) a page where the hyperlinks appear thicker and 2) the document properties pages showing the fonts.
    We have tried creating it with both the Adobe PDF Maker and the MS PDF tool and it happens using both.  I am thinking that this really is a viewing issue, because it prints out fine.  Also, it looks the same no matter what the zoom setting is.
    Please let me know if you have any other advice.
    Thank you!
    Cari

  • Can you download a FormsCentral response as a pdf without having non-selected skip logic rules saved/viewed?

    Can you download a FormsCentral response as a pdf without having non-selected skip logic rules saved/viewed?

    Hi,
    Unfortunately, it is not possible to convert the response to pdf without the non-selected fields.
    As a workaround, you can hide a particular column and then convert the response to pdf.
    Regards,
    Nakul

  • Saved Views in workbook

    Hi,
    I have a question about usage of views in workbooks.
    In one of my workbbok we have a saved view insterted in the query. But what I understood from the forums is that you can open saved views if you click on the open button on BEX toolbar
    But in my workbook when I am going to particular query and when I am saying refresh from the toolbar its jumping to saved view.
    How is this possible?
    Because in the workbbok if I right click on the query name and say refresh it is just refresing th data .
    But it is behaving diffrently when I click on the tool bar.
    Please advice
    Marks will be awarded.
    Thank you

    It depends on what you're doing.  If you want to only refresh the workbook, you must click anywhere on the query itself before hitting the refresh button.  If you want to refresh the saved view only, then you must click on the saved view before selecting the refresh button.  If not, everything will be refreshed.  Hope this helps.

  • Saved Views on Query

    We are running queries through the Portal . On one query we have a number of saved views, and the last view that we created we would like to use as the default view for the query
    How do you set / determine the default view that a query is using?

    Right click and delete when you're in the "open" dialog in Analyzer.

  • What is the difference between Saved views and queries

    Hi all,
    Just i want to know the difference between 2 options in the Bex Analyzer.  Those options are "Queries" and " Saved Views". Please check it out and let me know the difference

    To add to the previous posts, saved views can also be useful when developing web templates. You can create and save one query and then save a number of views from this query, with different layouts, filters etc. web templated can then be developed using the saved views. BW 2004s introduces a whole load of standard functions to switch dataproviders in web templates. Thes can be used to switch between a number of views in a template. I have used this to present selections of key figures, switch navigation states etc.
    Regards
    Peter

  • Diffrance between saved views and workbooks

    Hello Friends,
    Good Morning ..
    Could any one please tell me what is the diff between saved view and Workbooks. .?
    It will be nice help for me.
    Thanks .

    Hi Jain,
    Do not know if your question is already answered.  Let me give you my thoughts on this subject ... start with what is a query.
    A query definition is saved on the server. Never anywhere else.
    Although people say a workbook contains a query (or several queries); it does not. It contains a reference to a query. The workbook can be saved on the server; or anywhere else that you might save an Excel workbook.
    What happens if someone changes the query definition on the server? Answer: the next time you refresh the query in the Excel workbook, the new query definition replaces the old query definition in the workbook. Maybe. It depends on what change was made.
    For example, if someone added a Condition to the query definition, the workbook will be virtually invisible to this. The Condition is available; but, is not implemented in the workbook. (Until the user of the workbook manually adds the view of the Condition and then activates it.)
    For example, if someone changed the definition of a KF in the query definition, the revised KF will show up in place of the old KF in the workbook.
    But ... if, for example, someone deleted the old KF and added a new KF, we get a different story. Now the old KF no longer appears (it does not exist); but, the new KF does not appear (it was not marked to be visible in the workbook).
    About workbooks as views ... OK, a workbook may very well have a certain "view" of the query (drilldown, filters, et cetera). And, if the workbook is saved to the server in a Role where everyone can access it, this is good. But, if the workbook is saved to one's favorites, then this "view" is only accessible to that individual. Which may be good. Or may not.
    A "saved view", on the other hand is stored on the server. So, it is available to all.
    If you navigate in a workbook you can back up. You can back up, though, only as far as you navigated in the current session. You cannot back up to where you were in the middle of last week's session. Unless you saved that navigation state as a "saved view". Then, you can jump to that view at any time.
    The downside of saved views is that they are easy for anyone to set up and difficult for most to delete.
    - Pete

  • Formatting Issues when saving\viewing in PDF

    I sure hope I am in the right place....
    I am using Adobe to print documents as PDF files for printing\saving.
    Why does Adobe push information down to the next page leaving  an extensive blank area?
    The information continues on the next page but it is also not printing the boxes out to the paper.
    I hope I explained this right.
    Thank you for any help you might be able to give me.

    Unless you are using Adobe's RoboHelp product, you are not in the right place.
    Try one of these options.
    http://forums.adobe.com/community/acrobat
    See www.grainge.org for RoboHelp and Authoring tips

Maybe you are looking for

  • HP 1055cm plus printing issue

    Just installed Adobe X.  What are the optimal settings to print using an HP 1055cm plus printer with 36" roll paper to print architectual drawings?

  • Graphic Designer Pismo G3 Owner not sure what to do about upgrading...

    Ok. Here's the scenario. I'm running my Powerbook G3 Pismo(Firewire) 500 MHZ, 512MB ram, 20GB hard Drive. Dead Battery. Daystar Superdrive CD/DVD Burner. I also run OSX Panther 10.3.9. Most of my graphics programs are still on OS9, while I websurf an

  • Can't install WIN7 with an external USB DVD

    Hi, Read all posts regarding the install of WIN7. Still none actually worked for me. 1. Details: MacMini late 2009, OS X Mavericks, unusable Apple SuperDrive, external Asus DVD on USB. Stick with drivers for WIN7, created by downloading them from App

  • Property Editor not registered with the PropertyEditorManager

    I´m trying to integrate a fully working jsf 1.1 application into JBoss 4.2.2 which uses jsf 1.2 which isn´t that compatible at all. I just have one implementation of the jsf-libs and not any in the application war. "ERROR [org.apache.catalina.core.Co

  • Importing Aperture 3 library back into iPhoto 11

    I have 15,000 photos that I imported last summer from iPhoto into Aperture 3 last summer. I'm not happy with Aperture 3 -- it's way too slow on my machine and I want to move all of my library back to iPhoto. It looks like the migration is only set up