I'm trying to automate the updating of some GANTT bars with a button setting the beginning date at 2w before now and ending date at 10w after now.
Problem is that it actually work and changes the data for the shape but doesn't update the visual. When I right click on the shape, open the parameters modification, select then unselect any parameter and validate, it actually update the visual, without any modification.
Do someone have an idea why this happen ?
I haven't found anywhere the same problem on internet except on a topic 19 yo with no response.
I'm using
Application.ActiveWindow.Page.Shape.ItemFromID(myID).CellsSRC(visSectionUser, 1, visUserValue).FormulaU = "NOW() -14ed"
Application.ActiveWindow.Page.Shape.ItemFromID(myID).CellsSRC(visSectionUser, 2, visUserValue).FormulaU = "NOW() + 10ew"
also tried with FormulaForce.
Thanks for any help
Gantt chart diagrams are controlled by an addin that is built-in to Visio. This addin controls most aspects of the diagram and Microsoft don't publish details of its internals. Looking at the Actions cells you can see that the Edit Date command performs action:
RUNADDONWARGS("GC","/CMD=2610")
This might do all kinds of things internally.
Good luck.
Related
if you're working with Views and SQL Server Management Studio (i'm using version 14)
then you probably have noticed it, the code you put in the view designer gets auto formatted
i personally think that the way of formatting is really ugly, especially that JOIN statements are always at the end of the line. however, i'd like to change that.
i already looked a bit up and i know we can install custom formatters, but they only work for sql files (like new queries) but that won't overwrite the default behaviour of the view designer
can anyone help me find a solution? i don't care whether it is downloading a tool or it would be already helpful if i could at least stop the auto formatting somehow so i can at least apply my own code style and then it's the same for everyone in the team
i highly hope you know any kind of approach here.
thank you!
You cannot change the formatting being applied for DESIGN. Even in the new version of SSMS, I see that the code is formatted little differently in view designer. Even if you change through designer and save it and open it again, it is not keeping formatting changes and applies its formatting changes, when you open it again through View Designer.
You can try the below approach:
Right click the view and open in new window
Now, you can apply formatting manually or you can any of the SQL formatting tools or corresponding SSMS add-on to formatting to the code. Now, the formatting will be kept intact if you open it again. Sql formatting tools
I have access to the Navision SQL Server database and the corresponding Microsoft Dynamics NAV interface.
I want to migrate the 'Aged Acc. Receivable DII' report. Once I select the report and go to Tools > Designer I can see the 'DataItem' list, and when I select any of those and press F9 I see the C/AL Editor as per below.
Selecting another 'Data Item' provides another code. My initial question would be, which code from the 'Data Item' refers to the 'Preview' button in the 'Aged Accounts Receivable - IRES' window?
From the code I understand there are 3 tables joined (Customer, Cust_ Ledger Entry and Detailed Cust_ Ledg_ Entry) but I can not manage to output the same result that in the report produced in the interface. I'm guessing this is a generic report. Is there a query that could be used to generate the same output? Or documentation that would explain how the report is created?
Oh man, i don’t know where to start. MS seems to finally buried Navision 5 along with it’s documentation on msdn. But it is still should be possible for you to open local documentation with F1. Just make sure you are pressing it while your input cursor is on the code. This will open developer’s docu. You will not find there any explanations about how data is structured for output, but you will be able to find how things works.
Back to your questions. You need all the code you see in triggers. And might happen you will need code from the layout that you have not yet discovered. Preview and print buttons doing the same except for the global variable CurrReport.Preview is set to true.
To see if there is any other code open View-Sections, select any section and F9. Code will also be different per section.
The form you are asking is called RequestForm, hence the menu called View-Request page. F9 on the page and any elements on it.
Also, see the button that is third from the right on toolbar on your screen. That is Properties. Many things have properties. For example DataItem’s properties will tell you have child and parent are linked.
If you can open report in the designer then you probably have a developer’s license uploaded to database. Where is the developer then?) It should also allow you to export objects to text file. The you will be able to read every last bit of the code. When window with dataitems is active (for previously mentioned commands as well) press File-Export and select text format. Fob will produce binary output, not useful for you.
Today, VS 2017 Community Edition recommended I take a small update, which I did.
Now any VB.NET solution that I open shows a blank form (as if adding a new form). However, in examining the files, all of the controls and the associated code are present in the files. It just appears that the VB.NET Form Designer is not happy with something in a file.
Is there anything I can do to kick the Form Designer to display the form correctly or is there anything I can examine to ascertain some specific error it might be throwing so that I can look in the right place for resolution.
I figured it out and thought the solution might be useful for others. For some reason, the new version was converting every VB Form control from this (for example) Me.labelFrequency.Location = New System.Drawing.Point(113, 197) to this Me.labelFrequency.Location = New System.Drawing.Point(-32768, 197)(Note the italicized invalid coordinate). It did this for EVERY control in the project. The negative coordinate was throwing off the Designer (obviously). I cleared the VSTS cache and restored a version of the xyzzy.Designer.VB file with the correct values and it stopped doing this. Left this here in case anyone else found this useful.
Is there a way to list all the suggested Quick Actions for an open project in VS2017 (v15.3.3)?
I do not see any listed in the Error List window (even with "Build + IntelliSense" selected), though I do see other types of IntelliSense warnings such as CS warnings (e.g. CS1591).
(Quick Actions being the items that are marked in the gutter with a light bulb and accessed with either Alt +Enter or Ctrl+.)
Thanks to a response from the #VisualStudio twitter account, I've come across this MS Docs page that answers this question: https://learn.microsoft.com/en-us/visualstudio/ide/code-styles-and-quick-actions?utm_source=t.co&utm_medium=referral
It describes how to set code style preferences by opening the Tools > Options window and selecting Text Editor > C# / Basic > Code Style > General.
Here there are a list of the code style preferences. To see where they are suggested in one's own code the severity of each can be changed, say from "None" to "Suggestion" or "Warning". Then, during a build, the locations for the related style will be listed in the Build Output or Errors windows
This isn't exactly the same as what you're looking for, but could help you make changes much more quickly to the entire document, project, or solution:
When you try to apply a quick action (using Ctrl + .), you'll get a preview of the changes it will make. At the bottom of that preview is a button that says
"Apply to all occurrences in ..."
This will save you from having to go to every single occurrence in a certain scope and fixing it, which is what I've done for a couple of hours now :(
I made a graph in MS Access Report feature but the colors are painfully old looking. Pastels and I need them to match the theme. I can't seem to find an option to change the colors anywhere for the bar graph. I tried searching but found no results. If anyone knows how to go from the 2000s to 2017 that would be great. Thanks for the help.
PS. I also am wondering how to place just one graph in the report for a categorical graph. If someone knows a link to where I can find more information on the report function of Access, please also comment that but the main issue is above.
Works for me:
report in design view, double-click on the graph to go into edit mode
double-click on any bar to select that series and open Format Data Series dialog
set patterns and colors
click anywhere on the report to exit chart edit
Save
What do you mean by 'categorical' graph?
Have you Googled 'building Access reports'?