Hi Peter,
Thanks for your reply and congratulations!
Yes, I have been looking at the documentation and have a good knowledge of MapXtreme but my problem is how to access tables that are open in MI Pro. When I first heard of MDAL I thought that the Catalog would automatically contain all tables that are open in MI Pro but as I understand it now I need to call OpenTable as in MapXtreme.
So if the user has uncommited changes in TAB-files that are open in MI Pro I can't access that data using MDAL.
What I do now is that i execute a query in MapBasic and save that to a temporary table. I then commit that table to a file that I open in MDAL. This works but I do not like having to write a file each time I execute a query.
Something like this:
MIDo("Select * From Test Where {CONDITIONS} Into \"TempTable\" Noselect");
MIDo("Commit Table TempTable As \"C:\\temp\\TempTable.tab\"");
MapInfo.Engine.Session.Current.Catalog.OpenTable("C:\\temp\\TempTable.tab");