<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6389.0">
<TITLE>Opening form to display record or add new record</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">I have a form with 2 list boxes to select a month and a year. Once selected another form opens and displays a record from a table based on the month and year selected. This form gets its data from the table by means of a query. This works fine if a record exists for the selected month and year. If the month and year selected does not exist in the table I just get a blank form. Tried this as a macro condition but does not work </FONT></P>

<P><FONT SIZE=2 FACE="Arial">[Forms]![frm Select Date]![selected_date]>[tbl Last Date in tbl_monthly_inputs]![Last Date]</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">How do I get the form to open to allow a new record to be added to the underlying table. Thanks for the assistance.</FONT>
</P>

<P><FONT SIZE=1 FACE="Times New Roman">No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced.</FONT><BR>

</P>
<BR>

</BODY>
</HTML>