Hello,
I have a small question......I'm building an application where you can add 1 to 3 pictures to a gallery. Now I want to insert the pictures into my excel database. But I've got a problem, How can I select the picture that I want to insert? because now the application adds only the last picture three times........ I've attached some photos of my application and database. Hopefully someone can help me.....?
Rob
Sorry for my bad Englisch.....
My code:
If(CountRows(CameraPhotos) = 1; Patch(ImageTable; Defaults(ImageTable);
formScan.Updates;
formDiscription.Updates;
{Image1: Camera1.Photo}); If(CountRows(CameraPhotos) = 2; Patch(ImageTable; Defaults(ImageTable);
formScan.Updates;
formDiscription.Updates; {Image1: Camera1.Photo};
{Image2: Camera1.Photo}); If(CountRows(CameraPhotos) = 3; Patch(ImageTable; Defaults(ImageTable);
formScan.Updates;
formDiscription.Updates; {Image1: Camera1.Photo}; {Image2: Camera1.Photo};
{Image3: Camera1.Photo}))))


Report
All responses (
Answers (