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
---

_______________________________________________
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/[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.

Reply via email to