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

Linked Table Question

Stang02GT
1,208 Expert 1GB
Hello,

In the final stages of this Access project(That i've been badgering people with questions about) the last modification that is to be made is another one that i have no idea if its possible to do.

My Access app is linked with Excel and the tabs in Excel are tables in Access. Part of this app i have created ( with all of your help!) updates the status of current projects that employees are working on. Once the status is changed in Access it is updated in Excel. I have coded Excel to move anything with a status of "Completed" to a COMPLETED tab.

Now here is where im stuck(again lol). The users would like to see a date attached to a record that has been changed to "Completed". They would like this date to be attached as soon as the status is changed and they would like to see it changed automatically.

I know the easy solution would just be to add a "Date" field and have the users add the date to the record when they change it, but they want it to be automated.

Is this something i can do in Access or should i do this in Excel?



Thanks to everyone who has helped me i greatly appreciate it!!!
Jul 27 '07 #1
1 1219
ADezii
8,834 Expert 8TB
Hello,

In the final stages of this Access project(That i've been badgering people with questions about) the last modification that is to be made is another one that i have no idea if its possible to do.

My Access app is linked with Excel and the tabs in Excel are tables in Access. Part of this app i have created ( with all of your help!) updates the status of current projects that employees are working on. Once the status is changed in Access it is updated in Excel. I have coded Excel to move anything with a status of "Completed" to a COMPLETED tab.

Now here is where im stuck(again lol). The users would like to see a date attached to a record that has been changed to "Completed". They would like this date to be attached as soon as the status is changed and they would like to see it changed automatically.

I know the easy solution would just be to add a "Date" field and have the users add the date to the record when they change it, but they want it to be automated.

Is this something i can do in Access or should i do this in Excel?



Thanks to everyone who has helped me i greatly appreciate it!!!
You did not state how the [Status] Field is updated on the Form, so I'll assume that it is via a Combo Box named cboStatus.
  1. Create a Date/Time Field in the underlying Table called Date_Completed.
  2. Create a Text Box on your Form bound to the [Date_Completed] Field and name it txtDateCompleted.
  3. Set the Visible Property of this Text Box to No.
  4. Place this code in the AfterUpdate() Event of cboStatus.
    Expand|Select|Wrap|Line Numbers
    1. Private Sub cboStatus_AfterUpdate()
    2. If Me![cboStatus] = "Completed" Then
    3.   Me![txtDateCompleted] = Format(Now(), "mm/dd/yyyy")
    4. Else
    5.   Me![txtDateCompleted] = Null
    6. End If
    7. End Sub
Aug 7 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
2
by: MX1 | last post by:
This is weird. I'm trying to make a subform on a form and have it show the entries from one of my tables. The odd thing is that when I look at the table itself, I can see a "+" sign next to each...
5
by: b b | last post by:
I created the following code to delete all linked tables in my database (Access 200): -------------------------------------------------------- Dim tbl As TableDef Dim dbs As Database Set dbs...
7
by: smd | last post by:
Hello and thanks for taking the time to read this. I've looked all over the web and newsgroups and can't find a solution to my problem. I've posted this question to the Access 2000 group as well -...
2
by: Jill Elaine | last post by:
I am building an Access 2002 frontend with linked tables to an encrypted Paradox 7 database. When I first create these linked tables, I'm asked for the password to the encrypted Paradox database,...
10
by: Jim Devenish | last post by:
I have a split front end/back end system. However I create a number of local tables to carry out certain operations. There is a tendency for the front end to bloat so I have set 'compact on...
0
by: Grip | last post by:
Hi, I have gone throught the group and Microsoft's online help and have seen many suggestions but I am still seeking clarity: 1. I have an excel spreadsheet. Column A contains text that may...
3
by: nzaiser | last post by:
Hello! This is my first time asking a question here, so please bear with me if I seem 'unconventional!' My issue is this..... OS: Windows_NT App: MS Access 2000 (also in 2003) ODBC linked...
1
by: tbeer | last post by:
Hello. I have created a 2007 database to help organize a golf outing event which requires the collection and tracking of a lot of linked data. Everything in my dbase is linked to my Main Business...
18
by: afromanam | last post by:
Whew.. OK, running access 2003 in win xpsp2 and access 2007 in win vista. This is the question... We have a db, split in front end (FE.mdb) and backend (BE.mdb) FE has tons of linked...
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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,...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...

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.