Click here to Skip to main content
15,901,205 members
Home / Discussions / Database
   

Database

 
GeneralRe: sql select/grouping question Pin
djhankypark26-Mar-10 23:50
djhankypark26-Mar-10 23:50 
GeneralRe: sql select/grouping question Pin
Corporal Agarn29-Mar-10 0:43
professionalCorporal Agarn29-Mar-10 0:43 
QuestionUpdate a date/time field through VB. net Pin
Johnkokk8-Mar-10 23:57
Johnkokk8-Mar-10 23:57 
AnswerRe: Update a date/time field through VB. net Pin
Johnkokk9-Mar-10 0:11
Johnkokk9-Mar-10 0:11 
QuestionHelp with access query Pin
sarang_k8-Mar-10 18:18
sarang_k8-Mar-10 18:18 
AnswerRe: Help with access query Pin
Mycroft Holmes8-Mar-10 18:53
professionalMycroft Holmes8-Mar-10 18:53 
GeneralRe: Help with access query Pin
_Damian S_8-Mar-10 18:55
professional_Damian S_8-Mar-10 18:55 
AnswerRe: Help with access query Pin
_Damian S_8-Mar-10 18:54
professional_Damian S_8-Mar-10 18:54 
If all the strings include the letters "TU" before the numbers at the end, you could use a combination of instr() and len() and right() to get what you need...

I'm doing this from memory and without access to Access to test, but it would be something like this:

clng(right(FIELDNAME, len(FIELDNAME)-instr(FIELDNAME, "TU")))


Which basically says locate the position of TU in the field, then take the characters to the right of them, convert to long and then you can happily find the max of those numbers.
AnswerRe: Help with access query Pin
riced8-Mar-10 22:43
riced8-Mar-10 22:43 
QuestionCreating multiple sql stored procedures from vb .net Pin
iramirezp8-Mar-10 5:54
iramirezp8-Mar-10 5:54 
AnswerRe: Creating multiple sql stored procedures from vb .net Pin
Not Active8-Mar-10 6:19
mentorNot Active8-Mar-10 6:19 
GeneralRe: Creating multiple sql stored procedures from vb .net Pin
iramirezp8-Mar-10 6:50
iramirezp8-Mar-10 6:50 
AnswerRe: Creating multiple sql stored procedures from vb .net Pin
RCoate8-Mar-10 13:28
RCoate8-Mar-10 13:28 
GeneralRe: Creating multiple sql stored procedures from vb .net Pin
iramirezp9-Mar-10 7:50
iramirezp9-Mar-10 7:50 
QuestionHelp with access Query Pin
Gali19788-Mar-10 0:40
Gali19788-Mar-10 0:40 
AnswerRe: Help with access Query Pin
Chris Meech8-Mar-10 4:25
Chris Meech8-Mar-10 4:25 
GeneralRe: Help with access Query Pin
masoumeh20108-Mar-10 8:28
masoumeh20108-Mar-10 8:28 
GeneralRe: Help with access Query Pin
Chris Meech8-Mar-10 8:46
Chris Meech8-Mar-10 8:46 
AnswerRe: Help with access Query Pin
Luc Pattyn8-Mar-10 5:25
sitebuilderLuc Pattyn8-Mar-10 5:25 
Questionmultiple tables in datagridview Pin
Enobong Adahada7-Mar-10 20:50
Enobong Adahada7-Mar-10 20:50 
AnswerRe: multiple tables in datagridview Pin
Mycroft Holmes7-Mar-10 22:34
professionalMycroft Holmes7-Mar-10 22:34 
QuestionDAO 12.0 Big Images in Access Pin
Juan Pablo G.C.7-Mar-10 8:57
Juan Pablo G.C.7-Mar-10 8:57 
AnswerRe: DAO 12.0 Big Images in Access Pin
RCoate8-Mar-10 13:35
RCoate8-Mar-10 13:35 
GeneralRe: DAO 12.0 Big Images in Access Pin
Juan Pablo G.C.8-Mar-10 23:46
Juan Pablo G.C.8-Mar-10 23:46 
QuestionMS SQL: how to reorganize identity column values? Pin
michal.kreslik6-Mar-10 11:52
michal.kreslik6-Mar-10 11:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.