Hi All, I use the attach command to attach another SQLite database file that resides in the same directory as my main file. I tried:
attach 'Import.sqlitedb'; But it fails to find the file. If I specify the full path: attach '/Users/tom/Documents/Work/Databases/Import.sqlitedb'; Then it works. But I don't want to have to specify the full path because: 1. It's the same directory as the already open SQLite file which I'm asking to attach the second. 2. I move my directory of databases around so the absolute path changes but the relative path remains the same. 3. I move my databases and the procedure containing the attach to iPhones/iPads where the absolute path changes between devices. How can I attach to a local file in the same directory, without specifying the full absolute path? Thanks, Tom BareFeetWare Sent from my iPhone _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users