Hello all,
I have an easy to solve problem which I can't figure out.
I have a movie database I'm creating. I have a form to nicely display movies from a main table, complete with movie covers.
Currently the movie covers are saved on a hard drive and not embedded. here is part of my code right now:
box.Picture = "J:\Media\Database\Movie Database\Movie Covers\default.jpg"
box.picture= the picture box where the movie covers will be displayed
So I made an options menu (form connected to a table) with a text box which displays the current file directory above. I want to be able to change the directory in that textbox and have the covers be displayed from the new directory, for example:
box.Picture = Form![options_menu]![movie_covers_textbox] & "\default.jpg"
I have tried different styles such as:
Form_options_menu.Movie_Covers.Value & "\default.jpg"
Form.options_menu.Movie_Covers.Value & "\default.jpg"
Form.options_menu.Movie_Covers.Text & "\default.jpg"
Form.options_menu.Movie_Covers.Text & "\default.jpg"
can anyone tell me the proper referencing style to use in this case? I just keep getting errors.
Thank you!
I have an easy to solve problem which I can't figure out.

I have a movie database I'm creating. I have a form to nicely display movies from a main table, complete with movie covers.
Currently the movie covers are saved on a hard drive and not embedded. here is part of my code right now:
box.Picture = "J:\Media\Database\Movie Database\Movie Covers\default.jpg"
box.picture= the picture box where the movie covers will be displayed
So I made an options menu (form connected to a table) with a text box which displays the current file directory above. I want to be able to change the directory in that textbox and have the covers be displayed from the new directory, for example:
box.Picture = Form![options_menu]![movie_covers_textbox] & "\default.jpg"
I have tried different styles such as:
Form_options_menu.Movie_Covers.Value & "\default.jpg"
Form.options_menu.Movie_Covers.Value & "\default.jpg"
Form.options_menu.Movie_Covers.Text & "\default.jpg"
Form.options_menu.Movie_Covers.Text & "\default.jpg"
can anyone tell me the proper referencing style to use in this case? I just keep getting errors.
Thank you!