I'm trying to select variables from more than one table.
thumb_one = SQLite.QueryToTable(db_files, "SELECT * FROM files, ps_files WHERE files.file_id = ps_files.file.id AND ps_files.ps_sections_id_sub = 'factsheets'");
But when I try and output one of the fields I get an error.
Dialog.Message("Notice", thumb_one.Data[1].file_name, MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
Any ideas anyone?
thumb_one = SQLite.QueryToTable(db_files, "SELECT * FROM files, ps_files WHERE files.file_id = ps_files.file.id AND ps_files.ps_sections_id_sub = 'factsheets'");
But when I try and output one of the fields I get an error.
Dialog.Message("Notice", thumb_one.Data[1].file_name, MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
Any ideas anyone?
Comment