I run an Access 2010 database over a network.
One form, based on a table with 30,000 records, is always opened to display a new record using:
would it be quicker/more efficient to open the form like this:
My thinking is that by using "WHERE 1=0" no records will be brought over form the back-end database, resulting is a speedier form load.
Is my thinking correct?
Thanks in advance
One form, based on a table with 30,000 records, is always opened to display a new record using:
Code:
DoCmd.OpenForm "myFormName"
DoCmd.GoToRecord , , acNewRec
Code:
Private Sub Form_Open(Cancel As Integer)
Me.RecordSource = "SELECT * From tblCustomerQuotation WHERE 1=0"
End Sub
Is my thinking correct?
Thanks in advance