View Full Version : two tables, linking same data


michellerobinso
07-03-2006, 06:24 AM
ok i have two tables.

the main table tblquery and the second tblreturns

i want the data from tbl query

return number
date received
date processed

to be the same in the tbl returns is this possible?

neileg
07-03-2006, 07:15 AM
Why do you want to save the same data in two different places?

Krij
07-05-2006, 10:23 PM
ok i have two tables.

the main table tblquery and the second tblreturns

i want the data from tbl query

return number
date received
date processed

to be the same in the tbl returns is this possible?

Yes, these seems very suspicious!

Anyway...do an INSERT INTO after the update of last field or make a button with the following code:

Dim strFilter As string

strFilter = "INSERT INTO tblreturns(returnnumber, datereceived,dateprocessed) " _
& "SELECT returnnumber, datereceived,dateprocessed " _
& FROM tblquery " _
& WHERE returnnumber = " & Me!returnnumber

CurrentDb.Execute strFilter, dbFailOnError

Geir Smevig-Baardsen
MCP
http://www.geirb.info
*******************
*Don't reply to my
*email.
*Reply to group
*:-)
*
*
*******************