Update statement...concantenate text

  • Thread starter Thread starter EMILYTAN via AccessMonster.com
  • Start date Start date
E

EMILYTAN via AccessMonster.com

I wanto concatenate text in the field like MY123, MY234 under same field.


Below are my code:-

mySQL6 = "UPDATE WIPRawDetails SET SerialNumber = SerialNumber & '" & Me.
txtI_SerialNumber & "' WHERE PartNumber= '" & Me.txtPartNumber & "' AND
JobNumber = '" & strJobNumber & "'"
Debug.Print mySQL6
DoCmd.RunSQL mySQL6


I managed to get that but I need a comma to separate it...Can someone help me?
 
I wanto concatenate text in the field like MY123, MY234 under same field.

As noted in the other thread...

THIS IS A VERY BAD IDEA.

Could you explain *why* you think you want to do this?

John W. Vinson [MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top