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

BlackOut????

I have two tables

tblROVW
tblROMR

Both contain 2 identical fields; NUMBER CODE
in tblROMR both fields are filled, in tblROVW only the field NUMBER is
filled.

for example

tblROMR tblROVW

Number Code Number Code
1234567 311 1234567 {nothing}
1897546 547 1897546 {nothing}

Now how can I 'copy' the value of the field CODE from tblROMR to
tblROVW where Number should be equal?

I have been thinking about this for days, I know the solution is so
simple but it simply will not come to me :(

(I want the value actually entered in the tblROVW, that means not using
a select query)

TIA!

May 11 '06 #1
4 1382
Never mind!

I had a momentary bright moment!!

UPDATE tblQROMR INNER JOIN tblQROVW1 ON tblQROMR.ROMR_NUIMBER=
tblQROVW1.NUMBERSET tblQROVW1.ROVW_CODE= [tblQROMR1]![code];

That did the trick!

May 11 '06 #2
DFS
Henrootje wrote:
I have two tables

tblROVW
tblROMR

Both contain 2 identical fields; NUMBER CODE
in tblROMR both fields are filled, in tblROVW only the field NUMBER is
filled.

for example

tblROMR tblROVW

Number Code Number Code
1234567 311 1234567 {nothing}
1897546 547 1897546 {nothing}

Now how can I 'copy' the value of the field CODE from tblROMR to
tblROVW where Number should be equal?

I have been thinking about this for days, I know the solution is so
simple but it simply will not come to me :(
Henrootje,

Some honest advice: if you really found yourself thinking about this issue
for days, you need to read up on SQL and relational databases, or ask for
help earlier.

Hints: don't name the field Number. That's an Access datatype (and a VBA
property) that may cause you problems. How about ID? And rather than Code,
you may want description_code.

So, maybe StatusID and StatusCode, or UserNbr and UserCd. Depends on what's
in the table.


(I want the value actually entered in the tblROVW, that means not
using a select query)

TIA!

May 11 '06 #3
Thanks for your advice DFS.
But I think this was typically a case of 'black-out' because in a flash
it came to me. It is as a name that is on the tip of your tongue......
You do know it but simply can not get iot to front :p

And 'Number' and 'Code' are not the actual fieldnames. But, since they
are dutch names here, I thought it would be easier to translate them
for people here.
The namingconvention as we use here for fieldnames is always
tabelname_fieldname
So the actual fields are ROMR_BankrekNr and ROMR_GeldRek (ROVW_ for the
other tbl.
All tablenames start with 'tbl', 'qry' for query etc

May 11 '06 #4
Thanks for your advice DFS.
But I think this was typically a case of 'black-out' because in a flash
it came to me. It is as a name that is on the tip of your tongue......
You do know it but simply can not get iot to front :p

And 'Number' and 'Code' are not the actual fieldnames. But, since they
are dutch names here, I thought it would be easier to translate them
for people here.
The namingconvention as we use here for fieldnames is always
tabelname_fieldname
So the actual fields are ROMR_BankrekNr and ROMR_GeldRek (ROVW_ for the
other tbl.
All tablenames start with 'tbl', 'qry' for query etc

May 11 '06 #5

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

Similar topics

0
by: sitpost | last post by:
Only days before the election, a few key ‘battleground-states' esp. OHIO are barraged with political ads; which are increasingly "canceling each other out!" Talk about the "fog of politics!" A...
37
by: Xah Lee | last post by:
A Moronicity of Guido van Rossum Xah Lee, 200509 On Guido van Rossum's website: http://www.artima.com/weblogs/viewpost.jsp?thread=98196 dated 20050826, he muses with the idea that he would...
0
by: egbert | last post by:
Without success I try to understand the color mechanism in PyGTK. It's about the classes Color an Colormap, and their methods and related functions and other paraphernalia. If anyone knows about a...
2
by: Andante.in.Blue | last post by:
Our Access 97 database is a single-file (non-splitted, pure Access) hosted no a network server, accessed regularly by a handful of users around the office. Until recently (until the Great...
34
by: richard | last post by:
What might cause qsort to crash? I'm using qsort to sort a few thousand items of a not too complex structure. Tried it with one data set - worked fine. Tried another similarly sized data set...
27
by: Daniel Vallstrom | last post by:
I'm having problems with inconsistent floating point behavior resulting in e.g. assert( x > 0.0 && putchar('\n') && x == 0.0 ); holding. (Actually, my problem is the dual one where I get...
6
by: A_M_IS | last post by:
Hello group, hope to anybodys help on my temporary blackout. (Using Access 2003 on XP Win.) I know how to create and edit temporary query recordset, then I can set this data source as my form...
14
by: Philipp Reif | last post by:
Hi all, I've got a little hole in my head concerning references. Here's what I'm trying to do: I'm calling a function, passing the reference of a business object for editing. The function clones...
8
by: Harris Kosmidhs | last post by:
I have my whole page in a <tablejust to center it. Now I changed it and used a div instead: #wrapper { width:900px; margin:0 auto 0 auto; border-left:1px solid; border-right:1px solid;...
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
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.