Hi
Hope any can help me out here. Really can't figure out what is wrong.

When I run this command from MapBasic:
Create Table strFotoTab (RuteNr Char(4),BilledNr Char(10)) File strHelp

It fails when strFotoTab = "Job2001-01_Foto"
but runs fine if strFotoTab = "Job2001-01b_Foto" or
strFotoTab = "Job2001_01_Foto" 

The error I get: "Expression does not evaluate to a column or a table name"


Has this anything to do with the "-" in the name???

Here's parts of the code (might help):
CurrentJob = strJobs(JobNo)  'Contains array of strings
strFotoTab = "Job" & CurrentJob & "_Foto"
strHelp = FOTO_PATH & "Data\tempfoto"    '(FotoPath = "F:\FotoMan\")
Create Table strFotoTab (RuteNr Char(4),BilledNr Char(10)) File strHelp


Any help appreciated
/Morten Nielsen



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to