Structs in DataFlex can created simple. As example:
It’s simple. Right? But what if you have to create a structure for a table with many columns? DataFlex incorporate a Query Tester that allows to script SQL queries like in Microsoft SQL Server Management Studio and generates the Struct automatically.
First open the Query Tester.
Write the SQL query for a requested table.
Then press Struct generator that creates the follow: