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

Report - List modified fields only!

1
Two tables "tblEmployee" and "tblEmployeeHistory".

Each table has identical fields.

Each field on the form "frmEmployee" detects a change (BeforeUpdate) and checks a corresponding box (hidden on the form).

frmEmployee then detects a change (BeforeUpdate) and...

1.) Updates a single ModifiedDate field on the form
2.) Appends the current record to the tblEmployeeHistory table
3.) Updates the tblEmployee table to clear the check boxes

I am currently able to query a date range and get records from the tblEmployeeHistory table and populate a report where I put a checkbox next to each field that has been modified. Works fine BUT...

Ideally I would like to simply list just those fields that have a check and not all of the fields whether the individual field has been modified or not.

Does anyone know how I could accomplish this?

I wonder if I could use vba/DAO to step through the EmployeeHistory table rows w/ date range criteria looking for a check (-1). If it finds a check, grab the field name, value, mod user, mod date and append to a temp table that I could use in the report.

Is this possible or just wishful thinking?

Thanks in advance!

Bob
Apr 24 '07 #1
1 1586
Denburt
1,356 Expert 1GB
I am currently able to query a date range and get records from the tblEmployeeHistory table and populate a report where I put a checkbox next to each field that has been modified. Works fine BUT...

Ideally I would like to simply list just those fields that have a check and not all of the fields whether the individual field has been modified or not.

Does anyone know how I could accomplish this?
True or false in the criteria section should be fine. Adding a simple where statement in the SQL should provide this... Post your SQL code and let us take a look.
Apr 26 '07 #2

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

Similar topics

1
by: C. Dexter Southerland | last post by:
Hi, Thanks in advance for your help. We are looking for a Plug in report writer for and application we are developing. It needs to to be distributed with application and look and feel like part...
1
by: Nathan Bloomfield | last post by:
Does anyone know if there is any documentation which relates to Access2k + ? or can anyone help adjust the code? I am having trouble converting the DAO references. TITLE :INF: How to...
6
by: Salad | last post by:
Hi: I have a Bill of Lading template from the printer that I saved as a BMP. I created a new report and in the report's picture property told it the BMP file name. It brought the image in just...
3
by: Diggler | last post by:
I was working on a report that is populated with three different tables in a strongly-typed dataset. The tables are populated from custom objects rather than directly from SQL Server. I loop...
2
by: aldous scotch | last post by:
I designed a Crystal Report .rpt from within Microsoft Development Environment 2003 Version 7.1.3088 (VB .NET IDE). I selected database fields from the left side Field Explorer onto the Details...
6
by: Bob Alston | last post by:
I am looking for Access reporting add-in that would be easy to use by end users. My key focus is on selection criteria. I am very happy with the Access report writer capabilities. As far as...
3
by: iht | last post by:
Say I have a database with types of car driven by people living in different cities. I made several queries to separate out the database according to city, then made queries to count out numbers...
1
by: Intrepid_Yellow | last post by:
Hi, I have the following code that runs my report generator. The user selects a table from a combo box, then whatever fields they want from a list box. (This part all works and the report runs...
1
by: freetime | last post by:
Greetings, This is my first post so I will try to be brief and accurate. I have a report that uses 9 user selectable filters (Dates, Y/N's as Combo Boxes and 4 Multi-Select List Boxes. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.