Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table Driven Formating using functions
Message
 
 
To
11/04/2007 19:05:19
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01214762
Message ID:
01214772
Views:
9
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform