I am dealing with some old MB code that did not name queries so everything is query 1,2,3 etc.
The problem is in the script, it closes everything and then assumes the queries will reset back to 1.
I am not seeing that happen. Is there some setting that will do this or a command to reset the query numbers?
Thank you.
Matthew Hirsch
Hi Matthew
My initial thought was that the counter was session-based but when I tried it, it seems to get reset when I close all.
My test was however very basic.
It’s certainly isn’t enough to just close the queries.
Do you have the source code for the script?
If you do, I’d recommend selecting into a named query, or at least use SelectionInfo to get a static name for the Selection
From: mapi...@googlegroups.com <mapi...@googlegroups.com>
On Behalf Of Matthew Hirsch
Sent: 3. marts 2021 05:02
To: mapi...@googlegroups.com
Subject: [MI-L] Reset query numbers on close all
This message originated Externally. Use proper judgement and caution with attachments, links, or responses. |
--
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en
---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
mapinfo-l+...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/mapinfo-l/ee9945daa2d24c198c4414b271848782%40lmsg.co.