Page 1 of 1

DbfUpsize.dll documentation

Posted: Sun Oct 06, 2024 10:57 am
by rdonnay
Does anyone have documentation for DbfUpsize.dll ?

I have seen references to functions in DbfUpsise.dll but cannot find any documentation.

I'm working on a new project for New York Courts, converting their old Xbase++ documentation to PostGresSql.

I understand how to use dbfupsize.exe to import from an .upsize file, but I'm hoping there is a tool that will help me create a new .upsize file from a set of DBFs and CDXs so I don't have to hand type a bunch of XML.

NEVERMIND:

I just recalled that I went thru this process several years ago with another customer but it was cancelled.
I created a program in Xbase++ that creates the upsize file from a directory of data files.

Re: DbfUpsize.dll documentation

Posted: Mon Oct 07, 2024 12:52 am
by Tom
Hi, Roger.

There is no tool to create an upsize file from a folder or list of tables. We created our own tool (I wrote you an email about that).

The DbfUpsize-DLL publishes only one function "DbfUsize(<Name_of_upsize_file>,[<oLogger>])". The only difference to running it directly is the control about the logger output. There is a sample for that in the documentation.

Re: DbfUpsize.dll documentation

Posted: Tue Oct 15, 2024 11:04 am
by rdonnay
The documentation for upsizing isn't clear whether or not a table is deleted in the database, if it already exists, before importing the data from the .DBF.

I expect that we will be upsizing data quite often during the development process.

Any info on this?

Re: DbfUpsize.dll documentation

Posted: Tue Oct 15, 2024 11:16 pm
by Tom
Existing tables are replaced by the upsizing process. It recreates all tables. Don't upsize into a working database.

Re: DbfUpsize.dll documentation

Posted: Wed Oct 16, 2024 11:33 am
by rdonnay
Upsizing the data with 5 index files that contained UDF's went well.

I had to make some changes to my SqlQuery program to be able to load a UDF dll and developer license in SqlQuery.Ini.

I'll post an update soon after some more testing.