[Gambas-user] Hot to load and savbe to DB a binary file (not image either archive strings) (PICCORO McKAY Lenz) (Tobias Boege)

Randall Morgan rmorgan62 at ...626...
Tue Jul 16 08:15:41 CEST 2013


Bruce,

The blob data type is a binary object and is a MySQL data type. Not a
Gambas data type. It is used in a few other databases as well.


On Mon, Jul 15, 2013 at 10:05 PM, Bruce <bbruen at ...2308...> wrote:

> On Mon, 2013-07-15 at 22:11 +0200, Tobias Boege wrote:
> 8<
> > Picture files _are_ binary files. But anyways, to get this thread done, I
> > have attached a sample project which lets you import and export binary
> > files of any kind to a local SQLite3 database.
> >
> > You should look carefully at the export functionality in
> btnExport_Click()
> > which selects a record in the database table and saves the corresponding
> > blob field to a file.
> >
> > Everything else in the project is just there for you to play around with
> it.
> >
> > Regards,
> > Tobi
>
> Hi Tobi,
>
> At lines 72 and 106 in your example project you declare hBlob as Blob. I
> have never heard of this datatype and can find no help on it?  If it
> exists I sure would like to know it.
>
> regards
> Bruce
>
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
If you ask me if it can be done. The answer is YES, it can always be done.
The correct questions however are... What will it cost, and how long will
it take?



More information about the User mailing list