Jump to content
Software FX Community
Sign in to follow this  
User (Legacy)

crosstab

Recommended Posts

Hi FP,

Thanks for your reply, I have downloaded the file (CfxDelphiAddon.exe) referred to in Q1383094. I ran it and no errors occurred.

I get errors when I try to build the example crosstab project (..\Samples\Crsotab\Crosstab.dpr)

The file CrossTab.pas contains

uses

Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, BDE,

StdCtrls, Db, DBTables, OleCtrls, ChartfxLib, AxCtrls, ADODB, Cfx4DataLib, ActiveX,

SfxCrossTabLib2;

which produces the error

[Fatal Error] CrossTab.pas(8): File not found: 'SfxCrossTabLib2.dcu'

If I 'correct' the uses clause to

uses

Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, BDE,

StdCtrls, Db, DBTables, OleCtrls, ChartfxLib, AxCtrls, ADODB, Cfx4DataLib, ActiveX,

SfxCrossTabLib;

The file c:\program Files\chart fx for delphi\bpl\SfxCrossTabLib contains

unit SfxCrossTabLib2;

which causes the error

[Fatal Error] CrossTab.pas(8): Could not compile used unit 'SfxCrossTabLib.pas'

If I now 'correct' the Unit clause to

unit SfxCrossTabLib;

The file CrossTab.pas contains

ChartFX1.GetExternalData(CfxCrossTab.InterfacePtr,0);

which causes the error

[Error] CrossTab.pas(54): Undeclared identifier: 'InterfacePtr'

What am I doing wrong??

( am running Delphi 7.0 Build 8.1 in Windows XP Build 2600 SP1)

Thanks in advance!

Share this post


Link to post
Share on other sites

SfxCrossTabLib.pas is located in the BPL sub-folder of your Chart FX Installation folder.

Either add this folder to your library path or copy this file to a folder in your library path.

--

FP

Software FX

Share this post


Link to post
Share on other sites

Hi FP,

Thanks again for your reply.

I added this folder to the library path. This has not solved the problem.

My first question then, is this...

The file CrossTab.pas contains

uses

Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, BDE,

StdCtrls, Db, DBTables, OleCtrls, ChartfxLib, AxCtrls, ADODB, Cfx4DataLib, ActiveX,

SfxCrossTabLib2;

which produces the error

[Fatal Error] CrossTab.pas(8): File not found: 'SfxCrossTabLib2.dcu'

The file provided is called SfxCrossTabLib.pas

Is this the rigth file, or is there a SfxCrossTabLib2 ?

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:sMGWOjRvEHA.3980@webserver3.softwarefx.com...

SfxCrossTabLib.pas is located in the BPL sub-folder of your Chart FX Installation folder.

Either add this folder to your library path or copy this file to a folder in your library path.

--

FP

Software FX

Share this post


Link to post
Share on other sites

Andrew,

The sample should say SfxCrossTabLib, and the working file is attached. We will update the installers and samples to include this file. I apologize for the inconvenience.

Regards,

GA

Software FX, Inc.

"Andrew Walker" <andrew.walker@syntechsystems.com> wrote in message news:vX9BlzZvEHA.3980@webserver3.softwarefx.com...

Hi FP,

Thanks again for your reply.

I added this folder to the library path. This has not solved the problem.

My first question then, is this...

The file CrossTab.pas contains

uses

Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, BDE,

StdCtrls, Db, DBTables, OleCtrls, ChartfxLib, AxCtrls, ADODB, Cfx4DataLib, ActiveX,

SfxCrossTabLib2;

which produces the error

[Fatal Error] CrossTab.pas(8): File not found: 'SfxCrossTabLib2.dcu'

The file provided is called SfxCrossTabLib.pas

Is this the rigth file, or is there a SfxCrossTabLib2 ?

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:sMGWOjRvEHA.3980@webserver3.softwarefx.com...

SfxCrossTabLib.pas is located in the BPL sub-folder of your Chart FX Installation folder.

Either add this folder to your library path or copy this file to a folder in your library path.

--

FP

Software FX

Share this post


Link to post
Share on other sites

Hi GA,

Superb!! Many thanks for your help... I was beginning to get a bit concerned that I would have to roll my own dynamic crosstab SQL, and wasn't looking forward to it at all.

Now CrossTab is working I am even more impressed with ChartFx... not just the product, excellent though that is, but now the level and quality of support as well.

Please pass our thanks on to FP as well..

regards,

Andrew Walker

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:VgJUHVDwEHA.1120@webserver3.softwarefx.com...

Andrew,

The sample should say SfxCrossTabLib, and the working file is attached. We will update the installers and samples to include this file. I apologize for the inconvenience.

Regards,

GA

Software FX, Inc.

"Andrew Walker" <andrew.walker@syntechsystems.com> wrote in message news:vX9BlzZvEHA.3980@webserver3.softwarefx.com...

Hi FP,

Thanks again for your reply.

I added this folder to the library path. This has not solved the problem.

My first question then, is this...

The file CrossTab.pas contains

uses

Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, BDE,

StdCtrls, Db, DBTables, OleCtrls, ChartfxLib, AxCtrls, ADODB, Cfx4DataLib, ActiveX,

SfxCrossTabLib2;

which produces the error

[Fatal Error] CrossTab.pas(8): File not found: 'SfxCrossTabLib2.dcu'

The file provided is called SfxCrossTabLib.pas

Is this the rigth file, or is there a SfxCrossTabLib2 ?

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:sMGWOjRvEHA.3980@webserver3.softwarefx.com...

SfxCrossTabLib.pas is located in the BPL sub-folder of your Chart FX Installation folder.

Either add this folder to your library path or copy this file to a folder in your library path.

--

FP

Software FX

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...