1) Check your settings for SET MARK and SET SYSFORMATS
2) Open the debugger.
From the main VFP menu, open Tools/Options..
Hold down shift and click OK
The output goes to the debug output window in the debugger, and you can
cut and paste from there.
Fred
On Thu, Apr 23, 2009 at 2:47 PM, Matt Jarvis <[email protected]> wrote:
> [VFP9]
>
> Like I recently mentioned, I'm rusty at doing VFP...
>
> I am building a file name to save some report output and am getting
> different formats when I run it via command prompt (prg) vs the
> standalone EXE. I'm sure it's some setting in the IDE of VFP but I'll be
> darned if I can find it.
>
> Here is the code:
>
> set date to ansi
>
> * - file name in YYYYMMDD like format
> lcFileName = 'Chosen_' + strtran(dtoc( date()), "/", "_")
>
> set date to american
>
> copy to (lcFileName) for chosen.date = date() type csv
>
>
> In VFP, the filename comes out as "Chosen_2009_04_23.CSV".
>
> When I run it as a standlone EXE, I get "Chosen_2009.04.23"
>
> I'm stumped....
>
> BTW - what is the key sequence to dump all of the Tools/Options settings
> to the command window? I can't seem to trigger that...
>
>
> Matt Jarvis
> Programmer/DBA
> King | Retail Solutions
>
>
>
>
>
> Electronic Privacy Notice. This e-mail, and any attachments, contains
> information that is, or may be, covered by electronic communications privacy
> laws, and is also confidential and proprietary in nature. If you are not the
> intended recipient, please be advised that you are legally prohibited from
> retaining, using, copying, distributing, or otherwise disclosing this
> information in any manner. Instead, please reply to the sender that you have
> received this communication in error, and then immediately delete it. Thank
> you in advance for your cooperation.
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.