Hello all,
Is it possible to use a wildcard character when setting an image control = to an unknown file type (.bmp, .jpg, etc...)?
I'm trying to point an image control to a file. It works, but because I'm unsure what type of image, I would like to change the command to use a wildcard at the end of the search string to have the control look for any image file type with the same ImageLocation key.
i.e. Form's OnCurrent
[imgPicture]="C:\Images\" & [FileLocation] & ".*"
This does not work though.
Can I set the image control to look for a wildcard in this way?
Thanks.
Is it possible to use a wildcard character when setting an image control = to an unknown file type (.bmp, .jpg, etc...)?
I'm trying to point an image control to a file. It works, but because I'm unsure what type of image, I would like to change the command to use a wildcard at the end of the search string to have the control look for any image file type with the same ImageLocation key.
i.e. Form's OnCurrent
[imgPicture]="C:\Images\" & [FileLocation] & ".*"
This does not work though.
Can I set the image control to look for a wildcard in this way?
Thanks.
Last edited: