For File Properties of the OS - isn't there a SYS() Command for that. Just
off the top of my head - I think there is...

-K-


-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Joe
Yoder
Sent: Tuesday, May 14, 2013 11:00 AM
To: [email protected]
Subject: Access windows file attributes from VFP

I want to be sure that IIF files I create in a VFP program are imported into
Quick Books.  My current thought is to have the system maintain a table of
the output IIF files created with file name, creation timestamp and transfer
timestamp.  This information will allow the system to refuse further
processing until the previous file has been transferred.
 
The system would scan the log file for records with an empty transfer
timestamp field and do an API call to get the files last accessed time.  The
value would then be plugged into the log file record if it is later than the
creation date.
 
I'm hoping that I can read the file properties from the OS to get the last
access time without changing the value of the field.  I also hope the import
operation from Quick Books will update the last access time.  Googling gave
me bad news about the time not being reliable, the copy operation not
updating the last accessed property, and different behavior in different
versions of Windows.
 
Does someone know if what I am contemplating is doable?  Have a better
solution?
 
Thanks in advance,
 
Joe


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/E6BC582B62C644D783A46EC6DDCDD0C1@Programming2
** 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.

Reply via email to