I was able to figure this out:
Dim mySQL As String
mySQL = "SELECT * FROM [File Information] " & _
"WHERE [File Information].[File ID] = " & fileID & ";"
Me.RecordSource = mySQL
Me.Requery
When I remove its 'Control Source' and execute that line of code it says that "File_ID is not recognized as a field name or expression". But File_ID is the name of the drop down. :(
@Skip, I'm sorry I'm still trying to get used to this forum and I did not see that section.
@PHV, I did try that line of code. The form is bound to [File Information] but File_ID is also bound, therefore it did not work correctly.
I got this error: Run-time error '3426': This action was...
Hey everyone, I have a little bit of a dilemna.
I have a form that I am using to enter/view specific file information. From a drop down menu the user can selection File_ID, and based on what the user selects I want to pull up the rest of the information in that table row where File_ID = the ID...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.