Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / April 2005

Tip: Looking for answers? Try searching our database.

Automatic field generation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TechieRob - 11 Apr 2005 06:56 GMT
I have imported a flat text file with some information missing in Access 2000
The data is stored in a table where there are blank entries for "dates" but
the date is the same as the leading date:

i.e.

Date               Name           Job
01/01/01        Jack              Install system
                    Joe               Configure software
                    Bob               Printer Jam
02/01/01        Fred              Fix Mouse

the missing dates in this table is obviously 01/01/01. My question is; can
you write a expression that will automatically fill in a field based on its
previous record's entry?

Basically all i want is a simple "Next field"=="previous field" for all
fields in the date column.
Jeff Boyce - 11 Apr 2005 11:47 GMT
One approach would be to write a procedure that loops through the records,
preserving the record's date, and using the preserved date unless the record
has a new (i.e., different) date.

In statistics, having no information doesn't mean interpolation (filling in
between) is valid -- sometimes no date means no date.

Signature

Good luck

Jeff Boyce
<Access MVP>

> I have imported a flat text file with some information missing in Access 2000
> The data is stored in a table where there are blank entries for "dates" but
[quoted text clipped - 14 lines]
> Basically all i want is a simple "Next field"=="previous field" for all
> fields in the date column.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.