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

Access: Specific modification between two tables

I have two tables with words.
First table has 2 fields: German, Croatian.
Second table has 2 fields: German, English.

First table in the German field miss attributes (der, die, das), (pl).
This attributes is only for nouns, not for vers...
Second table (German field) HAS that attributes, but this table is much
bigger then first table.
-Question:
How can I replace words(nouns) - just them - from table 2 to table 1 or add
attribute to
table 1 some other way, but bewaring to not disorganize (translation) of the
1-st table?

PS. if you know write mail for contact
Thanks!!!
Nov 12 '05 #1
1 1791
ANSWER wrote:
I have two tables with words.
First table has 2 fields: German, Croatian.
Second table has 2 fields: German, English.

First table in the German field miss attributes (der, die, das), (pl).
This attributes is only for nouns, not for vers...
Second table (German field) HAS that attributes, but this table is much
bigger then first table.
-Question:
How can I replace words(nouns) - just them - from table 2 to table 1 or add
attribute to
table 1 some other way, but bewaring to not disorganize (translation) of the
1-st table?

PS. if you know write mail for contact
Thanks!!!

I created 2 tables; Table1 and Table2. Each table has 1 field;
GermanWord and is Text. You can do/create the same to follow me.

Table1 has the following 5 records
Test
Die Test1
Der Test2
Das Test3
(pl) Test4

Table2 has the following 5 records
Test1
Test2
Test3
Test4
Test5

The results of the update if I understand you correctly, for table 2,
should be the following
Die Test1
Der Test2
Das Test3
(pl) Test4
Test5

I created a query called Query1. It separates the words in Table1 into
two columns that have 2 words (Die, Das, Der, (pl) in the field) and
another word. Ex: Die Test1.

The first column is called Prefix (Die), the second is Suffix (Test1).

The query will only return records has 2 words. A space seperates the
two words. Here is my Query1 SQL code. You can cut/paste this into a
new query (Query1) to test if you have built the 2 tables.

SELECT Left([GermanWord],InStr([GermanWord]," ")-1) AS Prefix,
Trim(Mid([GermanWord],InStr([GermanWord]," ")+1)) AS Suffix
FROM Table1
WHERE (((InStr([GermanWord]," "))>0));

Now I created a second query to update the second table with the Der,
Die, Die, (pl) prefix. You can cut/paste this into a new query to test
if you have built the 2 tables and Query1.

UPDATE Table2 INNER JOIN Query1 ON Table2.GermanWord = Query1.Suffix SET
Table2.GermanWord = [Query1]![Prefix] & " " & [Table2]![GermanWord];

If I understood your problem, and you followed my example, you should be
able to modify the above queries to solve your problem. BTW, I would
make a copy of your production table, those without a prefix, prior to
running your update just in case you make a mistake.

By the way, if table2 has
Test1
Test1
and the first Test1 is a noun and the second Test1 is a verb, you need a
method to note which one is a noun and which the verb and filter only on
words that are nouns.

Nov 12 '05 #2

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

Similar topics

2
by: G.Gerard | last post by:
Hello I have a runtime application created with Access 2000 that I want to distribute. I would like to lock and/or hide some tables in this application so that
4
by: Mlaky | last post by:
I'm using VB and I need to get all table names in database. How can I do that? Thank you.
1
by: ANSWER | last post by:
I have two tables with words. First table has 2 fields: German, Croatian. Second table has 2 fields: German, English. First table in the German field miss attributes (der, die, das), (pl). This...
33
by: DFS | last post by:
An application I wrote has been deployed on Citrix, and the Citrix admin tells me all users run the same .mde file. There aren't a lot of concurrent users, but even 2 could be cause for concern. ...
10
by: Hank | last post by:
We have just recently migrated the data from our Access 2000 backend to Postgres. All forms and reports seem to run correctly but, in many cases, very slowly. We do not want to switch over until...
5
by: jonceramic | last post by:
Hi All, I started developing in Access, and people took notice and so we're starting to migrate into our corporate's bigger Oracle system. I'll still be using my developed Access front ends,...
4
by: seryozha | last post by:
Hello, I'm wonder if a relational database is what i need based on the data i will be entering. Our company will have the following data entered: Customer Part Press Date Operation
1
by: wildman | last post by:
It's been over 10 years that I don't look at Access. I've been working in asp.net for the last 5 developing intranet sites. Just got a project where we are trying to avoid building an...
2
by: acw | last post by:
On a SQL Server 2000 db I would like to setup a stored procedure that accesses couple tables and runs the extended stored procedure xp..cmdshell. The goal is to grant users with limited privileges...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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.