We help IT Professionals succeed at work.

Need to speed up unbound Form Load - use DAO?

Thirt asked
Last Modified: 2008-11-02
I have a split database and the backend is staying in Access. I heard that in this enviroment, DAO is the faster method to load an unbound form? If so, is there a better process to load up a forms unbound field values then what I'm doing?

My goal is to enhance the current Continuouis Form that I provide to date. The field columns span across and off the page. Plus I need to record the changes and send the new update to a change log table. So I need a new form to edit all the fields in one form for the selected record, allow changes to be cancelled at any time (thus my fear to use a bound form), and when they press OK it saves the changes in the main table and sends the updated record to the change log table.

Is there a better way to do approach this?
Private Sub Form_Open(Cancel As Integer)
Dim rs As DAO.Recordset
Set rs = CurrentDb.OpenRecordset("SELECT TblFileList.* FROM TblFileList WHERE TblFileList.FileIndexNo=1571")
Do Until rs.EOF
     Me.FileIndexNo = rs!FileIndexNo
     Me.FileCurrentDate = rs!FileCurrentDate
     Me.cboCat = rs!FileCatCode
     Me.cboFileName_ver = rs!FileName_ver
     Me.FileDocID = rs!FileDocID
     Me.txtTitleOnDoc = rs!FileDocTitle
     Me.txtLink = rs!FileLink
     Me.FileName_orginal = rs!FileName_orginal
     Me.FileRevisedby = rs!FileDocName_short
     Me.FileRelativeDate = rs!FileRelativeDate
     Me.FileFunction = rs!FileFunction
     Me.FileJob = rs!FileJob
     Me.FileDocCode = rs!FileDocCode
     Me.FileDocSubCode = rs!FileDocSubCode
     Me.FileDocSubMicroCode = rs!FileDocSubMicroCode
     Me.FilePUOID = rs!FilePUOID
End Sub

Open in new window

Watch Question


oh, and the current method I'm using appears to take about 3 seconds to load, which is slower then I expected.
President / Owner
Most Valuable Expert 2017
This one is on us!
(Get your first solution completely free - no credit card required)

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.