>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'
> 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)
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