Hiya,
I have a database that has forms with pictures on them, the picture files are located on the hard drive and i post the path to these in the table, when i select a diferent option from the combobox in the form the textboxes and picture change accordingly and do as i wish, so, my query is :
in the table i have a field for "photos" and in that field i have to place the path to the desired image for example " c:\mydatabase\images\image1.jpg" and this works fine but what i wish to do is place it on our network which has a "p:\ drive " and this means i will have to change the path, is there a way i can have the table still show the image by means of it knowing what drive its on as default? still with me?
ie: %root\images\image1.jpg so i dont have to specify the drive letter and no matter what drive the database is located on it will show the image providing the folder is there.....clear.??? any help appriciated..thanx
I have a database that has forms with pictures on them, the picture files are located on the hard drive and i post the path to these in the table, when i select a diferent option from the combobox in the form the textboxes and picture change accordingly and do as i wish, so, my query is :
in the table i have a field for "photos" and in that field i have to place the path to the desired image for example " c:\mydatabase\images\image1.jpg" and this works fine but what i wish to do is place it on our network which has a "p:\ drive " and this means i will have to change the path, is there a way i can have the table still show the image by means of it knowing what drive its on as default? still with me?
ie: %root\images\image1.jpg so i dont have to specify the drive letter and no matter what drive the database is located on it will show the image providing the folder is there.....clear.??? any help appriciated..thanx