Skip to content

Instantly share code, notes, and snippets.

View mjdescy's full-sized avatar

Michael Descy mjdescy

View GitHub Profile
@mjdescy
mjdescy / Microsoft Access Execute SQL Function
Last active August 29, 2015 13:59
Microsoft Access Execute SQL VBA Function
Private Sub ExecSQL(ByVal SQL As String)
Call CurrentDb.Execute(SQL, dbFailOnError)
End Sub
@mjdescy
mjdescy / ACL Script To Pull Random Attribute Sample
Last active August 29, 2015 13:59
ACL Script To Pull Random Attribute Sample
COMMENT Script: Pull random attribute sample.
COMMENT
Before using this script,
1. set the SampleSize variable;
2. replace "PopulationTable" with the population table name; and
3. replace "SampleTable" with the sample table name.
END
COMMENT Define sample size.
@mjdescy
mjdescy / Searches
Last active August 29, 2015 13:59
Windows 7 Saved Searches
# Today's Files
datemodified:today NOT type:folder NOT (.git)
# Yesterday's Files
datemodified:yesterday NOT type:folder NOT (.git)
# Earlier This Week
datemodified:earlier this week NOT type:folder NOT (.git)
# Today's Folders