Sep 13, 2010 #1 Panchovia Programmer May 6, 2010 48 CW I have a old table with numeric field now I create a new table it must be changed to alfa numeric, format ---[99999] I created a update query to update the numeric field to the new table with the info of the old table without any success. Any suggestions.
I have a old table with numeric field now I create a new table it must be changed to alfa numeric, format ---[99999] I created a update query to update the numeric field to the new table with the info of the old table without any success. Any suggestions.
Sep 13, 2010 #2 dhookom Programmer Jun 24, 2003 22,499 US Can you provide the table and field names and data types? How about some sample records? What did you try? What do you mean by "without any success"? Duane Hook'D on Access MS Access MVP Upvote 0 Downvote
Can you provide the table and field names and data types? How about some sample records? What did you try? What do you mean by "without any success"? Duane Hook'D on Access MS Access MVP
Sep 14, 2010 Thread starter #3 Panchovia Programmer May 6, 2010 48 CW example ; Old database clientnumber; clientname etc. 1 Pancho via 2 Napaloen New database; DF-1 Pancho via DF-2 Napoloen etc code used in query update field DF-+[clientnumber] is this correct Upvote 0 Downvote
example ; Old database clientnumber; clientname etc. 1 Pancho via 2 Napaloen New database; DF-1 Pancho via DF-2 Napoloen etc code used in query update field DF-+[clientnumber] is this correct
Sep 14, 2010 Thread starter #4 Panchovia Programmer May 6, 2010 48 CW correction: Code used in query New database client number field Update ; "DF-"+[Olddatabase]![clientnumber] Upvote 0 Downvote
correction: Code used in query New database client number field Update ; "DF-"+[Olddatabase]![clientnumber]
Sep 14, 2010 #5 traingamer Programmer Jun 18, 2002 3,270 US That should work if the field in the new table is a string. Try using an ampersand for string concatenation: "DF-" [red]&[/red] [Olddatabase]![clientnumber] Greg People demand freedom of speech as a compensation for the freedom of thought which they seldom use. Kierkegaard Upvote 0 Downvote
That should work if the field in the new table is a string. Try using an ampersand for string concatenation: "DF-" [red]&[/red] [Olddatabase]![clientnumber] Greg People demand freedom of speech as a compensation for the freedom of thought which they seldom use. Kierkegaard