Filename as C = .FILENAME_GET()
The .FILENAME_GET() method returns the full Filename, including drive and path of the query file referenced by the pointer.
This finds the name of the query list file.
dim tbl as P dim rec as C dim nrecs as N dim qry as P rec = "11111" tbl = table.open("test") query.filter = "rec = left(ID,5)" qry = tbl.query_create() ? qry.filename_get() = "C:\Documents and Settings\ELarrabee\Local Settings\Temp\$$120A00.MPX"