May be I don't uderstood You right, but just a suggestion:
LPARAMETERS what_dbf
IFVARTYPE(what_dbf) # "C"&& or "N" RETURN .f.
ENDIF
full_dbf = "invMst"+what_dbf+".DBF"IF !FILE(full_dbf)
RETURN .f.
ENDIFUSE (full_dbf) IN0&& put ALIAS if you want
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller The only thing normal about database guys is their tables.