1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
|
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="GENERATOR" CONTENT="Mozilla/4.05 [en] (X11; I; Linux 2.0.34 i686) [Netscape]">
<TITLE>MPSQL - File Menu</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<A HREF="mpsql.html">MPSQL Contents</A>
<H2>
File Menu</H2>
<IMG SRC="menu.gif" HEIGHT=19 WIDTH=350>
<P><B>Connect to DB</B>
<P>Displays a database connect dialog to the user:
<P><IMG SRC="connect.gif" HEIGHT=123 WIDTH=225>
<P>The user supplies the name of the database to connect to, the host that
the database resides on and the port that PostgreSQL is listening on. When
the information has been entered and the user selects 'OK' the application
attempts to connect to the database. If the connection was successful the
database name will appear in the <A HREF="mpsql_msg.html">Status Bar</A>.
Selecting 'Cancel' exits from the connection dialog with no further action.
<P>Note: starting the application using the -U switch, the connect dialog
will also display boxes for user name and password.
<P><B>New Buffer</B>
<P>Creates a new empty buffer named 'scratch' and displays it in the <A HREF="mpsql_edit.html">SQL
Command Window</A>. The buffer name is added to the list of buffers under
the Buffers menu and to the application's title bar. See: <A HREF="mpsql_menu_buffers.html">Buffers
Menu</A>
<P><B>Open File</B>
<P>Displays a open file dialog to the user:
<P><IMG SRC="open.gif" HEIGHT=205 WIDTH=150>
<P>The user can navigate the file system and select the SQL file that they
wish to edit and/or execute. The selected file is opened in a new buffer
and displayed in the <A HREF="mpsql_edit.html">SQL Command Window</A>.
The file name is added to the list of buffers under the Buffers menu and
to the application's title bar. See: <A HREF="mpsql_menu_buffers.html">Buffers
Menu</A>
<P><B>Save Buffer & Save Buffer As</B>
<P>Allows the user to save the buffer currently displayed in the <A HREF="mpsql_edit.html">SQL
Command Window</A> to a file. If the user selects 'Save Buffer' on buffer
that was opened from a file, the file is updated. If 'Save Buffer' is selected
on a 'scratch' buffer or the user selects 'Save Buffer As' the user will
be prompted with a file save dialog:
<P><IMG SRC="save.gif" HEIGHT=205 WIDTH=150>
<P>The user can navigate the file system and select the directory and enter
a filename that they wish to save the buffer to. If the user saved a 'scratch'
buffer or had selected 'Save Buffer As', the new name is added to the list
of buffers under the Buffers menu and to the application's title bar. See:
<A HREF="mpsql_menu_buffers.html">Buffers Menu</A>
<P><B>Delete Buffer</B>
<P>Removes the current buffer displayed in the <A HREF="mpsql_edit.html">SQL
Command Window</A>. If the buffer has not been saved, the user will be
prompted if they wish to save it or not. The buffer name is removed from
buffer list and the contents of the command window replaced with the next
buffer in the list. See: <A HREF="mpsql_menu_buffers.html">Buffers Menu</A>
<P><B>Print Buffer</B>
<P>Displays a print dialog to the user:
<P><IMG SRC="print.gif" HEIGHT=74 WIDTH=200>
<P>The user can enter the print device that they wish to sent the contents
of the <A HREF="mpsql_edit.html">SQL Command Window</A> to. See: <A HREF="mpsql_menu_buffers.html">Buffers
Menu</A>
<P><B>Exit</B>
<P>Exits the application. The user is prompted to save any open buffers
that need to be saved before closing.
<P><IMG SRC="bar.gif" HEIGHT=40 WIDTH=400>
</BODY>
</HTML>
|