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

filling up blank fields

I've imported a txt list into Access which has some rows that look
like:

0000 0100 CH Saze National Msr 1 M CH 4460b 4750x 4800q 5945b

6030b 6125s 7275b 7290b

9500s 9630q 9675b 9845b
0025 0130 SG Niskale V BNN 11720s 11750s
11760s 11925L

11960b 12045b 13610n

13700L 15550b

Now I'm wondering whether would be possible to automatically update the
rows which has some blank fields with its appropriate information
(that's the same stuff as in the first and fourth row).

Of course, most of the rows has all the fields properly filled up, it's
just too cumbersome and time consuming to fill the blanks by hand.

Thank you in advance for your aid!

Nov 29 '05 #1
4 2250
I can't tell if the data is just a string of text or whether it is separated
into fields in a table, but I'll assume the latter. In your example, it
looks like you either have all the fields or just the last field. Is this
always the case? If it is, then you can run an update query. Select field1
and field4 (or whatever the last field is called) in the query builder.
Under field4, set the criteria to "is null" (no quotes) and set the update
to box to [field1] (with brackets). Under field1, set the "update to" box
to "null", (no quotes).

"Sommerfield" <co*********@yahoo.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
I've imported a txt list into Access which has some rows that look
like:

0000 0100 CH Saze National Msr 1 M CH 4460b 4750x 4800q 5945b

6030b 6125s 7275b 7290b

9500s 9630q 9675b 9845b
0025 0130 SG Niskale V BNN 11720s 11750s
11760s 11925L

11960b 12045b 13610n

13700L 15550b

Now I'm wondering whether would be possible to automatically update the
rows which has some blank fields with its appropriate information
(that's the same stuff as in the first and fourth row).

Of course, most of the rows has all the fields properly filled up, it's
just too cumbersome and time consuming to fill the blanks by hand.

Thank you in advance for your aid!

Nov 29 '05 #2
The data is separated into fields in a table which always will, either,
have all the fields or just the last one.

In the following example:

AAA BBB CCC 123
DDD EEE FFF 456
579
333
GGG HHH III 789

In this case registers which have in the last field 579 and 333 are the
ones to be updated. What I need is to "write" DDD EEE FFF into the
three separate blank (null) fields on both registers.

A register having blank (null) fields will always need to be updated
with the same information as the preceeding one.

What expression I must write on the update query in order to perform
it?

Thank you in advance!

Nov 29 '05 #3
I'm wondering whether it is actually possible to do so.

Dec 2 '05 #4
Sommerfield wrote:
I'm wondering whether it is actually possible to do so.


It's possible. I just didn't think it was right to tell you how to do
it.

See:

http://groups.google.com/group/comp....ff3f71a41b982a

If you can, change your input forms so that this doesn't happen
anymore.

James A. Fortune

Dec 2 '05 #5

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

Similar topics

7
by: JDS | last post by:
Hi, all. I'd like to do the following, preferably *without* resorting to JavaScript: I have a long, dynamically-generated form questionnaire. Not all of the form fields are dynamically...
2
by: hennakapoor | last post by:
How do the form filling software determine which text field gets what data i.e. a typical form filling software will ask the user to enter the username / address / password etc. Whenever it goes to...
1
by: allyn44 | last post by:
Hello--i have inherited a dataset that has records like below: id locationid 1 7 2 3 5 4 5 6 4
1
by: allyn44 | last post by:
Hello, I have a table that has null fields that need to be filled in with the value of the previous record (example below) id date 1 2/2/02 2 3 4/4/02 4
2
by: No Spam | last post by:
Dear fellow Access 2000 users: I have a table where there are 5 columns and thousands of rows of data. Every so often, there is missing data in the second and third column. I wanted to write...
6
by: Brian | last post by:
Hello, Basically, I'm running a query on a form's activation, and I'd like to have the results of the query be placed into other fields on the same form automatically. Does anybody know how...
19
by: billa856 | last post by:
Hi, I have to use the table(PRODUCTION) already generated in MS Access in which all fields are of TEXT type.fields like (orderdate,palletno,customercode,itemno,pono,carto n,pcs,totalquantity)Now i...
13
by: hedges98 | last post by:
Hello I have a letter template in Word that has some blanks. I want to populate these blank spaces with fields from the database. These blanks are: client name client address appointment date...
8
by: logicbloke | last post by:
Hello, All the browsers I tested are filling two fields that aren't for logging in, both have different names from the ones on the login form, and eventhough, the browsers fill them, I have read...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.