Hi Frank,
I tried to solve one problem with form and images, I created database
with three image fileds included, I inserted into the form three image
control, and only first worked.
How many image control can be used on forms?
As many as you like, I'd say ...
We'd need more details to help you solving your problem. Are all three
bound to database fields? The same field or different ones? What exactly
does "not work" mean?
I started this to create a database with more than one picture in
records, and to create report - all pictures belonging to one record
print out on one page.
First I created table and form and report with SRB.
Table:
CREATE CACHED TABLE "Pictures"("ID" INTEGER GENERATED BY DEFAULT AS
IDENTITY(START WITH 0) NOT NULL PRIMARY KEY,"Title1"
VARCHAR(100),"Picture1" LONGVARBINARY,"Picture2"
LONGVARBINARY,"Picture3" LONGVARBINARY,"Description" VARCHAR(100))
Created form with two text boxes and three image control, I can use
only Picture1 control to put image in it. To image control Pic2 and
Pic3, I can add with image control but it not stored in database, only
from the first image control.
When I saved record all three picture were shown. I stepped to second
record pictures i Pic2 and Pic3 remained, if I changed i can change it,
but if I go back to record 1, the pictures were what I inserted to
second record, Pic1 image control worked. Same happened when inserted
record 3.
Form without subforms, when created with subforms and put each image
control to different part, same thing happens.
I created report and only Pic1 showed on, Pic2 and Pic3 places was empty.
For that case to reach pi2 and pic3, needs macro?
Regards:
Zoltan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]