I'm have brain ???? cannot remember what I use to clear a datetime field.
What is the string for a empty datetime
Thanks Jerry
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: ProFox@leafe.com
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/E28A18C52F9D402EAEC97F66112D1D53@jerryfootePC
** 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.
MyDateTime = {}
Frank.
Frank Cazabon
Samaan Systems Ltd. - Developing Solutions
www.SamaanSystems.com
Referrals are important to us.
If you know of anyone who would benefit from our services, please contact me. We would appreciate the opportunity to work with them.
On 11/04/2011 02:08 PM, Jerry Foote wrote:
> I'm have brain ???? cannot remember what I use to clear a datetime field.
>
> What is the string for a empty datetime
>
> Thanks Jerry
>
>
>
> --- StripMime Report -- processed MIME parts ---
> multipart/alternative
> text/plain (text body -- kept)
> text/html
> ---
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
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/4DA34472.6090100@gmail.com
** 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.
I found Ctot('') but I remember using another string but cannot remember
what it was.
Jerry
-----Original Message-----
From: profox-bounces@leafe.com [mailto:profox-bounces@leafe.com] On Behalf
Of Jerry Foote
Sent: Monday, April 11, 2011 1:08 PM
To: 'ProFox Email List'
Subject: Clear a DateTime
I'm have brain ???? cannot remember what I use to clear a datetime field.
What is the string for a empty datetime
Thanks Jerry
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
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/F8CBD3E7ADB5416E8B0A20E2443D94A7@jerryfootePC
** 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.
On 4/11/2011 2:08 PM, Jerry Foote wrote:
> I'm have brain ???? cannot remember what I use to clear a datetime field.
>
> What is the string for a empty datetime
If your data field ins a table/cursor field, then either {/} or {/:}
works fine:
replace tStamp with {/:} in MyTable
If it's a variable, don't forget the : otherwise {/} will make it a
vartype="D":
m.ltStamp = {/:}
But as you know, VFP allows you to set the variables to ANY type, so if
the variable type isn't something you're checking...no big deal. {/}
will blank it out.
--
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
_______________________________________________
Post Messages to: ProFox@leafe.com
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/4DA34727.2070107@mbsoftwaresolutions.com
** 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.
That should work as long as you don't have StrictDate set to 2 (Tools,
Options, General tab. Year 2000 Compliance).
IIRC we were being advised to use the brackets and avoid CTOD, CTOC,.. etc.
to prevent Y2K issues.
Lou
-----Original Message-----
From: profoxtech-bounces@leafe.com [mailto:profoxtech-bounces@leafe.com] On
Behalf Of Jerry Foote
Sent: Monday, April 11, 2011 11:15 AM
To: profoxtech@leafe.com
Subject: RE: Clear a DateTime
I found Ctot('') but I remember using another string but cannot remember
what it was.
Jerry
-----Original Message-----
From: profox-bounces@leafe.com [mailto:profox-bounces@leafe.com] On Behalf
Of Jerry Foote
Sent: Monday, April 11, 2011 1:08 PM
To: 'ProFox Email List'
Subject: Clear a DateTime
I'm have brain ???? cannot remember what I use to clear a datetime field.
What is the string for a empty datetime
Thanks Jerry
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
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/063001cbf877$1bd4aaf0$537e00d0$@com
** 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.