Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy to Delim
Message
From
25/02/2000 18:10:55
 
 
To
25/02/2000 17:40:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00337856
Message ID:
00337933
Views:
22
>Maybe someone else has a brighter idea?

I don't know about brighter, but how about:
IF USED("a_table")
  USE IN a_table
ENDIF
USE anytable ALIAS a_table IN 0

y = AFIELDS(la_fields)

SELECT a_table
SET TEXTMERGE TO export.txt
SET TEXTMERGE ON NOSHOW
SCAN
  FOR x = 1 TO y
    \\ <<PADL(EVAL(la_fields[x,1]),la_fields[x,3])>>
    IF x # y
      \\ <<CHR(9)>>
    ENDIF
  ENDFOR
  \
ENDSCAN
SET TEXTMERGE OFF
SET TEXTMERGE TO

USE IN a_table
HTH,
Bill
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform