473,399 Members | 3,106 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Return File Date

Using Acc2k

Can anyone suggest some sample code for returning the date of a Linked File?

I am linking MyFile.xls as tblMyFile. Simply put, somewhere on a form I would
like to the date of the xls file.

Any suggestion appreciated.

Thanks in advance

"And.... Exactly at which point did you consider this a good idea?"
Nov 12 '05 #1
6 10235
On 10 Oct 2003 13:37:42 GMT, cl*******@aol.comNoSpam (Clint Stowers)
wrote:

What part of the FileDateTime function don't you like?
-Tom.

Using Acc2k

Can anyone suggest some sample code for returning the date of a Linked File?

I am linking MyFile.xls as tblMyFile. Simply put, somewhere on a form I would
like to the date of the xls file.

Any suggestion appreciated.

Thanks in advance

"And.... Exactly at which point did you consider this a good idea?"


Nov 12 '05 #2
In article <rg********************************@4ax.com>, Tom van Stiphout
<to*****@no.spam.cox.net> writes:
What part of the FileDateTime function don't you like?


Just the date. Would be nice to know how current is the file. Time is of no
value.

"And.... Exactly at which point did you consider this a good idea?"
Nov 12 '05 #3
In article <rg********************************@4ax.com>, Tom van Stiphout
<to*****@no.spam.cox.net> writes:
What part of the FileDateTime function don't you like?


Seems like Tom has gotten redirected.

What I would like is to return the date (mm/dd/yy) of a spicific file.

"And.... Exactly at which point did you consider this a good idea?"
Nov 12 '05 #4
Well, this would be very tricky, but how about

Int( FileDateTime( pathname ) )

Roberto

"Clint Stowers" <cl*******@aol.comNoSpam> escreveu na mensagem
news:20***************************@mb-m13.aol.com...
In article <rg********************************@4ax.com>, Tom van Stiphout
<to*****@no.spam.cox.net> writes:
What part of the FileDateTime function don't you like?


Seems like Tom has gotten redirected.

What I would like is to return the date (mm/dd/yy) of a spicific file.

"And.... Exactly at which point did you consider this a good idea?"

Nov 12 '05 #5
rkc

"Clint Stowers" <cl*******@aol.comNoSpam> wrote in message
news:20***************************@mb-m13.aol.com...
In article <rg********************************@4ax.com>, Tom van Stiphout
<to*****@no.spam.cox.net> writes: What I would like is to return the date (mm/dd/yy) of a spicific file.


dim fDate as Variant
fDate = FileDateTime("d:\stuff\specific.txt")
MsgBox Format(fDate, "mm/dd/yy")
Nov 12 '05 #6
In article <PG*******************@twister.nyroc.rr.com>, "rkc"
<rk*@yabba.dabba.do.rochester.rr.com> writes:
dim fDate as Variant
fDate = FileDateTime("d:\stuff\specific.txt")
MsgBox Format(fDate, "mm/dd/yy")


Sorry for not getting back sooner. Had one of Unscheduled Emergencies.

Looks like it will do the trick.

Thanks.


"And.... Exactly at which point did you consider this a good idea?"
Nov 12 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: mbosco51 | last post by:
Hi. I am tring to setup an asp script that will do the following... If file date/time is within last 10 minutes then response.redirect to file else do something else end if The text file...
12
by: Mike Brashars | last post by:
Hi all, I have been searching for a week and am unable to find and example to "Populate picklist from directory and return file name". I have a php script that reads a log file and plots a...
9
by: AP | last post by:
Is there anyway to determine what the modified or create date is for a file? In my example I am uploading a text file using the following to select the filename: GetOpenFileName Lib "COMDLG32.DLL"....
1
by: Pierre Maricq | last post by:
Hi, I am using Win2000 and Access2000. I need to build build a macro or write a VBA in Access that would screen all files contained in a directory on my C drive (files are structrured DAT...
2
by: Agnes | last post by:
Does .net provide any function for such purpose ? e.g today is 21-10-2004, the week is 43, now I want to get the DATE with (week 42, Monday) Thanks alot
0
by: Thomas Homan | last post by:
Hello, Is there a method in the FtpWebRequest that allows for preservation of the file being transferred original date and time in vs2005 vb? In the FTPSample the method is to set up stream...
6
by: Mike Charney | last post by:
Is there a way to check a files date and time stamp from VBA in access. I have a need check a date stamp on a file that I am importing. Thanks in advance, Mike m charney at dunlap hospital...
1
by: bindumabraham | last post by:
what is the reason for a datefield control return system date as today's date in coldfusion
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.