Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy to command
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00737688
Message ID:
00737706
Views:
18
AFAIK you need to convert T field to C field. Like:

Sele ttoc(t_field) from...
copy to (txtfile_name) sdf

Also you can use the plain SELECT:

sele t_field from .... to file (txtfile_name) plain noco

>Hi,
>
>I have a FoxPro table with the DateTime field.
>When I issue the 'Copy to' on this table as shown:
>
>Copy to c:\TestFile.txt type SDF
>
>the text file does not show the AM/PM indicators on the datetime values.
>The table has AM/PM indicators.
>
>How can I show AM/PM against the datetime files values.
>
>Thank you.
>
>Ria
Previous
Reply
Map
View

Click here to load this message in the networking platform