Home » Company » Sample applications and example code

Sample applications and example code

Working with the latest Internet and Web technologies, such as JavaScript, JSON, JSONP and Ajax, to name but a few, we are always finding solutions to software problems that we feel may also benefit others. So, rather than keep valuable knowledge to ourselves, we have dedicated this part of our website to publishing some of our sample applications and example code here.

Sample code

In addition to the sample applications and example code here, you may also like to view our blog articles, white papers and presentations available from the Company menu heading. If you are specifically searching for DataFlex related code examples, we also recommend that you visit DataFlex.wiki and use the search facility there, or refer to the DataFlex Online help.


Demo showing effects of process pooling

When asked the question ‘what can I use to replace the windows popup “Yes/No” confirmation?‘ by a developer getting to grips with WebApp programming (we’ve all been there and it isn’t the easiest), as well as answering the question, I wrote a small web view to illustrate the mechanism. After doing that I enhanced it a bit for anybody who might find it useful (either for learning or for instruction).

Read the post DataFlex WebApp Process Pooling Demo


WebQuery for Visual DataFlex – Open Source Reporting

WebQuery is a view you can include in your own Visual DataFlex 17.1 (or higher) WebApp programs to provide users with an ad hoc reporting capability. Note, WebQuery is a reimplementation of Sture Andersen’s VDFQuery Windows utility as a VDF 17.1 WebApp Framework.

Read about WebQuery for Visual DataFlex – Open Source Reporting


Visual DataFlex 17.0 AjaxWeb sample customer data

A Customer information maintenance application using web services to access the Visual DataFlex 17.0 AjaxWeb sample customer data.


Creating a Customer Location Map Javascript Example

Illustrates a way of creating a map that displays customer locations and key details, such as names and addresses with the ability to filter the map results to show only certain categories of customers…

Read about Creating a Customer Location Map with Javascript


VDF Ajax JSON Interface Example

An example intended to demonstrate how you can interact with the Visual DataFlex (VDF) Ajax interface using JSON as the communication protocol…

Read about the VDF Ajax JSON Interface Example


Image attribution Business vector created by macrovector_official – www.freepik.com