Hi again
Seems I spat the dummy at the wrong statement.
I changed the string (from select to print) that I was sending to run
command. eg,
From:
qs = "select ... <lots of stuff> ... from table into anothertable"
run command qs
To:
qs = "print ""select ... <lots of stuff> ... from table into
anothertable"""
run command qs
This worked fine, so I will change my question to why is this happening with
select??
The amount of characters seems to be variable as well depending on the
expression?
I've attached a program which will generate the problem on my machine.
-----Original Message-----
From: Mike Taylor [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 21 September 2000 15:20
To: 'Mapinfo List'
Subject: MI MB: Run Command Limitation
Hi
I seem to have run into a size limitation on the string you can pass to run
command. It works when I trim the string down to 421 characters and fails
(badly, invalid page fault) when it is 422 characters.
The command also fails when I put it into the mapbasic window of
professional.
Is there any workaround for this?
Why is 422 the magic number?
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]