View RSS Feed

Development Team Blog

  1. WebApp Framework Access Restriction

    The WebApp Framework comes with a prepared system for building proper secure Web Applications. By default there is the session manager that generates a unique key for each session and remembers the login state of this session and there are several hooks that allow the developer to easily implement access rules on view level. Now having this all in place it is just a matter of implementing the right hooks to restrict access to parts of the application based on the login state and user rights. But ...
  2. Migrating from 17.1 to 18.0: DataFlex Web Framework Structure Change

    If you are migrating a web application from Visual DataFlex 17.1 to DataFlex 18.0, you might need to take an extra step to get your application to successfully compile and run in the new revision.

    This is due to a change in the tWebRow structure used in DataFlex Web Framework.


    Background

    To understand the two main reasons for this change it is important to understand how this worked under 17.1.

    When the DataFlex web framework was developed, ...

    Updated 24-Apr-2014 at 10:03 AM by Dennis Piccioni

    Categories
    Uncategorized
  3. DataFlex Report Writer: Currency symbol not relying on Windows Locale

    If you use a numeric column in a report where the value requires a currency symbol (e.g. article price, order total) you can format the field to print a currency symbol before the number. In the following screenshot is the Euro symbol seen in front of the Credit Limit, the Purchases and the Balance.



    For this you format the field and on the Number tab-page you can choose between "Windows Default ...
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Default Currency.jpg 
Views:	1486 
Size:	63.2 KB 
ID:	7439   Click image for larger version. 

Name:	Double Currency.jpg 
Views:	246 
Size:	53.0 KB 
ID:	7440   Click image for larger version. 

Name:	Custom Mask.jpg 
Views:	261 
Size:	59.7 KB 
ID:	7441   Click image for larger version. 

Name:	create mask parameter.jpg 
Views:	239 
Size:	64.9 KB 
ID:	7442   Click image for larger version. 

Name:	currency mask function.jpg 
Views:	253 
Size:	103.8 KB 
ID:	7443  
  4. More test data please...

    This blog covers a little project I recently have been working on to create a larger and more diverse data set for the order entry workspace delivered as one of the examples. The set of data in the database delivered with version 17.1 was already increased and changed. This was mainly done to get a better set of data for the demonstration of Dynamic AI integration in a DataFlex application. The data in older versions of the workspace was a bit outdated and limited in size. While the increase was ...
    Attached Thumbnails Attached Files
  5. Configuring HTTP Compression for DataFlex WebApps

    A standard feature of the Internet Information Server is HTTP compression. This module is available to optimize the performance of web applications by compressing HTTP responses that are sent to the client. The goal is to decrease the size of the responses to allow faster network transmission. Of course this has the side effect that the CPU usage increases on the server (and on the client). So we are trading CPU usage against bandwidth here. This means that HTTP compression doesn't always make your ...

    Updated 17-Feb-2014 at 03:26 AM by Harm Wibier

    Categories
    Uncategorized
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	9 - Collection Editor Mime Types.png 
Views:	372 
Size:	46.5 KB 
ID:	7181   Click image for larger version. 

Name:	12 - FireBug Response Header.png 
Views:	180 
Size:	41.5 KB 
ID:	7446   Click image for larger version. 

Name:	11 - FireBug After Dynamic Compression.png 
Views:	176 
Size:	24.7 KB 
ID:	7447   Click image for larger version. 

Name:	10 - Enable Dynamic Compression.png 
Views:	187 
Size:	101.2 KB 
ID:	7448   Click image for larger version. 

Name:	8 - Configuration Editor Dynamic Types.png 
Views:	180 
Size:	110.9 KB 
ID:	7449   Click image for larger version. 

Name:	7 - Configuration Editor.png 
Views:	67 
Size:	109.4 KB 
ID:	7450   Click image for larger version. 

Name:	FireBug Disable Cache.png 
Views:	171 
Size:	8.7 KB 
ID:	7451   Click image for larger version. 

Name:	FireBug with Static Compression.png 
Views:	168 
Size:	27.3 KB 
ID:	7452   Click image for larger version. 

Name:	FireBug Before Static Compression.png 
Views:	180 
Size:	85.9 KB 
ID:	7453  

    Click image for larger version. 

Name:	Enabling Static Compression.png 
Views:	179 
Size:	104.2 KB 
ID:	7454   Click image for larger version. 

Name:	Compression In IIS.png 
Views:	179 
Size:	137.2 KB 
ID:	7455   Click image for larger version. 

Name:	Installing HTTP Compression.png 
Views:	196 
Size:	121.9 KB 
ID:	7456   Click image for larger version. 

Name:	Screenshot IIS Static Content.png 
Views:	125 
Size:	57.6 KB 
ID:	7457  
  6. How to make an XML file look 'nice'?

    This blog is about XML readability. Since 1999 DataFlex is capable to handle XML in and XML out via classes defined in the FleXML.pkg (cXMLDomDocument etc). One of the most heard remarks in support questions is how to make XML readable for the human being as Microsoft XML writes the XML data as one long line of text. While OK most developers want to be able to read the content in an editor. You can easily format the XML file with tools like Notepad++ but how to do this from your own code?
    ...
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	xml raw.png 
Views:	412 
Size:	3.7 KB 
ID:	7161   Click image for larger version. 

Name:	converted.png 
Views:	400 
Size:	7.5 KB 
ID:	7162   Click image for larger version. 

Name:	google translated.png 
Views:	443 
Size:	31.3 KB 
ID:	7163   Click image for larger version. 

Name:	converted pretty.png 
Views:	439 
Size:	6.4 KB 
ID:	7164  
  7. Interactive Report in Windows with Visual Report Writer

    Now we are on the edge of delivering the final Visual Report Writer 3.0 I want to learn you how you can make use of the new interactive previewer that is available in the product. In this blog we create a report that shows all orders that used the current selected INVT item. Clicking on an order should bring up the order view with the clicked order found and displayed. Using the INVT table means that you can use the order entry example workspace.

    The Report
    The report needs to ...
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Inventory Ordered Report.png 
Views:	345 
Size:	43.2 KB 
ID:	7061   Click image for larger version. 

Name:	select report.png 
Views:	319 
Size:	15.6 KB 
ID:	7062   Click image for larger version. 

Name:	object names.png 
Views:	316 
Size:	13.3 KB 
ID:	7063   Click image for larger version. 

Name:	remove filters.png 
Views:	308 
Size:	9.8 KB 
ID:	7064   Click image for larger version. 

Name:	sort fields.png 
Views:	311 
Size:	15.3 KB 
ID:	7065   Click image for larger version. 

Name:	options page.png 
Views:	311 
Size:	13.5 KB 
ID:	7066   Click image for larger version. 

Name:	add image resources.png 
Views:	312 
Size:	9.3 KB 
ID:	7067   Click image for larger version. 

Name:	options page 2.png 
Views:	297 
Size:	9.6 KB 
ID:	7068   Click image for larger version. 

Name:	enlarged inventory view.png 
Views:	324 
Size:	7.7 KB 
ID:	7069  

    Click image for larger version. 

Name:	invt view with report.png 
Views:	334 
Size:	20.4 KB 
ID:	7070  
  8. PowerStatus event

    At the Data Access forums I found a question if it was possible to respond when the computer enters the sleep modus. The topic draw my attention and I decided to play around a bit. In this blog you learn how to make respond code.

    Notification event
    Windows can send a notification message to your application when changes occur in the power status. To be able to receive the notification message the application needs to register itself for receiving these messages. This is done with ...
  9. How to use Windows API functions in Visual Report Writer

    by , 19-Jul-2013 at 04:37 PM (Development Team Blog)
    In this blog Iíll show you how to use Windows API functions in Visual Report Writer.
    We are using the function [B]PathFileExists[/B] exposed by the library Ď[B]Shlwapi.dll[/B] Ď

    Visual Report Writer uses the [B]VARIANT[/B] type to communicate with the External Library Functions (ELF). Because of this Windows APIís canít be called directly, doing so will stop the rendering of the reports as Visual Report Writer expects a variant type to return and direct calling might even crash ...
  10. How to make your own ELF

    by , 19-Jul-2013 at 04:33 PM (Development Team Blog)
    In this blog, i'll show you how to make a function number2words for use in Visual Report Writer. We are creating a dynamic link library (DLL) containing useful routines that can be used by Visual Report Writer. Using External Library Functions (ELF) is a great way to extend the functionality of Visual Report Writer.

    This walkthrough uses C and assumes you understand the fundamentals of the C language and Microsoft Visual Studio 2008.

    [B]This blog covers the following:[/B] ...
  11. Visual Report Writer and The Web (XIII)

    In this thirtheenth blog about Visual Report Writer and the Web I want to tell you how you can make a report that is interactive. A demo of a report that does this can be found at the Live Demo website (European Server, USA server). If this is the first blog you read I encourage you to read the twelve other blogs (1: The Solution, 2: Invoices Report, 3: The Cleanup, 4: The CustomerList, 5: The Orderlist, 6: The Credit and Balances Overview), 7: Inventory Stock Levels), 8: Sick Leave), 9: FileList (RDS)), ...
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	2013-07-11_063308.jpg 
Views:	200 
Size:	68.8 KB 
ID:	6611  
  12. Visual Report Writer and The Web (XII)

    In this twelfth blog about Visual Report Writer and the Web I want to take you some not really report related features that can be found at the Live Demo website (European Server, USA server). If this is the first blog you read I encourage you to read the eleven other blogs (1: The Solution, 2: Invoices Report, 3: The Cleanup, 4: The CustomerList, 5: The Orderlist, 6: The Credit and Balances Overview), 7: Inventory Stock Levels), 8: Sick Leave), 9: FileList (RDS)), 10: Four Wine Data Based Reports) ...
  13. Visual Report Writer and The Web (XI)

    In this eleventh blog about Visual Report Writer and the Web I want to take you to the last not yet discussed report that can be found at the Live Demo website (European Server, USA server) named top 10 sales persons. If this is the first blog you read I encourage you to read the ten other blogs (1: The Solution, 2: Invoices Report, 3: The Cleanup, 4: The CustomerList, 5: The Orderlist, 6: The Credit and Balances Overview), 7: Inventory Stock Levels), 8: Sick Leave), 9: FileList (RDS)) and 10: ...
  14. Visual Report Writer and The Web (X)

    In this tenth blog about Visual Report Writer and the Web I want to take you to the next four reports that can be found at the Live Demo website (European Server, USA server) grouped under Wines. If this is the first blog you read I encourage you to read the nine other blogs (1: The Solution, 2: Invoices Report, 3: The Cleanup, 4: The CustomerList, 5: The Orderlist, 6: The Credit and Balances Overview), 7: Inventory Stock Levels), 8: Sick Leave) and 9: FileList (RDS)). Meanwhile we have been able ...
  15. Visual Report Writer and The Web (IX)

    In this ninth blog about Visual Report Writer and the Web I want to take you to the next report that can be found at the Live Demo website (European Server, USA server) named FileList (RDS). If this is the first blog you read I encourage you to read the eight other blogs (1: The Solution, 2: Invoices Report, 3: The Cleanup, 4: The CustomerList, 5: The Orderlist, 6: The Credit and Balances Overview), 7: Inventory Stock Levels) and 8: Sick Leave). Meanwhile we have been able to release the Alpha II version of Visual Report Writer 3.0 ...
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	2013-06-02_082810.jpg 
Views:	164 
Size:	56.1 KB 
ID:	6502  
  16. Visual Report Writer and The Web (VIII)

    In this eighth blog about Visual Report Writer and the Web I want to take you to the next report that can be found at the Live Demo website (European Server, USA server) named Sick Leave. If this is the first blog you read I encourage you to read the seven other blogs (1: The Solution, 2: Invoices Report, 3: The Cleanup, 4: The CustomerList, 5: The Orderlist, 6: The Credit and Balances Overview) and 7: Inventory Stock Levels). Between the fourth and the fifth blog we have been able to release the ...
  17. Visual Report Writer and The Web (VII)

    In this seventh blog about Visual Report Writer and the Web we look at the next report that is available on the Live Demo website (European Server, USA server) named Inventory Stock Levels. If this is the first blog you read I encourage you to read the six other blogs (1: The Solution, 2: Invoices Report, 3: The Cleanup, 4: The CustomerList, 5: The Orderlist and 6: The Credit and Balances Overview). Between the fourth and the fifth blog we have been able to release the Alpha I version of Visual Report Writer 3.0 ...
  18. Visual Report Writer and The Web (VI)

    Blog number six in this category about Visual Report Writer and the web integration. I will talk about the next report that you can find on the Live Demo website (European Server, USA server) named Credit and Balances Overview. If this is the first blog you read I encourage you to read the five other blogs (1: The Solution, 2: Invoices Report, 3: The Cleanup, 4: The CustomerList and 5: The OrderList). Between the fourth and the fifth blog we have been able to release the Alpha I version of Visual Report Writer 3.0 ...
  19. Visual Report Writer and The Web (V)

    In this fifth blog about Visual Report and The Web I will talk about the next report that you can find on the Live Demo website (European Server, USA server) named OrderList. If this is the first blog you read I encourage you to read the four other blogs (1: The Solution, 2: Invoices Report, 3: The Cleanup and 4: The CustomerList). Between the fourth blog and this one we have been able to release the Alpha I version of Visual Report Writer 3.0 and the 2.1+ Library only setup. The latter one is needed ...
  20. Visual Report Writer and The Web (IV)

    In this fourth blog the Customer List is the topic. Ehh, a customer list, isn't that too simple for a demo and a blog? Yes and no. A customer list running on the Web Order Customer table is in fact a simple report but as you discover below we have added a couple of features to make the report and integration more attractive. To see the here discussed report in action you should navigate to the live demo website (European Server, USA server). You are also advised to read the three previous blogs ...
Page 1 of 8 1234 ... LastLast