Question : mssql: how would you construct a where clause on this situation?


1, Pull all records except for those that are lockedout ='true'

2. Pull only those records that record have a single field match and  lockedout ='true'

3 Pull only those records that have two fields match and lockedout ='true'

etc.

Answer : mssql: how would you construct a where clause on this situation?

sure, here it goes. I also fixes a mistake on the previous script. Please make sure to finish with and without \ where indicated.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
Const OverwriteExisting = True
strUserName = InputBox("Please Enter the username:", "Username")

strSourceFolder = "\\server\share\TestFolder" ' Make sure this path does NOT finish with a backslash \
strSourceFile = "\\server\share\TestFile.txt"
strTargetFolder = "\\server\share\" & strUserName & "\folder\"' Make sure this path finishes with a backslash \

Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.CopyFile strSourceFile , strTargetFolder, OverwriteExisting
objFSO.CopyFolder strSourceFolder , strTargetFolder , OverwriteExisting
Random Solutions  
 
programming4us programming4us