This is an old thread, so:
Bad idea:
for each customer:
custNum = custNum + 10000.
end.
2019:
for each customer TABLE-SCAN:
custNum = custNum + 10000.
end.
Because I only need one of the fields, I created a table with only that particular field.
In your case you could do something like the following and then combine the tables.
DEFINE TEMP-TABLE Fare1 SERIALIZE-NAME "fare"
FIELD class AS CHARACTER EXTENT 3.
DEFINE DATASET dsFare1 FOR Fare1...
Im am pretty sure this is not possible (I had a similar issue). You can define the fields "class", "basefare" and "taxes" as EXTENT 3, but OpenEdge expects them to appear in the following order in the XML file:
<class>
<class>
<class>
<basefare>
<basefare>
<basefare>
<taxes>
<taxes>
<taxes>
Are you really sure that cpinternal is UTF-8?
You can verify that by running promon.
proenv> promon master
R&D
1. Status Displays ...
12. Startup Parameters
Format is the default width for displaying character fields. You can store as many characters (limited to something in the range of 31000) as you like.
This is a piece of code to get you started.
USING Progress.Json.ObjectModel.JsonArray.
USING Progress.Json.ObjectModel.JsonObject.
USING Progress.Json.ObjectModel.JsonDataType.
USING Progress.Json.ObjectModel.ObjectModelParser.
DEFINE VARIABLE JsonParser AS ObjectModelParser NO-UNDO.
DEFINE...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.