Is there a way in MapBasic to create a list of branch numbers within the
page and have it go through that list and do the above commands by
specifying variables instead of having a set of commands for each
branch?
Sort of like a While In ("#","#","#"...) command.
Thanks
I am trying to avoid having a program that continues onto 6 pages with
the same command of select, commit, close through a list of branch
numbers.
This is what I have now:
'**REGION 1601*******
Open Table "H:\Pack2001\FCTABLES\REG1601.TAB" Interactive
Browse * From REG1601
Select * from REG1601 where branch = "0327" order by GEOCODE into
fc0327
Commit Table fc0327 As "H:\Pack2001\FCTABLES\FC0327.TAB"
Close Table fc0327 Interactive
Select * from REG1601 where branch = "0384" order by GEOCODE into
fc0384
Commit Table fc0384 As "H:\Pack2001\FCTABLES\FC0384.TAB"
Close Table fc0384 Interactive
...
Run Menu Command M_FILE_CLOSE_ALL
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]