Skip to content

Instantly share code, notes, and snippets.

@jacobandresen
Created November 17, 2011 12:01
Show Gist options
  • Save jacobandresen/1372999 to your computer and use it in GitHub Desktop.
Save jacobandresen/1372999 to your computer and use it in GitHub Desktop.
Function ValidateFieldNotEmpty Integer iColumn String sValue Returns Boolean
String sField
Move "...." to sField
If (sValue = "") Begin
Error DFERR_OPERATOR (SFormat("Feltet '%1' skal tildeles en værdi", sValue))
Function_Return True
End
Function_Return False
End_Function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment