Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 7 of 7 total
Thread example of Modules + Dbisam
Tue, Feb 23 2016 8:20 PMPermanent Link

Riaz

Hi,

are there any examples of EWB Module with DBisam database please

the examples are only with EDB which i don't have

or step by step guide EWB Module + Dbisam

many thanks,
Riaz
Wed, Feb 24 2016 11:41 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Riaz,

<< are there any examples of EWB Module with DBisam database please

the examples are only with EDB which i don't have

or step by step guide EWB Module + Dbisam >>

If you're referring to the datasetmodule example project, just replace the TEDB* components/references with TDBISAM* references (Alt-F12 in Delphi to switch to text mode in order to search/replace the class names in the module, and then Alt-F12 to go back into "form" view), and that will take care of 90% of the change necessary to convert it to DBISAM.  You'll then need to patch up any DBISAM properties, as necessary. The only other changes that are required are in the SetupSession method, which you can modify to do what you want when the session is first connected/opened, such as setting the TDBISAMDatabase.Directory property to the desired database directory.

You have to remember that the examples are there to show you the *EWB code* that you need, not to necessarily replicate your target environment/database exactly.  That's why we provide a pre-compiled version of the module that you can run, regardless of what database components you're using.

Tim Young
Elevate Software
www.elevatesoft.com
Wed, Feb 24 2016 3:54 PMPermanent Link

Riaz

Thank you Tim

Riaz Smile
Wed, Mar 2 2016 10:29 AMPermanent Link

Riaz

Hi Tim,

managed to serve the dbisam table using the example with customdata, thank you

now next question, if i have a image in my Dbisam blob field, can that be used to show image, as it does not seem to work for me

Many thanks,
Riaz
Thu, Mar 3 2016 8:43 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Riaz,

<< managed to serve the dbisam table using the example with customdata, thank you >>

Good. Smile

<< now next question, if i have a image in my Dbisam blob field, can that be used to show image, as it does not seem to work for me >>

Are you using a module for doing so, or just a defined dataset in the IDE/EWB Web Server ?

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Mar 3 2016 8:50 AMPermanent Link

Riaz

Hi Tim,

i think there is a bug in ewb or ewbsrvr

when i couldn't get the slideshow to work

i did this and it works

Label5.Caption := SlideShowImages.Columns['ImageData'].AsString;
        SlideShow.ImageURLs.Add('http://epos4u.4irc.com:6005/datasets?dataset=SlideShowImages&method=load&column=ImageData&row='+ SlideShowImages.Columns['ImageNo'].AsString);
      
so the problem is above and also in the Timage

after weeks of playing around with the demos that come with it, its clearly a bug

i am using DBIsam

Riaz
Fri, Mar 4 2016 8:54 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Riaz,

<< so the problem is above and also in the Timage >>

If you're referring to the CORS issue, then yes, it's the same thing.

<< after weeks of playing around with the demos that come with it, its clearly a bug >>

You should contact us for support instead of spending that much time on an issue.  If the problem is a bug, then you won't be charged for a support session (or it will be credited if you pre-paid).

Tim Young
Elevate Software
www.elevatesoft.com
Image