Question : Query needed to exclude data

The attached Access db has a table t_Transactions.  I would like a query which displays everything on that table but with the following changes:
-      records for any data in the Description field which begins with “AFFILIATE” or “Head Count” must be excluded completely.
-      If any data in the Description field  begins with BE or BE followed by a space, copy the next 6 numeric digits to the BE column.
Thanks.
Attachments:
 
Test
 

Answer : Query needed to exclude data

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