-
FlexPro
- Auf einen Blick
- Features & Optionen
- Einsatzgebiete
- Alle Vorteile
- Neu in FlexPro 2021
- FlexPro gratis testen
- FlexPro View OEM Freeware
- Kaufberatung
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
- Produkte
- News
- Support
- Unternehmen
- Jobs
- Kontakt
- Login
- Language
- +49 6894 929600
- infoweisang.com
- Google Maps
Converting DataType return values to verbose message for user
- Dieses Thema hat 1 Antwort sowie 2 Teilnehmer und wurde zuletzt vor vor 6 Jahren, 4 Monaten von Bernhard Kantz aktualisiert.
-
AutorBeiträge
-
April 6, 2018 um 12:36 am Uhr #20610Michael OvereemTeilnehmer
I tried using DataType to query dataset in FP Version 9.1.10. The return value is an integer value. Is there a way to test this value and use it with ChangeDataType operator to convert various Calendar Time, Time Span, and String-based X-values, from different data sources, to a common data type (for instance, Time Span)? I was also curious if there is a list of the return values (integers) from DataType operator that lines up with the help file listings of the different types of data. For example, 1234S is a DataType value=1; 1234L is DataType value=8. I attempted to use these values in the ChangeDataType operator, but only the only dropdown menu options that pop up are the ‘verbose’ values – e.g. TYPE_TIMESPAN, TYPE_FLOATINGPOINT64, etc.).
Unfortunately, I have no file example to provide at this time.
April 16, 2018 um 10:30 am Uhr #20668Bernhard KantzTeilnehmerThe results of the DataType() FPScript function is indeed an integer value and can be compared to the named constants listed in the Online Help entry for DataType() or ChangeDataType(). E.g. TYPE_FLOATINGPOINT32 is a convenient expression for the integer value 4. One can use the outcome of the DataType() function directly in ChangeDataType() to adjust the data type to that of another expression.
-
AutorBeiträge
- Du musst angemeldet sein, um auf dieses Thema antworten zu können.