piperent said:
[blue]My assumption is that you load some default image file . . .[/blue]
Yes thats correct. Initially you have to select a picture to set the image control. After that you delete whats in the [blue]Picture[/blue] property and save the form to lock it in.
Now . . . this is how it works:
[ol][li]When the form is first opened or the user navigates to a different record, the [blue]On Current[/blue] event is triggered.[/li]
[li]Code in the event checks your [blue]Path Field[/blue]:
[ol a][li]If the [blue]Path Field[/blue] is null/empty, the Picture property of the Image control is set to a null string (no picture).[/li]
[li]If the [blue]Path Field[/blue] has data, the Picture property is set to that Path & FileName contained in the [blue]Path Field[/blue] (picture appears).[/li][/ol][/li][/ol]
In te code snippit, [blue]
you![/blue] substitute proper names in [purple]
purple[/purple]. To be sure, look to the [blue]Name[/blue] property.
Finally:
piperent said:
[blue]For each vehicle, there is a field (cell) which holds the [purple]'folder\image-name.jpg' [/purple](e:\shared\anyvehicle.jpg) . . .[/blue]
Wrong! . . . these have to be changed to a full [purple] Drive:\Path\FileName specifier[/purple] for each picture, such as:
[blue]C:\Pictures\Birds\Sparrow.jpg[/blue]
Thats it . . . let me know how you make out . . .
See Ya! . . . . . .