thiswebfile=&mwebpath+'jobsweb.dbf' thiswebfile1=&mwebpath+'applweb.dbf'With this context, then it means that the value contained in mwebpath should contain an expression that would evaluate as the path rather than the path itself. To clarify what I mean, I'll simply insert a line that assigns mwebpath to the line above and let's see what we get:
mwebpath = "v:\" thiswebfile=&mwebpath+'jobsweb.dbf'After macro expansion, the second line would be:
thiswebfile=v:\+'jobsweb.dbf'
which will result in an error.mwebpath = "v:\"
tomwebpath = "'v:\'"
(note the quotes within quotes type of string constant) so that the following line would expand as:thiswebfile='v:\'+'jobsweb.dbf'As previously stated by several other members on the board, your code as presented will still encounter problems if you've got paths or filenames that contain embedded spaces. To get around this, and still use macro expansions, you'll have to start quoting those spaces, then quoting those quotes... yuck. Name expression in the USE statement is probably a better way.