Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem using FFC Crosstab class in a COM+
Message
From
08/11/2005 22:09:39
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Problem using FFC Crosstab class in a COM+
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01066654
Message ID:
01066654
Views:
62
I'm developing a COM+ DLL using Crosstab class (wrapper for _xtab.prg), it works fine in the class, but when I try to use it in the COM+ it's not generating the Crosstab cursor, no error was reported (inclusive using TRY .. CATCH blocks):
FUNCTION CrossTab (tcAlias as String, tcResult as String ) AS Boolean    
  LOCAL llReturn
  llReturn = .T.
  TRY
    SELECT (tcAlias)
    WITH This.oCrossTab
      .cOutFile = tcResult
      .lClosetable = .F.
      .lCursorOnly = .T.
      .nRowField = 2
      .nDataField = 5
      .nColField = 4
 	.lTotalRows = .T.
	.nTotalOption = 0 (0-sum, 1-count, 2-% of total)
	.lDisplayNulls = .T.
	.lBrowseAfter = .F.
	.lShowThem = .F. &&To avoid COM+ error with user interface
	.RunXtab()
   ENDWITH
  CATCH TO oErro
    This.cError = oError.Message
    llReturn = .F.
  ENDTRY
  RETURN llReturn
ENDFUNC
Any ideas, is there some report about the use of this class in COM+ DLL?
Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Next
Reply
Map
View

Click here to load this message in the networking platform