G Guest Sep 7, 2006 #1 I have a field "SITE" that I need to append "2201" in the front of what is already in the field. How can this be done using a query?
I have a field "SITE" that I need to append "2201" in the front of what is already in the field. How can this be done using a query?
G Graham R Seach Sep 7, 2006 #2 If you want to do it to the whole table: UPDATE myTable SET SITE = "2201" & SITE ....but if you only want to do it to a single record, or a specific set of records: UPDATE myTable SET SITE = "2201" & SITE WHERE x = y Regards, Graham R Seach Microsoft Access MVP Sydney, Australia
If you want to do it to the whole table: UPDATE myTable SET SITE = "2201" & SITE ....but if you only want to do it to a single record, or a specific set of records: UPDATE myTable SET SITE = "2201" & SITE WHERE x = y Regards, Graham R Seach Microsoft Access MVP Sydney, Australia
G Guest Sep 7, 2006 #3 Great works perfect Graham R Seach said: If you want to do it to the whole table: UPDATE myTable SET SITE = "2201" & SITE ....but if you only want to do it to a single record, or a specific set of records: UPDATE myTable SET SITE = "2201" & SITE WHERE x = y Regards, Graham R Seach Microsoft Access MVP Sydney, Australia Click to expand...
Great works perfect Graham R Seach said: If you want to do it to the whole table: UPDATE myTable SET SITE = "2201" & SITE ....but if you only want to do it to a single record, or a specific set of records: UPDATE myTable SET SITE = "2201" & SITE WHERE x = y Regards, Graham R Seach Microsoft Access MVP Sydney, Australia Click to expand...