Thanks to all who helped with this issue, though there was no definite answer to this problem I was offered a work around which whilst not entirely desirable, certainly does the trick. Here is a summary of the problem and its workaround:
PROBLEM I needed to create an internal buffer of objects in a table, this could be achieved on my data using the buffer menu option, I did not however want the buffer created in my original table - nor did I want to create a specific buffer table! I also needed the buffer to be created using MapBasic code as part of a program. The problem occurs when trying to create a buffer into an object variable, when doing this MapInfo throws up the following warning message: "Warning: Operation did not produce a result. No errors detected" The object variable is properly initialised and the MB statement is correct. SOLUTION The simplest solution came from Paul Crisp: "You COULD just do something like this (because it works) Set the cosmetic layer editable Create the buffer into the cosmetic layer Fish the object out of the cosmetic layer Clear the cosmetic layer out and set it editable off." ISSUES There is no feasible reason why the code and data I am using will cause MapInfo to produce the error as the exact same data and statement will allow a buffer to be created in a separate table or the cosmetic layer. I feel this is something that requires further investigation! Kind Regards, Colin Henderson GI Developer Ordnance Survey Romsey Road Southampton SO16 4GU *************************************************************** For more information on Ordnance Survey products and services, visit our web site at http://www.ordnancesurvey.co.uk *************************************************************** _______________________________________________________________________ List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MapInfo-L" in the message body.
