Beginner DataFlex errors everyone makes
This is a collection of common errors we have come across that might stump beginners and new developers we are onboarding. We will continue adding them as new ones are found.
74 - Entry does not exist in Filelist. Table = (<Tablenumber>)
Error: 74 Error Source = Flexdrvr.Open
This is usually caused by an entry to the table is missing in the Filelist. Open the filelist and confirm there is an entry.
75 - Can't open table. Table = <TABLENAME> (<TABLENUMBER>)
Error 75 Error Source = Flexdrvr.Open
This is usually caused by
When SQL
- INT file missing
- Check the path for your data directory in
Config.ws
and ensure it's there.
- Check the path for your data directory in
- Database table is missing
- Check your table exists in the database.
- Check that the filelist is pointing to an INT file correctly
When embedded
- DAT file missing
- Check the path for your data directory in
Config.ws
and ensure it's there
72 - Table not open Tablenumber = <TABLENUMBER>
Error: 72 Error Source = API.Get_Attribute
This is usually caused by
- Using a table before it has been opened.
- If using data dictionaries, ensure all open statements are at the top of the data dictionary that the Data Dictionary may use.
Open <TABLE>
This method was previously defined as overloaded
- This happens when a method is defined as a different way
- In our case, it was
String msg
msg_
is for procedures, likeget_
is for functions- This causes a conflict
- Change to
_msg
- No more issues
Illegal code placement Could not refind the original name in struct(-sub) definition.
The problem was
struct tAStruct
Real capital
End_Struct
Capital is reserved, but needed for JSON. Since our JSON needs it so, we can add the meta-name value ot set it.
And the fix was
struct tAStruct
{ Name=capital }
Real _capital
End_Struct