Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table Driven Formating using functions
Message
 
 
À
11/04/2007 19:05:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Divers
Thread ID:
01214762
Message ID:
01214772
Vues:
10
This message has been marked as the solution to the initial question of the thread.
>doing it like this:
>
> CASE LXPOS.XTYPE = 'D' && DATE
> rpl = ALLTRIM(LXPOS.ACTION)+ALLTRIM(LXPOS.START)+ALLTRIM(LXPOS.XDATA)+ALLTRIM(LXPOS.ENDING)
> drpl = ALLTRIM(LXPOS.XFIELD)
> REPLACE &drpl WITH DTOC+rpl
>
>I get DTOC is not found.
>
>doing it like this:
>
>CASE LXPOS.XTYPE = 'D' && DATE
>            rpl = ALLTRIM(LXPOS.ACTION)+ALLTRIM(LXPOS.START)+ALLTRIM(LXPOS.XDATA)+ALLTRIM(LXPOS.ENDING)
>            drpl = ALLTRIM(LXPOS.XFIELD)
>            REPLACE &drpl WITH DTOC(rpl)
>
>I get function value...is invalid.

Please add PRE and /PRE tags here for VFP code, otherwise it's hard to read and I may forget to switch back in reply mode.

Try the following:
rpl = ALLTRIM(LXPOS.ACTION)+ALLTRIM(LXPOS.START)+ALLTRIM(LXPOS.XDATA)+ALLTRIM(LXPOS.ENDING)
_cliptext = rpl
rpl = dtoc(rpl) && Will you get an error?
replace (dRpl) with rpl
Please paste the content of the clipboard (Ctrl+V) here.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform