Hi all,
I have a problem. I would like to add an Id to a table that I have with Names and Dates. The names and dates are ordered but I would like to add a number using a query, but I don't know how. Can you please help me?
What I have:
h**p://img849.imageshack.us/img849/2491/58944325.jpg
What I need:
Name_c Date_Id Num_by_name Peter 08/08/2011 1 Peter 07/07/2011 2 Peter 05/06/2011 3 Bill 08/08/2011 1 Bill 06/06/2011 2 John 05/06/2011 1 John 02/04/2011 2 John 11/11/2010 3 Mary 07/08/2011 1 Mary 03/08/2011 2 Mary 07/07/2011 3 Mary 10/10/2010 4 Paul 03/08/2011 1 Paul 05/05/2011 2 Adam 08/07/2011 1
h**p://img703.imageshack.us/img703/9956/43080150.jpg
Many thanks!!!!
I have a problem. I would like to add an Id to a table that I have with Names and Dates. The names and dates are ordered but I would like to add a number using a query, but I don't know how. Can you please help me?
What I have:
Code:
Name_c Date_Id Peter 08/08/2011 Peter 07/07/2011 Peter 05/06/2011 Bill 08/08/2011 Bill 06/06/2011 John 05/06/2011 John 02/04/2011 John 11/11/2010 Mary 07/08/2011 Mary 03/08/2011 Mary 07/07/2011 Mary 10/10/2010 Paul 03/08/2011 Paul 05/05/2011 Adam 08/07/2011
h**p://img849.imageshack.us/img849/2491/58944325.jpg
What I need:
Name_c Date_Id Num_by_name Peter 08/08/2011 1 Peter 07/07/2011 2 Peter 05/06/2011 3 Bill 08/08/2011 1 Bill 06/06/2011 2 John 05/06/2011 1 John 02/04/2011 2 John 11/11/2010 3 Mary 07/08/2011 1 Mary 03/08/2011 2 Mary 07/07/2011 3 Mary 10/10/2010 4 Paul 03/08/2011 1 Paul 05/05/2011 2 Adam 08/07/2011 1
h**p://img703.imageshack.us/img703/9956/43080150.jpg
Many thanks!!!!