Absolutly Genius!!!
Thank you so much.
Can you explain to me how the changes to the vb work and what they mean?
Main Topics
Browse All TopicsThis is really annoying.
I have a database that has been working extremely well.I changed a few of the formulas to update the data, not changing the record source at all. All of the items in the equation are in the original record source. On start it opens an form with an overview of the data. You double click text box(the name of an individual) in the form to open up a specific form on that individual. Now when it opens the form with the specifc information after you double click the text box about 20 of them have "#Name?" in the unbound text box. At first glance it appears that every text box that has this error starts with an = sign and is an equation of some kind. I searched this on Google and found the following response on another website. That said I dont quite understand how to use the information below
[[[[[[ My problem did not exist with my unbound text box source controls. The problem was my loading and unloading of forms. I have two forms, both tied to tables. One form opens up first and when the user clicks a button to exit the other pops up. My code was not loading the second form correctly (the form that I was pulling the data for my report) and thus caused the #Name? error to display.
The correct code for me to use when my second form loaded was :
DoCmd.OpenForm "frmInputForm", acNormal
Placed under the Private Sub Form_Unload section of the first form. I was not using that code and my second form was not loading correctly. I could add, edit, and delete records but for some reason I could not run query's that were dependent on the data on the form or create unbound text boxes]]]]]]]]]]
With this in mind I have attached the VB that I us to open the new form. Please keep in mind that I am still a newbie.
I really appreciate your help. I need to roll this database out on Friday so thank you in advance for being life savers.
rivate Sub AgtFullName_DblClick(Cance
'Hope to open FsaDataYtd based on Agent Click
DoCmd.OpenForm "FsaDataYtd", , , "AgtFullName = '" & Me!AgtFullName & "'"
'DoCmd.OpenForm "FsaDataYtd", , , "Agent = " & Chr(34) & Me!Agent & Chr(34)
End Sub
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
nope,
but yesterday afternoon I changed
DoCmd.OpenForm "FsaDataYtd", , , "[AgtFullName] = '" & Me.AgtFullName & "'"
to
DoCmd.OpenForm "FsaDataYtd", acNormal , , "[AgtFullName] = '" & Me.AgtFullName & "'"
and it works some how. I don't even know what acNormal means. can you explain it to me.
Thank you so much for all of your help.
Please make a backup of your Access application before you do the following:
Office button > Access options > current database >
Application options > Compact on close
you will have to close the application and open it 3-4 times,
then you can unCheck the "compact and close" button, and see how your application work.
jaffer
This is not good,
this is a sign of a corrupt mdb.
What ever you do, first make a backup and keep it in a safe place, then try to fix it.
There are a lot of sites that can explain how to try to repair the mdb, a recent post is here:
http://www.experts-exchang
Good luck.
jaffer
Business Accounts
Answer for Membership
by: jjafferrPosted on 2009-11-04 at 09:49:15ID: 25741893
try this
Select allOpen in new window