473,387 Members | 1,398 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,387 software developers and data experts.

Table created date

Is there anyway to refer to an object's (e.g., a table) created date in
VB? The reason is I need to see the data set's "date effective", which
for me would be the date the table was created. I don't want a field in
the actual table tho.

Thanks...

Nov 13 '05 #1
4 6300

John wrote:
Is there anyway to refer to an object's (e.g., a table) created date in VB? The reason is I need to see the data set's "date effective", which for me would be the date the table was created. I don't want a field in the actual table tho.

Thanks...


Sure. Put it in the table and then just make a form that doesn't
contain that field. Table NAMES shouldn't store data, that's what
FIELDS are for. Besides, you could have information with different
effective dates, all lumped into one BIG table (the way it should be)
and then you can query/filter that.

Nov 13 '05 #2
I don't need a field in the table with the date because the table is
actually a "data dump". The table (object) "created date" serves
nicely as the "date effective"; therefore, I just need to know how to
refer to the table/object created date in code.

Nov 13 '05 #3
You can get it using a dlookup on the MSysObjects table, thus:
=dlookup("DateCreate","MSysObjects","Name = 'tblName'")

The MSysObjects is a system object, and is not normally visible; you can see
it if you check the appropriate option in Tools|Options|View. However (at
least in A97) the table does not need to be visible for the dlookup to work.

Rob

"John" <so*********@hotmail.com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
Is there anyway to refer to an object's (e.g., a table) created date in
VB? The reason is I need to see the data set's "date effective", which
for me would be the date the table was created. I don't want a field in
the actual table tho.

Thanks...

Nov 13 '05 #4
Hi All,
I use Tony's Auto FE updater to keep the frontend current. Because of
this, I don't need to go round setting it up for users as they all know of
the Shortcut on the network drive. By default, the "Windows in taskbar"
option in Tools - Options - View is checked. I have a form set to open as
invisible when the database is open which is combined with users having
several other forms open at the same time. This equates to quite a few
'Buttons' on the taskbar which need not be there. The users do not have the
toolbars to disable this themselves so I was wandering if there's a way I
can code this into the startup form?

Any help would me much appreciated.

Mark

"John" <so*********@hotmail.com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
Is there anyway to refer to an object's (e.g., a table) created date in
VB? The reason is I need to see the data set's "date effective", which
for me would be the date the table was created. I don't want a field in
the actual table tho.

Thanks...

Nov 13 '05 #5

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

Similar topics

3
by: AndyBell | last post by:
Hi all! I have an Access 2000 database for the Habiat for Humanity where I work. This is the second database I have written and it gets a bit more complex each time... I have learned much and...
1
by: JJ | last post by:
I have a Make Table query which uses a date parameter. Each time the user runs the query they will be prompted for a date. The table which is created should be named based on the date which they...
4
by: Mo Ka | last post by:
Hi all, Is there a function (or other method) to automatically append the system date to the output tablename of a make table query such that the new one does not overwrite an older table?. I...
2
by: Alicia | last post by:
Does anyone know why I am getting a "Syntax error in Create Table statement". I am using Microsoft Access SQL View to enter it. Any other problems I may run into? CREATE TABLE weeks (...
1
by: JNariss | last post by:
Hello, I have created a form called frmS2P with the following: 1 listbox called List11 which holds the contents of a query created off my table called tblRequestActions. The fields which the...
5
by: keri | last post by:
Hi, I have a table with 2 fields - flddate and category. The values of flddate are all working day dates (monday to friday dates between jan 2007 and 2010 (although the end date could change)....
8
by: Trev | last post by:
Hi Can anyone point me in the right direction here, I would like to open a table in access 2003 by date. I have an asp web page which needs to read data from a table with each days today's date...
1
by: bassstuf | last post by:
Ive Created a Access Data Base, and on my main table I have a field titled "Date Entered", which has the lists the date the record was created (through date() formula). What I want to do is have...
3
by: dmorand | last post by:
I'm very new to stored procedures so this is probably something very dumb. I want to pass a name of a table to be created to my stored procedure. I'm using the variable @tableName in the code below...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

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.