Recent Posts

Pages: 1 ... 7 8 [9] 10
81
General Board / Re: Linking a Logical data model to database builder model
« Last post by Geert Bellekens on December 08, 2017, 08:26:02 pm »
I don't thins there is / should be an automatic linking of data models at conceptual - logical - physical (schema) level.  Going from one level to another you make a number of decisions about the model structure based on circumstances, your style and habits etc. There are many different correct ways to develop a physical schema from a logical one and vice versa.  Don't know how it could be automated to have changes propagated correctly.
This particular client has all their transformation rules defined.
The add-in transforms the logical model into a physical model following these transformation rules.
Then the DBA's review the proposed structure and overrule certain rules if needed.
The tool marks the database objects that have been overruled in order to not propose a change according to the standard transformation rules next time the logical model is being transformed.

In any case, this save a lot of mindless grunt work and helps with the standardization (naming conventions etc..)

Geert
82
General Board / Re: Linking a Logical data model to database builder model
« Last post by ermvu on December 08, 2017, 08:07:15 pm »
Very useful information. Thank you all for your input
83
General Board / Re: Don't update Crossover to v. 17 if you use MySQL
« Last post by Simon M on December 08, 2017, 08:28:03 am »
I'd be curious if you have the same issue using Wine directly.

I don't have any recent experience using Crossover, but I know that if I update Wine I always need to run winetricks --force mdac28 before ODBC connections will work for me. (That's on the latest stable versions)
84
General Board / Don't update Crossover to v. 17 if you use MySQL
« Last post by jleecbd on December 08, 2017, 06:52:07 am »
I upgraded to Crossover 17 the other day.  Although the ODBC connection tests successfully, when you try to connect to the DB within EA, you get a generic 0x80004005 error and you can't connect.  I've submitted this to both Sparx and Codeweavers.  I'll update if I actually get a response from either.  I deleted all of my bottles and completely reinstalled everything in 17, but no change.  Downgrading to 16 has resolved the problem so that is where I'm stuck for now.

85
// The following lines open the Word document successfully
var wdObj = new ActiveXObject("Word.Application");
wdObj.Visible = true;
var wdDoc = wdObj.Documents.Open(inputFileName);

Thank you Geert
86
I used to do something like that a while ago.
In C# I used code like this:
Code: [Select]
app.Selection.Collapse();
Find findH2 = app.Selection.Find;
findH2.set_Style("Heading 2");
findH2.Text = "";
if (findH2.Execute())
To find the next heading of style "Heading 2"
This moves the selection in Word (which you can can follow visually)

Geert
87
Does anyone know how to use Sparx Jscript to find all headings in a Word document?

// The following lines open the Word document successfully
var wdObj = new ActiveXObject("Word.Application");
wdObj.Visible = true;
var wdDoc = wdObj.Documents.Open(inputFileName);

      
// The following line prints Bookmarks.Count correctly
Session.Output("wdDoc.Bookmarks.Count:" + wdDoc.Bookmarks.Count);

// The following line prints Sections.Count correctly
Session.Output("wdDoc.Sections.Count:" + wdDoc.Sections.Count);
      
// Following line seems to be working because it takes a while in a large document
var myHeadings = wdDoc.GetCrossReferenceItems(wdRefTypeHeading);
      
// Following line shows blank
Session.Output("myHeadings" + myHeadings);
      
// Following line errors with "Object expected"
var lheadingCount = UBound(myHeadings) - LBound(myHeadings) + 1;
      
// Following line errors with "'Count' is null or not an object"
Session.Output("myHeadings.Count:" + myHeadings.Count);
      
// Following line errors with "'length' is null or not an object"
Session.Output("myHeadings.length" + myHeadings.length);
88
Automation Interface, Add-Ins and Tools / Re: MDG - change diagram icon
« Last post by Uffe on December 07, 2017, 11:23:36 pm »
Yes, exactly.

As to other characteristics, well there are three basic types of diagram in terms of behaviour: "normal", sequence and timing. This type is not represented in any way as far as I know, it's just there. I assume that's inherited.

Other than that, most diagram characteristics can be specified with the styleex, pdata and other attributes.

/Uffe
89
General Board / Re: Project MDG Technology options storage
« Last post by Geert Bellekens on December 07, 2017, 11:21:54 pm »
Ah, genopt. Of course. Silly me.  ;D
:-X
90
General Board / Re: Project MDG Technology options storage
« Last post by Uffe on December 07, 2017, 11:14:26 pm »
Ah, genopt. Of course. Silly me.  ;D

Thanks!


/Uffe
Pages: 1 ... 7 8 [9] 10