Archive for May, 2015

DataEase and Ffenics – How to Export to a Variable Filename

Tuesday, May 26th, 2015

TestVariableCTRL
Define Global “gFilename” ;   Text 255 .

GFilename := data-entry EnterFilename .

run procedure “TestVariableExp2” .

TestVariableExp2.
define global “GFilename”   Text 255 .

for COUNTRYSETUP ;

list records
CountryCode in order ;
Country .
end
export to GFilename .
CountryCode,Country
.items
@f[1,1],@f[1,2]
.end

DataEase and Ffenics – Performing Dynamic Validations

Tuesday, May 26th, 2015

This script demonstrates how the PostEdit Event can be used to perform dynamic validation, by automatically testing values as they are typed in by the user. This example script rejects any input which contains spaces in the value.

Note that if you want to accept their typing you say return(1) ( or 0 would do ) but if you want to reject their input, re-instating the original contents type return(2).

In a fields script choose the PostEdit event and put…

if textpos( string , ” ” ) > 0 then
message “Please re-enter without using spaces” window .
return(2) . — failure of input to satisfy
else
return(1) . — acceptable input
end

This script uses the passed parameter for the postedit event which is “string” .

This contains the incoming value entered by the user, whereas the Value property of the field still
contains the original contents.

Provided by Simon Irwin    (DataEase Consultant)

DataEase 8.5 Functions Manual

Thursday, May 7th, 2015

DataEase 8.5 Functions List for Build 1767 (Beta)

DataEase85FunctionsManual

DataEase for DOS 5.x Features (Search Mode)

Friday, May 1st, 2015

Notes contains operating instructions and technical background to the new features introduced in DataEase for DOS 5.x. DataEase DFD 5xx Search Mode