General information
Category:
Coding, syntax & commands
David,
I haven't tried this, but if Gavin's idea doesn't work try:
lcMyLongMemoFilename = ["] + ALLT(MyLongMemoFilename) + ["]
IMPORT FROM (lcMyLongMemoFilename)
>Suppose I have a string variable that holds a very long file name with embedded spaces. How would I reference it in a command whose syntax calls for a 'Filename'.
>
>Specifically, I was trying to import a file whose full path and name are stored in a memo record...and having no luck. I got a syntax error when I tried:
>
>import from (mylongmemofilename)
>
>where the memo field mylongmemofilename contains the string of the form
>
>g:\my dir1\my dir2\myfile.xls
>
>(Spaces significant in the above)
>
>I remember reading about how such path specs can be handled, but I'll be damned if I can find the answer in MSDN now!
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only