AggregateTable actually leaves the table open, but you
won't see it unless you use File->New->Dataview or
CreateEditor.
Try like this:
result =
AggregateTable("Counting","Customers|Customerview","DBASE",
"H:\\GIS\\ToCount.dbf","Storenbr",{{"Sales","min",},
{"Sales","max",}},null)
CreateEditor("Counting", result+"|", null, null)
A view can be open without a dataview, which is often
very usual, but not very intuitive. If you don't need
the table after AggregateTable, then you need to close
it with closeview(result).
hope it helped
Marcos
PGL
--- Chandler Coleman <[EMAIL PROTECTED]> wrote:
>
> AggregateTable("Counting","Customers|Customerview",
> "DBASE",
> "H:\\GIS\\ToCount.dbf","Storenbr",{{"Sales","min",},
> {"Sales","max",}},null)
>
> OpenTable("GroupedBy","DBASE",
> {"H:\\GID\\ToCount.dbf",})
>
> Here is a piece of code I am using. My issue is that
> it creates the
> ToCount.dbf, but then won't open the ToCount.dbf
> because it notes that
> it is already in use by the view counting. If the
> ToCount.dbf is
> alrady in use why can't I see it? I do I get this
> new table to appear
> in th window?
>
> Thanks
> Chandler
>
>
>
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Maptitude/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/