Microsoft
Software
Hardware
Network
Question : maxclient Id from table
get max client id with format CL000000. Please look at the MaxClientID.doc that i have attached. If you have any question feel free to ask. I appreciate any help. Thanks.
Answer : maxclient Id from table
Function getClientID() As String
Dim MaxID, CurrID
MaxID =nz(DMax("mid([Client_ID],
3)", "dbo_tblClientTest"),0)
maxid=clng(maxid)+1
CurrID = "CL" & Format(MaxID, "00000000")
getClientID = CurrID
End Function
Random Solutions
How do I close Adobe Reader from within VB.NET
Small business server 2008 unable to add user with console
ADO.NET Insert Command
Error Loading sshnas.dll
Logout Button for <asp:LoginStatus> not working
SharePoint errors sites down then fix themselves.
Finalize a CD using IMAPI CD-Burning COM Service
Writing a value from Visual Foxpro 9.0 to Pervasive SQL9.5 table
Import multiple Excel workbooks into a single Access Table
Creating subform controls on differet tab pages in VBA