Microsoft
Software
Hardware
Network
Question : USING A SELECT CASE STATEMENT DEPENDING ON THE LENGTH OF A STRING
Depending upon the length of a string in a certain field I would like the function to return a concatenated result such as If (len(field A =2 ) then Dept# = "9100" & Field A There will be about 4 or 5 scenarios)
Any help with sytax will be appreciated.
Answer : USING A SELECT CASE STATEMENT DEPENDING ON THE LENGTH OF A STRING
Function GetDept(FieldA as string) as string
Select Case Len(FieldA )
Case is = 2
GetDept = "9100" & FieldA
Case is = 3
GetDept = "..." & FieldA
Case else
GetDept = "..." & FieldA
end function
Random Solutions
Need a batch file script/syntax to map a different share using the same/current drive letter. no DFS
Extracting image (.img) file
Running XP Home Edition w/SP 1a. Problem with search screen/windows explorer. Search screen turns on unbidden.
Printers keep changing ports in a terminal server environment
Will google index pages that are not linked within my website?
ER Diagram for storefront
how to schedule a database backup in sql 2005
Validation List VBA - Item index?
Restricting all the sites to access internet except one site...
PPTP connection to sonicwall cannot reach secondary site to site tunnel on same firewall