| | |
kindly find the attachment
![]() |
Try this but i am not sure. b'cos i have not tried it myself. get back if any problem.
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
rscombo.Open "select MAX(MID(item_code,2,10)), ITEM_CODE from production WHERE item_code is not NULL and LEFT(ucase(trim(Production.ITEM_CODE)),1) = 'P' GROUP BY ITEM_CODE "
Regards
Shaik Akthar
Shaik Akthar
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
rscombo.Open "select max(VAL(MID(item_code,2,10))), item_code from production WHERE item_code is not NULL and LEFT(ucase(trim(Production.ITEM_CODE)),1) = 'P' GROUP BY ITEM_CODE ORDER BY VAL(MID(item_code,2,10)) DESC"
Regards
Shaik Akthar
Shaik Akthar
![]() |
Similar Threads
- help (Visual Basic 4 / 5 / 6)
- How to start with SEO (Search Engine Optimization)
- windows update can't download (Windows NT / 2000 / XP)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: VB Programme setup problem
- Next Thread: I want to convert a VB program to .exe
| Thread Tools | Search this Thread |
* 6 429 2007 access activex add age application basic beginner birth bmp calculator cd cells.find click client code college component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report save search sendbyte sites sort sql sql2008 sqlserver subroutine tags textbox time urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





