Highlighted
Absent Member.
Absent Member.
374 views

[archive] Excel thin client

[Migrated content. Thread originally posted on 06 February 2007]

When I try to add a range in excel in the thin client version I get the following errormessage. 'Cobol datatype does not match object datatype'.

I use the following code :
03 Exp-Table.
05 ExpAbo HANDLE OF VARIANT OCCURS 4.
03 WRANGE PIC 9(06).
03 WHULPX PIC X(07).

CALL "C$SETVARIANT" USING PK1OMSC EXPABO(1). CALL "C$SETVARIANT" USING WDIME EXPABO(2)
CALL "C$SETVARIANT" USING WZNART EXPABO(3).
CALL "C$SETVARIANT" USING AR2ARTL EXPABO(4).
MOVE SPACES TO WHULPX.
STRING "A", WRANGE DELIMITED BY SIZE INTO WHULPX.
MODIFY haWrkSh
Range(WHULPX)::Resize(1 , 4)::VALUE = Exp-Table.

This works fine except with the thin client.
I now write each cell, but this takes a lot more time.
Does anybody know how i can resolve this.
0 Likes
1 Reply
Highlighted
Absent Member.
Absent Member.

RE: [archive] Excel thin client

Safearrays are not supported in Thin Client yet. It is scheduled support for Safearray in Thin Client for version 8.0.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.