sann [mailto:[EMAIL PROTECTED]] wrote:
> 1. Is there any way to detect the rows containing
> Null objects in a table.
You can select rows that have object using "obj" in your where clause;
you can select rows that don't by using "not obj" in your where clause.
> 2. How can we programmatically detect the event of
>closing of a table i.e. I would like to show a message
>when a certain table is closed from a MapInfo session
You can't. The best you can do with MapBasic is to wrap the
"File -> Close" and "File -> Close all" commands with your own.
If you do that, you have to remember to regenerate the File menu
at the start to show your Close and Close All, and regenerate the
default
file menu when you're done ("Alter menu item XXX calling YYY" doesn't
seem
to work for standard MapInfo commands despite MapInfo's documentation).
If another MapBasic program that alters the file menu is running,
too bad.
HTH
Spencer
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 3168