Show Updated Fields
Mar 18, 2008
Hello,
I have a database that has 5 linked excel files. From there I have a form that runs many different queries. I have a macro that updates the queries by running them and closing them. Occasionally I update the excel files and was wondering if there is a way to show which records were added to the linked excel files. In other words, I need to display the new records that were updated. Does anyone have any solutions? Thank you for your help in advance.
View Replies
ADVERTISEMENT
Mar 18, 2013
how can I get dates to show in last updated and last viewed fields..I did get last updated working but for some reason when I tried to do last viewed, last updated vanished :/
I did try writing code (but im a novice lol, I think that's why last updated vanished).I have got 2 unbound fields called HiddenLastViewed and HiddenLastUpdated thought I might need them.
View 14 Replies
View Related
Aug 14, 2005
I need a (group by?) query that shows my items only by the last updated price by date.
Basically i need to show the last date. (MaxDate?)
I keep a database for my restaurant of my food items and change their price everyday. i now have a table that archives individual items by date, price and company in a subform.
Item_id, Item, date, cost , unit, Company
1 asparagus, medium8/12/2005$1.45poundEuro Gourmet
1 asparagus, medium8/13/2005$2.00 poundEuro Gourmet
55 oil, blended 8/12/2005 $4.99 gallon accardi
116 polenta 8/12/2005 $1.58 box accardi
I am trying to kick out an item or inventory sheet by creating this query but i cant seem to group by last date. i have all my items showing up multiple times (as many as i entered)
i have been easily able to create an inventory report off a query i used with only one date that i would change. but now i want to archive prices for charts.
i have tried max dates on item_id fields and date fields and nothing seems to work.
Thank you
View 3 Replies
View Related
Jul 12, 2015
I have created a form with two subforms within it.
The TOP subform enables the user to view a specific record (not change it)
The BOTTOM subform enables users to view a datasheet form of all the records and amend them where necessary.
I want the TOP subform to automatically go to the last updated record, meaning that if the user changes the data of a record in the BOTTOM subform it will automatically display the last record on TOP that was updated in the table.
I've looked at the macros available and it only allows me to 'GoToRecord' to either Last, Previous, New etc... Is there any way to go to 'Last modified in the table'??
View 7 Replies
View Related
Jun 13, 2014
I maintain a shared database that I would like other users to be able to see when the data was last updated when they open it so that they can see how up to date the information is from the switchboard.
Currently I am doing this manually by updating the date in a label on the switchboard header, but ideally I would like to add a final action to my update macro (that imports new data into the database) that would automatically do this for me on completion if possible.
View 4 Replies
View Related
Jul 9, 2013
I have a main form called "frmMain" and on it I have a text control named "txtBoatStatus". The control source for txtBoatStatus is determined by code that I have in the Form_Current event. The code is as follows:
(begin code sample)
Dim BoatStatus as Variant
BoatStatus = DCount("[BoatComplete]", "tblBoatOrders", "[BoatComplete] = -1 And [OrderPresent] = -1")
txtBoatStatus.Value = "There are " & BoatStatus & " boat orders that are complete."
(end code sample)
Now when I first open the frmMain everything works great and the control will say, "There are 5 boat orders that are complete." Perfect. However, In the instance if I open the form with my Boat Orders and mark off another order as complete (bringing my total to 6), the txtBoatStatus does not update when I reopen frmMain. It will only update and show, "There are 6 boat orders that are complete." if I manually hit SHIFT+F9.
How can I do this automatically? I've tried various things such adding "Me.Recalc" or "Me.Requery" to differnt events, controls, etc. but I still cant get it to show the updated number automatically. How can I get it to update without SHIFT+F9?
View 2 Replies
View Related
Feb 1, 2013
I have created a database with other to log my clubs sports score by player etc. what I want to do is to create and email form that I can email out so other club captains can send me their scores and info to add to my database.
I do not want to use excel, I just want to know if this is possible using out look to send the email.
There are multiple tables that will need updating. Via the email form. Basicaly the main database entry form i need to create a query or vba code to allow all the fields in that form to be updated via email.
View 1 Replies
View Related
Apr 20, 2013
I have done this in Excel before, but not Access. I do not know VBA. I figure this will have to be done in a query or a macro. I don't even know if all of this is possible in Access. I need to be able to split an Address field into:
Street Number
Street Name
Street Type
Street Direction
And the purpose of this is so that I can pull out the Street Type (Drive, Road, Lane, etc) and update the abbreviations (DR, RD, LN) to the Street Type spelled completely out.
I did this in Excel by creating a Named Range "Types" on a sheet that has the abbreviations in Column A and the spelled out versions in Column B so that I could convert the abbreviations to complete street types. I broke down the entire address into each part on another sheet. Then I did a VLOOKUP to look up the Street Type in Column B in the Types range. Works great! And the only way I knew at the time to do that.
But, by doing this, I have to get the data I need from a download into a spreadsheet, break the address fields down on a second sheet, do all kinds of field update conversions (to get the field names from the download to match the field names in my Access table). This takes extensive Excel programming. I just thought there might be a way to do it by simply importing the data from the download straight into Access. That is easily done, but the Street Types aren't consistent.
There may even be a better way to do this than splitting....something like if a field CONTAINS DR update it to Drive. This would be a long process to set up because there are so many different street types to consider.
This is basically for the purpose of finding duplicates. If there is one entry called 123 Main St and another called 123 Main Street, they are not going to show up as duplicates, rather as two separate records.
View 2 Replies
View Related
Apr 9, 2013
I now want to update one field (what I type into it is irrelevant) but if this field is updated, it means quite a few others become Not Applicable and I would like that to be populated once I updated this one field. After Update is what I am looking for.I know it is simple (but will mean entering each field name) but it would save me truckloads of time.
View 2 Replies
View Related
Nov 18, 2013
I'm mid build on a commitments tracking (pseudo Purchase Order system) project, but seem to have run into an issue with a loop I'm building to allow users to edit commitments. The idea is that an edit form is launched, values amended and the submit button is clicked. A VB subroutine then validates the entries to ensure that the mandatory entries are included. It then writes a copy of the original values to the Archive table, before attempting to update the existing commitment with the new values..
This is working perfectly, apart from the fact that 3 fields that are "updated" are being updated to a blank value..
Code:
Private Sub CommitSubmit_Click()
Dim SQLStr, LastID, DOwner, DHeading As String
Dim ErrState, Dtype, DProperty, DTCA, DITD, DSD, DED, DSP, DRetention, DRA, DRPD, DSupplier, DDOW, DStatus, DUser, DShD As String
Dim Authcheck, Complete, ErrMsg As Boolean
Dim QDF1, QDF2 As QueryDef
[code]...
View 14 Replies
View Related
Jan 26, 2015
i want to be able to create an On Click Event when pushing a command button that will run an Update query to update a record and after it has been updated that specific record will pop up on a Form and be displayed. i know a different way is to run the Update query and then have it displayed in a Select query but i want it to be displayed on a Form instead. is it possible?
View 4 Replies
View Related
Mar 30, 2006
I have a database that I run a few queries on to do some simple calculations for me using IIf statements. I did not need these fields in the datasheet view so I unclicked the Show button and everything looked great. Now when I go back into my query, those feilds are gone, how can I re-show them to make some changes? Thank you for any help.
Jimmy
View 4 Replies
View Related
Jan 3, 2008
I have two one-many related tables: Transactions and Site Details. Most of the Transactions information can be filled in first, and then the Site Details filled in when they are ready.
How do I get a query based on both tables to show those transactions with missing site details? I have tried IsNull(SiteName) in the SiteName field in the Design View, but I don't get any results at all (for records with no SiteName). The answers I've seen in Google seem to be variations on the theme, but I am probably missing something simple (as usual).
I orignally posted this with a question about tracking revision history. I thought it might be a similar solution, since I want to add information to the blank fields when the information becomes available. But I need to find those transactions WITH blank fields first.
View 3 Replies
View Related
Jul 26, 2005
I have a form that is just a display/edit type form and I don't want a blank "new" report to show at the bottom when it is opened up. Is there any way to turn this off or disable it?
View 2 Replies
View Related
Dec 28, 2004
Hi, I am trying to make a list box that shows the first name of different people in the same family in a subform. I have the first names in different fields linked to the same ID, and the list box I keep making that sort of works will show the whole row of names (but also everyone else's first names down the list), and it will only keep the first name in that row when I select it. I would like to know how to make a list box that just shows the 2 or 3 first names linked to the last name or ID that is currently on the main form I am looking at.
Thanks,
Rod
View 2 Replies
View Related
Mar 8, 2005
I am trying to generate a report, or even a word merge doc, that will print only the fields containing values above "0". I have to print a one page benefits report for each employee, yet not everyone has values in each available field. On each report, I only want to show the fields that actually pertain to the employee. Is this possible?
I have tried doing this as a Word merge, but the field names do not show up, only the values...I have been struggling with this for over a day...please help!
View 4 Replies
View Related
Sep 9, 2014
I have a table with 5 fields (F1, F2, F3, F4, F5).
F1 has 3 values (v1,v2,v3) and the other fields have different entries depending on F1.
-----------------------------------------------
F1 F2 F3 F4 F5
-----------------------------------------------
v1 f31
v2 f21 f41
v3 f41 f51
Is there any way to filter F1 to show only the fields which have a value?
(if I choose v2 to have shown only fields F2 (with f21) and F4 with f41
View 14 Replies
View Related
Jun 23, 2005
I have a field called "Bad Pc Part" which is a listbox. THe problem is I want it to display the contents of 3 other fields from another table.
I created a query for the Bad Pc Part field but the problem is it only displays the information in the first field of the table. It doesnt show the contents of the other columns. I need it to do this.
Please Advise3.
View 1 Replies
View Related
Aug 23, 2006
i'm a begginer at access, so please excuse me if this question is very basic.
i have a multiple table select query which shows me which user has which piece of a equipment at that given time.
I also have a form that logs any problems the users have with the equipment, what i want that form to do is show the results of the query based on inputting the users name. ie put the serial number and model number into the relevent fileds on the form.
I can get the form to run the query but that just shows it in the query window, i need it to show on the correct feilds on the form.
Hope that makes sense and that somebody can help me.
Cheers
Burty
View 9 Replies
View Related
Dec 8, 2006
Hello everyone,
Im trying to set up a combobox on my Customer Contact Information form, where you can enter a phone/fax/cell/pager or any misc number, and it will bring up the appropriate customer.
Is it possible to make a query that will show the different phone number fields as one field?
Thank you so much for your help, and please let me know if I can clarify anything.
-Ben Bolduc
View 3 Replies
View Related
May 1, 2013
how to run a report to show a Client if one or of the following fields are blank or unchecked(Yes/NO?
Fields
Client
Assessment Date(Null)
Placement Fee Paid(Check Box)(No)
TJ Completed(Check Box)(No)
So basically, if one of the above fields are null or unchecked, please show in the report. I'm sure it's easy but to do, but not up on coding.
View 3 Replies
View Related
Mar 17, 2014
I am looking to collate marketing data from different areas of our DB into a Marketing Hub. We have to collect various feedback at different times, if a client on a programme completes a course, they give feedback for that course.13 weeks after a client completes the programme we have to get them to complete a destination survey. On both these forms it asks would they be interested in doing any more courses. This data is then stored in the Courses table and Projects table respectively.
I want to create a query to become the record set for a new form which only shows those students that have stated they would be interested in doing other courses.Five of the options or Yes/No fields, and one is a text field (which courses, other essentially).How does one do a query that only shows records where any one of 6 fields is not null?
Code:
SELECT Students.ID, Students.[First Name], Students.[Last Name], Courses.[Sage Accounts], Courses.[Sage Payroll], Courses.[First Aid], Courses.[Food Hygiene], Courses.[CV Services], Courses.[Interview Skills], Courses.[Which Courses]
FROM Students INNER JOIN Courses ON Students.ID = Courses.ID;
View 2 Replies
View Related
Aug 20, 2013
I have some fields in form that most of the time have data in them. Now comes that when there is no data, there should be one different field filled in with "None."
The client could have 3 types of products, but when he does have none, the "None." should appear. Another catch is that I have the titles for the products on a textbox above the products. Is it possible to have them not appear in the report if the client has no products?
I guess that it could work like in excel with an IF statment. If no values found, then keep those text boxes from appearing on the report and put a text with "None."
View 2 Replies
View Related
Apr 17, 2014
I have form that is tied to a query. When I enter criteria that matches what i have in the table, it returns the infromation on another form fine.
However, if there is no data for the criteria I am entering, I get a blank form. Is there anyway to have the fields of the form show even when there is no data?
View 3 Replies
View Related
Aug 15, 2013
I have a report based on a query. Sometimes some of the fields on the report are blank because the information is not available. Is there a way to not show the blank fields on the report and to move the next field up into the space?
I have tried using Is Not Null on the query criteria but if any one field is null it doesn't show any of the others on the report.
I have currently got it so that the height is set to 0 and can shrink = yes and this seems to work but the field is still there (although hidden) - I would rather it was removed completely if it is blank as I am hoping eventually to make the output for each field show on a PowerPoint presentation and I don't want blank slides which I think this solution might do??
View 3 Replies
View Related
Sep 19, 2012
I have a combo box with the following
YES
NO
EXPIRED
this is named "Permit_Holder"
when you click yes i want two extra fields to appear called
"Permit_Date_Issued"
"Permit_Date_Expired"
but i cannot seem to get them to hide or show?
I have used the below codes but no success
Private Sub Permit_Holder_AfterUpdate()
If Me.Permit_Holder = 1 Then
Me.Permit_Date_Issued.Visible = False
End If
End Sub
Quote:
Private Sub Form_Current()
Me.Permit_Date_Issued.Visible = False
End Sub
View 6 Replies
View Related