Yes I will fix the picture property once everything is working thanks.
No it is in single form view.
Yes I will fix the picture property once everything is working thanks.
No it is in single form view.
What is it you intend to do to 'fix' the picture property? Why continue dealing with picture property?
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Well I will remove it once all of the code is working properly, I need to deal with one problem at a time since I'm not so great at coding![]()
Yes, but isn't it the Picture property that is keeping things from working? If just using ControlSource property resolves issue, why keep playing with Picture property?
Yes, deal with one step at a time. Is the FileDialog code working? Can you navigate to file and save name into record? Get that working then deal with how to display the image.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Well yes all of the code works, and it saves the path to the picture. However when I move the database to a different computer, including the file structure and the pictures (in the same folders) I get the error that it can't open the images.
Step debug. Follow the code as it executes. Where does it fail? Is the GetPath function returning correct string?
Refer to link at bottom of my post for debugging guidelines.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Well it seems to return the correct string, it just does not update it when the form is opened. It will ask for the image in the old location. How do I update this when opening a form?
Also it seems to ask for an image that is not even in the database! When you click on Skeletmateriaal or Sporen it will ask for pictures while the tables are completely empty! How can this be? I want to include my database but packed it is 2.1 MB and it won't let me upload....
If you could help I'd really appreciate it!
Make a copy and remove what is not needed for this issue. Include just a few records for testing.
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.