Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
String to base64Binary?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01415121
Message ID:
01415140
Vues:
58
Martina,

Thanks for the response.

When I use the STRCONV() function as in the line below,

m.cTFile = STRCONV(m.cTransactionFile1,13)

I get the following error.

Error: 1429 - OLE IDispatch exception code 0 from
Client: Client:Type conversion failure for element transactionFile
HRESULT=0x80020005: Type mismatch.
Client:Unspecified client error. HRESULT=0x80020005: Type mismatch.

In another function that is supposed to return a base64Binary I get back something that looks like this:

0h00

This is an empty value (Nothing to return) The TYPE() of this value is "Q"

The following is my path to the conclusion that I needed to pass a TYPE "Q"...

In the VFP Help file

base64Binary
length, pattern, maxLength, minLength, enumeration, whiteSpace
Represents base64-encoded arbitrary binary data. A base64Binary is the set of finite-length sequences of binary octets.
Memo (Binary),
VFP Type = Varbinary or Blob

Elswhere in the VFP Help the "Varbinary" data type is listed as "Q"

Any ideas?

Thanks,

Steve
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform