Open a form

M

margaret

So, once again for all you who are reading today, I have a form ... frmSales
that is based an a qrySales from tblSales, it includes a field "fairdate". I
would like the control tblsales.fairdate to read from tblControlFile!fairdate
AND filter any data to equal the tblControlFile!fairdate. On the "on open"
property I have

Me.fairdate.DefaultValue = "'" & DLookup("FairDate", "TblControlFile") & "'"
Me!fairdate = tables!tblcontrolfile.fairdate



And, it's not working. Can anyone help?

Margaret
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top