473,321 Members | 1,877 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,321 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 1786
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: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.