Tommy wrote:
How exactly can I check to see if psql returns ZERO to the "shell"? What do I test for? If(Psql.exe)? or is there a variable I can check to see if it has been set?
If you are running Delphi on Windows (the MsgBox makes me guess so), take a look here:
http://delphi.about.com/od/windowsshellapi/a/executeprogram.htm -J -- Jørgen Austvik, Software Engineering - QA Database Technology Group Sun Microsystems AS Haakon VII gt. 7b N-7485 Trondheim, Norway Phone +47 73 84 21 10 Fax +47 73 84 21 01 Mobile +47 90 19 78 86
begin:vcard fn;quoted-printable:J=C3=B8rgen Austvik n;quoted-printable:Austvik;J=C3=B8rgen org:Sun Microsystems;Database Technology Group adr:;;Haakon VIII gt. 7b;Trondheim;;NO-7485;Norway email;internet:[EMAIL PROTECTED] title:Senior Engineer tel;work:+47 73 84 21 10 tel;fax:+47 73 84 21 01 tel;cell:+47 901 97 886 x-mozilla-html:FALSE url:http://www.sun.com/ version:2.1 end:vcard
---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq