H hboisteau Registered User. Local time Today, 22:18 Joined Jun 5, 2012 Messages 14 Aug 29, 2012 #1 Hi, I try to add the same number on a query, I have many line and I want add the same number for all of lines at the last colone on my query. Thanks in advance. HB
Hi, I try to add the same number on a query, I have many line and I want add the same number for all of lines at the last colone on my query. Thanks in advance. HB
jdraw Super Moderator Staff member Local time Today, 16:18 Joined Jan 23, 2006 Messages 15,498 Aug 29, 2012 #2 Suppose you want to add "999" as the last column in your query: Code: Select fld1, fld2,fl3 ,"999" as lastColumn from YourTablename Where your_current_where_goes_here
Suppose you want to add "999" as the last column in your query: Code: Select fld1, fld2,fl3 ,"999" as lastColumn from YourTablename Where your_current_where_goes_here
boblarson Smeghead Local time Today, 13:18 Joined Jan 12, 2001 Messages 32,040 Aug 29, 2012 #3 Or if you work in the QBE grid, MyNewNameHere:999
H hboisteau Registered User. Local time Today, 22:18 Joined Jun 5, 2012 Messages 14 Aug 29, 2012 #4 Thanks you very much, HB