<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="DejaVu Sans Mono">Hello.<br>
<br>
For a SQLite database project for our online book - in which all
field types are used - I would like to insert an image (field type
db.Blob) for each record. I also want to use the most important
control elements from the component gb.db.form (DataSource,
DataBrowser with navigation bar (New, Save, Update, Delete,
Forward, Backward, Start and End), DataControl, DataCombo). <br>
<br>
I would like to implement the following:<br>
<br>
(1)<br>
Before saving a new or changed dataset, it should be determined
whether an image has already been saved. If this is NOT the case,
the image should be saved after an image selection dialog. <br>
<br>
(2)<br>
Before deleting a dataset, you should ask whether the dataset
should actually be deleted. At the moment the data record is
deleted immediately without any further inquiry! <br>
<br>
For both tasks the two events BeforeSave( Data As Result ) and
BeforeDelete( Keys As Variant[] ) are obvious. But I have no idea
how to handle both tasks with it? Can anyone help with ideas or
even source code? <br>
<br>
Yours sincerely<br>
<br>
Hans<br>
</font>
</body>
</html>