Skip to content

Instantly share code, notes, and snippets.

Dan Smith dansmith65

  • B.C. Canada
Block or report user

Report or block dansmith65

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
dansmith65 / ListContains.fmfn
Created Jan 4, 2014
FileMaker Custom Function: ListContains ( ValueList ; ValuesToTestExistence )
View ListContains.fmfn
/* ListContains ( ValueList ; ValuesToTestExistence )
Test if all specified values exist in a list.
ValueList (text) values to search in
ValuesToTestExistence (text) value(s) to search for
dansmith65 / VirtualBoxFixNIC.cmd
Created Dec 13, 2013
Fix issue with VirtualBox Host-Only Network adapter in Windows by adding *NdisDeviceType=1 to registry.
View VirtualBoxFixNIC.cmd
ECHO. VirtualBoxFixNIC.cmd
ECHO. Created on 2013-DEC-13 by Dan Smith
ECHO. Fix issue with VirtualBox Host-Only Network adapter in Windows by adding
ECHO. *NdisDeviceType=1 to registry.
dansmith65 / GetDelimitedValue.fmfn
Last active Dec 29, 2015
In FileMaker, return value in specified location of delimited text.
View GetDelimitedValue.fmfn
* =====================================
* GetDelimitedValue ( text ; delimiter ; occurrence )
* Value in specified location of delimited text.
* text = (text) delimited data
* delimiter = (text) single character used to separate values
dansmith65 / XPath Parse With
Last active Dec 20, 2015
ScriptMaster function, for use in a FileMaker plug-in.
View XPath Parse With
// XPathParseWithNamespace ( someXML ; xpathQuery ; namespaceList )
// adapted from this code:
// and the prior XPath Parse function in ScriptMaster
import javax.xml.XMLConstants;
import javax.xml.namespace.NamespaceContext;
import javax.xml.xpath.XPath;
import javax.xml.xpath.XPathFactory;
import javax.xml.xpath.XPathConstants;
import javax.xml.xpath.XPathExpressionException;
dansmith65 / ExecuteSQL
Last active Apr 2, 2018
ExecuteSQL template for FileMaker which allows for viewing the query in the data viewer while debugging, and testing for an error.
View ExecuteSQL
Let ( [
$sqlQuery =
& SQLTableAndField ( field )
& "¶FROM "
& SQLTable ( field )
& SQLTable ( field )
& "¶ON "
& SQLTableAndField ( field )
You can’t perform that action at this time.