Full Version: Display Field Value On Form
UtterAccess Forums > Microsoft® Access > Access Forms
jhrBanker
I have a db with a form that contains several buttons for importing files into the various tables. When I import the files, the name of the imported file is imported into a field in the table with the name “Filename”, which includes the date and version of the file. For example, “TESTmmddV1”. When I import the file, I want to display the name of the imported file alongside the button in a Textbox or Label. Any suggestions on how to do this?
theDBguy
Hi,
here's probably a few ways of doing it depending on what code you're using to import the file. But after you have saved the filename in the table, you can retrieve it using the DLookup() function.
Hope that helps...
jhrBanker
GO IT. Works great. Quick response is muchly appreciated.
Thanks again
theDBguy
Glad to hear you got it to work. Good luck with your project.
This is a "lo-fi" version of UA. To view the full version with more information, formatting and images, please click here.