I have a data grid in FORM form and have an image being placed with each record.
Following the example given in the Data Grid lessons everything works except for one thing.
The image doesn't stick.
If I have three records, only the first record displays the image BUT it is the image of the 3rd record.
Records 2 and three have a blank image.
The data is in an array with four variables
data[x]["name"] <- text
data[x]["filename"] <- text
data[x]["current_book"] <- text
data[x]["cover_image'"] <- image data
The FillInData is as follows:
on FillInData pDataArray
set the text of field "Title" of me to pDataArray["name"]
set the text of field "filename" of me to pDataArray["filename"]
set the text of field "Current" of me to pDataArray["current_book"]
put pDataArray["cover_image"] into image "image"
end FillInData
So everything gets filled in correctly except the image which, as I said only shows for the last image read, but placed in the first image position.
what am I doing wrong?
James
Data Grid - Images not sticking
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Data Grid - Images not sticking
Hi James,
of me
...
put pDataArray["cover_image"] into image "image" OF ME
## sorry for being so egocentric today
...
Best
Klaus
of me

...
put pDataArray["cover_image"] into image "image" OF ME
## sorry for being so egocentric today

...
Best
Klaus
Re: Data Grid - Images not sticking
AAhhh!
As they said in a song that was a hit many years ago over here, "ego is not a dirty word."
Thank you so much.
all works as expected now.
James
As they said in a song that was a hit many years ago over here, "ego is not a dirty word."
Thank you so much.
all works as expected now.
James