473,473 Members | 2,036 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Fill Down in Access ?

I'm a newbie to writing and running code in MS Access so the more
detail the better for me when answering. Thanks.
My Problem ( Or Challange , I should say ) is that I import a csv file
into an access table called 'booked' ; one of these fields is called
"job".
Now when this import happens there are a lot of records that are
blank.
I need to populate these fields with the previous records' value.

ie. ( I am substituting in a "-" for a blank here )

Job
045122
-
045211
-
-
054155
-
-
Needs to be

Job
045122
045122
045211
045211
045211
054155
054155
054155

Can anyone show me the code I should use for this ?
Thanks in advance

Steve
Nov 13 '05 #1
1 3174
rkc
Stephen H wrote:
I'm a newbie to writing and running code in MS Access so the more
detail the better for me when answering. Thanks.
My Problem ( Or Challange , I should say ) is that I import a csv file
into an access table called 'booked' ; one of these fields is called
"job".
Now when this import happens there are a lot of records that are
blank.
I need to populate these fields with the previous records' value.

Same goes when asking a question. The more detail the better.
How are you doing the import?
Is there any relation between the record that is not blank and
the following records that are?
Maybe mention the rest of the fields in the booked table.

There may be someone who can tell you how to create a query that
will fill in the blanks after import.

You may need to write your own import code.
Nov 13 '05 #2

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

Similar topics

1
by: Charles Robinson III | last post by:
When selecting a option from a drop down menu in the form view, which is linked to a table with three columns, how do I get Access to automatically fill in two other fields automatically once the...
1
by: Dave Stone | last post by:
I find with a table in datasheet view, if a Number field is blank, and I fill it in for a series of rows (more than 2) with values incrementing by 1 or 2 (only), then Access 'helpfully' fills in...
2
by: k.bel | last post by:
The table I created is very easy: it consists of one field "Nomen" (datatype 'text' size 50) and 10 fields m1 to m10 datatype 'text' size 3. Now, having an array of some records with different...
3
by: W | last post by:
I would like to make a form that multiple people can access and update at same time with their web browser. The form would have fields that each would fill in and I would like for all to see what...
0
by: --Grrrrrr-- | last post by:
Bit of a novice to this and, even worse, self-taught so could be missing something really obvious. Anyway, would very much appreciate help with: Got a SQL table with a column that has NULLS in it....
6
by: Cliff72 | last post by:
I need to fill in the nulls in the batch field the value from the record immediately preceding the null one ie replace the nulls with the preceding value until I hit a record with a value in...
3
by: penny111 | last post by:
Hi there, For my application, i need to have 3 drop down lists 1. drop down list of folder names 2. drop down list of documents in the folder selected 3. drop down list of instances of the...
9
by: Eric Lindsay | last post by:
How do you provide a consistent gradient fill as a background in a liquid layout? If I make a gradient fill image say 1000 pixels wide (and repeat it down the page) to suit a typical computer...
1
by: bytesFTW99 | last post by:
I have been struggling with this for some time can anyone help out? just trying to have 3 dropdown boxes that fill depending on what is selected, then in some cases click a button and have the second...
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
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...
1
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,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.