Unfortunately not. I've managed to suss out what mfd_meta is doing - the one in our SQL database is used to store things like formatting. Have been tweaking some values through SQL server and seeing them reflected in Manifold. The layout I want to alter is contained in a map (so you've got myMap, and then underneath it, myLayout). From a quick script I ran, the text is item 12. So I've tried adding this to the mfd_data: OBJ PROP VAL myMap Item.12 { "Text":"MyAddress" } I should also point out that the text box is bound to myMap, when I right-click on it. However, the value does not update from "AddressHere" (which is what it currently is). I think I'm nearly there, just can't quite get the last bit ironed out. I found the textbox using the following quick script: Sub Main Set components = Application.ActiveDocument.ComponentSet for i = 0 to components.Count-1 if components(i).name="myLayout" Then for j = 0 to components(i).EntrySet.Count-1 application.messagebox j application.messagebox components(i).EntrySet.Item(j).text next end if next End Sub As an aside, I can foresee an issue with the query which gets the value. When the map file runs, the query that is run is a simple select query which a layer is subsequently based off. I imagine I can't put a query in here to update the mfd_meta, so I assume I would have to turn this into an update query to update BOTH the mfd_meta and a new table from which we'll create the layer. Which shouldn't be much of an issue, just a bit of a pain. Mind you, can mfd_data even do this for Manifold 8? Or am I best going through the VS route? Judging from the manual, I don't think it can.
|