Ask Your Question

How to insert a link to an odb database to display an image

asked 2016-08-31 15:43:27 +0200

Laika gravatar image

updated 2016-08-31 22:04:07 +0200

Kruno gravatar image

I'm trying to create hyperlinks into a database I'm creating of plants and herbs (odb). But it doesn't work.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2016-08-31 19:05:39 +0200

Ratslinger gravatar image

Here is a minimal setup.

First the table. Two fields: an ID for key (AutoValue = Yes) and a Text[VARCHAR] of say 100 characters to hold the location.

Next the form. Form properties set to the created table. Two controls on the form: Image Control pointing to the text field in the table and a Navigation Bar to move through the table items.

To use, open the form. With no records in the table you can add a new link by a right mouse click on the image control, then left click on the displayed Insert image from... and select the location of the wanted image. Go to Next Record and the previous link is inserted into the table.

edit flag offensive delete link more

answered 2016-08-31 21:13:14 +0200

updated 2016-09-01 06:52:53 +0200

I tried Ratslinger's answer. It works very well. Here a example with flags:





edit flag offensive delete link more

Comments thanks for the sample. Works fine if .png samples and saved paths match. Even without that, it allows for new entries to be made.

Ratslinger gravatar imageRatslinger ( 2016-08-31 21:32:31 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-08-31 15:43:27 +0200

Seen: 820 times

Last updated: Sep 01 '16