|
Hello, I am a new Manifold user and I've spent a few weeks starting to get up the learning curve. I've been progressing although I have a long way to go before building the application I'm looking to build. In the meantime I am stumped and haven't found the answer in Help or in the forum. I feel that there is likely a simple answer to this, or at least I hope so. I am looking to format a drawing (or map layer) based on a query that joins the drawing's table to a linked table, but I need to set the field for the area background to be one of the columns in the query. However I can only see the columns native to the drawing when I use the Manifold UI to set the theme. Do I need a script to do this? Or is there a way to embed the query into the map or drawing in a way that will let me select one of its columns for the purposes of formatting the drawing? I've yet to get into scripting and the object model and I'm a bit daunted about doing so just yet. In terms of background, here is what I've done: - I have a drawing with limited data, and more data in a SQL database where I created a view. - I have linked the SQL view as a table in my project. - Since I need to relate two fields from the drawing table to two corresponding linked table fields (ie have two key fields), I couldn't do a relation, so I needed a query. - Now I have a query - and I added a parameter to narrow down the results for each area to a single row. More on the multiple rows thing sometime in the future! Proud of myself, I can now run the query beside the drawing and, selecting an area in the map, the corresponding row(s) are highlighted in the query results. Yay! But now I'm stumped on how to apply the analysis in the query. Help greatly appreciated... it will be the first of many questions in all likelihood. thanks - gosens
|