Senin, 20 Oktober 2014

Re: [MS_AccessPros] upating names with capitalisation

 

Onno-


You can try to figure out what's happening by building a SELECT query first to see if you get any rows:

SELECT * FROM MyTable WHRE Myname = 'good'

If that returns no rows, then that's why the UPDATE isn't working.

John Viescas, Author
Microsoft Access 2010 Inside Out
Microsoft Access 2007 Inside Out
Microsoft Access 2003 Inside Out
Building Microsoft Access Applications 
SQL Queries for Mere Mortals 
(Paris, France)




On Oct 20, 2014, at 3:18 PM, onno.knol@pbl.nl [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:


 
Dear pro's,

 

Often when I have  a "name"field in a database table,
I want to update that with a good capitalization.
However, when I use an sql update statement like

"Update mytable set Myname ='Good' where Myname = 'good'   "
It does not work.
What am I doing wrong?
Onno Knol


__._,_.___

Posted by: John Viescas <johnv@msn.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (3)

.

__,_._,___

Tidak ada komentar:

Posting Komentar