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
Wrong user being shown when file is locked
Dell Inspiron 1501 hangs right before desktop loads
Edit multiple .txt documents via a batch program
Strip HTML from search results
White space in Group Footer
Can't exit design mode because control can not be created
Automated backup fails - 'specified media cannot be found'
Userenv 1054, DnsApi 11197 and Dhcp 1003 event viewer logs
twitter and oAuth
Using a geometry type check constrint in sql sever 2008