Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to assign a value to a varbinary
Message
De
30/11/2005 07:37:58
 
 
À
30/11/2005 07:03:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01073143
Message ID:
01073151
Vues:
13
This message has been marked as a message which has helped to the initial question of the thread.
>Hello everybody,
>
>I know how to assign a constant to a varbinary field:
>
>
>REPLACE myVbField WITH 2h
>
>
>But the following situation won't work:
>
>
>lnCount = Somefunction()
>REPLACE myVbField WITH lnCount && Does not work
>
>
>Of course i can program a kludge with macro expansion and a NumToHex-function, but is there a 'normal' way? I must have missed something somewhere, and Help doesn't give me answers.
>
>Hope some of you know the answer.
>
>Lennert

I don't use varbinary fields myself, but AFAIK they should be treated as character fields.
REPLACE myVbField WITH transform(lnCount)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform