acomphenn said:
In the table I have a checkbox which showes if a file is still open or not.
Now I want to run a query showing which files are open & which files are
closed. How do I do that?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
SELECT file_name, file_status
FROM table_name
ORDER BY file_status DESC
Assuming file_status is the "check box" (a bit data type [True/False]).
The query will show the open files at the top and the closed files at
the bottom. If you want to show just one or the other status, use
something like this:
PARAMETERS [Enter file status (True/False)] Bit;
SELECT file_name, file_status
FROM table_name
WHERE file_status = [Enter file status (True/False)]
--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)
** Respond only to this newsgroup. I DO NOT respond to emails **
-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv
iQA/AwUBRK68YIechKqOuFEgEQK+bQCeM2W1Ewooxnmchy8UVJgffVcRWloAn3u+
8myVchWiZm5GrtYrz9DjDyXF
=hZSt
-----END PGP SIGNATURE-----