1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 <2006> 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 <2006> 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: ezca and ENUM |
From: | "D. Peter Siddons" <[email protected]> |
To: | Andrew Johnson <[email protected]> |
Cc: | [email protected] |
Date: | Thu, 24 Aug 2006 11:24:20 -0400 |
D. Peter Siddons wrote:I noticed that the ezca library does not recognize ENUM as a valid data type. One can work around that by telling it to use a SHORT instead. If
Would it help to use string data for doing I/O to DBF_ENUM fields? That way you don't need to know the exact ENUM definition (which could change at runtime even for mbbx.VAL fields); your code just uses the strings for the states that you need to use, and the IOC does the necessary conversions automatically.
Just an idea,
- Andrew