Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 6 of 6 total
Thread Custom functions
Fri, Nov 16 2007 8:13 AMPermanent Link

Danny Humphress
Tim,

We make extensive use of custom functions in DBISAM to do things that we would not be able to do in SQL. I am just starting to look at migrating to
ElevateDB and I don't see where we can create custom functions in Delphi code but will have to use SQL. Our custom functions have to deal with
extracting data from the complex MARC record format (the standard for bibliographic data in libraries). We wouldn't be able to code these in SQL. I am
a total newbie to ElevateDB so maybe I'm missing something.

Thanks,
Danny
Fri, Nov 16 2007 6:12 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Danny,

<< We make extensive use of custom functions in DBISAM to do things that we
would not be able to do in SQL. I am just starting to look at migrating to
ElevateDB and I don't see where we can create custom functions in Delphi
code but will have to use SQL. Our custom functions have to deal with
extracting data from the complex MARC record format (the standard for
bibliographic data in libraries). We wouldn't be able to code these in SQL.
I am
a total newbie to ElevateDB so maybe I'm missing something. >>

Welcome to ElevateDB. Smiley

For writing functions in Delphi code, you need to create an external module
using the templates that we install into the development environment.  What
product are you using EDB with ?  I can then tell you what steps to take to
create an external module for use with EDB.

--
Tim Young
Elevate Software
www.elevatesoft.com

Mon, Nov 19 2007 1:31 PMPermanent Link

Danny Humphress
Tim,

We're using Delphi 2007.

Thanks,
Danny
Mon, Nov 19 2007 4:03 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Danny,

<< We're using Delphi 2007. >>

Okay, use the following steps:

1) Select File/New/Other from the main menu.
2) Click on the ElevateDB folder in the New Items dialog.
3) Click on the ElevateDB External Module icon on the right.
4) Click on the OK button.
5) Select the target directory.
6) Once the project is loaded, press Shift-F12 to select and bring forward
the external module window.
7) Fill in the EDBExternalModuleRoutine event handler and compile the
project.
8) Place the resultant DLL in the same directory as the configuration file.
9) Execute the following SQL on the target database to create the
function(s) in EDB:

http://www.elevatesoft.com/edb1sql_create_function.htm

where you would fill in EXTERNAL NAME <ModuleName> with the name of the DLL
that you just compiled.

You can always find out which modules (DLLs) are present for use with
ElevateDB by querying this Configuration database table:

http://www.elevatesoft.com/edb1sql_modules_table.htm

http://www.elevatesoft.com/edb1d7_querying_configuration_objects.htm

--
Tim Young
Elevate Software
www.elevatesoft.com

Thu, Feb 28 2008 8:06 AMPermanent Link

"Carlton Craighead"
Tim:

These 3 web page references are no longer valid.  Might they be somewhere
else for reference?  Thanks.





C





"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> wrote in message
news:4B1CC098-B557-42DF-9C29-FFB36495F852@news.elevatesoft.com...
> Danny,
>
> << We're using Delphi 2007. >>
>
> Okay, use the following steps:
>
> 1) Select File/New/Other from the main menu.
> 2) Click on the ElevateDB folder in the New Items dialog.
> 3) Click on the ElevateDB External Module icon on the right.
> 4) Click on the OK button.
> 5) Select the target directory.
> 6) Once the project is loaded, press Shift-F12 to select and bring forward
> the external module window.
> 7) Fill in the EDBExternalModuleRoutine event handler and compile the
> project.
> 8) Place the resultant DLL in the same directory as the configuration
> file.
> 9) Execute the following SQL on the target database to create the
> function(s) in EDB:
>
> http://www.elevatesoft.com/edb1sql_create_function.htm
>
> where you would fill in EXTERNAL NAME <ModuleName> with the name of the
> DLL that you just compiled.
>
> You can always find out which modules (DLLs) are present for use with
> ElevateDB by querying this Configuration database table:
>
> http://www.elevatesoft.com/edb1sql_modules_table.htm
>
> http://www.elevatesoft.com/edb1d7_querying_configuration_objects.htm
>
> --
> Tim Young
> Elevate Software
> www.elevatesoft.com
>

Fri, Feb 29 2008 8:50 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Image