Index
2011-04-11 14:08Jerry Foote : Clear a DateTime
2011-04-11 14:12Frank Cazabon : Re: Clear a DateTime
2011-04-11 14:14Jerry Foote : RE: Clear a DateTime
2011-04-11 14:23MB Software Solutions, LLC : Re: Clear a DateTime
2011-04-11 14:34Lou Syracuse : RE: Clear a DateTime
Back to top
Clear a DateTime

Author: Jerry Foote

Posted: 2011-04-11 14:08:01   Link

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.

©2011 Jerry Foote
Back to top
Re: Clear a DateTime

Author: Frank Cazabon

Posted: 2011-04-11 14:12:02   Link

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.

©2011 Frank Cazabon
Back to top
RE: Clear a DateTime

Author: Jerry Foote

Posted: 2011-04-11 14:14:48   Link

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.

©2011 Jerry Foote
Back to top
Re: Clear a DateTime

Author: MB Software Solutions, LLC

Posted: 2011-04-11 14:23:35   Link

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

http://fabmate.com

http://twitter.com/mbabcock16

_______________________________________________

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.

©2011 MB Software Solutions, LLC
Back to top
RE: Clear a DateTime

Author: Lou Syracuse

Posted: 2011-04-11 14:34:35   Link

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.

©2011 Lou Syracuse