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
Merge Replication initialization error
Access 2003 to 2007 customize menu ribbon
Convert VarPtr to VB.Net
How to collapse columns and rows in excel?
Outlook 2003 and Outlook 2007 - No options to accept, decline nor tentative for invitations
CRM 4.0 how to get all notes to show up in report
SQL Server BIT field true and false
sql stored procedure select compare dates null issue
Convert SBS 2008 P2V
Vista stays at Welcome screen