Eco + Enumerated Types
From: Kevin (kevinbe71_at_y_a_h_o_o.c_o_m)
Date: 03/30/04
- Next message: Michael Rodriguez: "Re: dbGO for .NET (aka ADOExpress) - don't hold your breath"
- Previous message: Nick Hodges (TeamB): "Re: .NET book recommendations"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Mar 2004 09:01:25 -0600
I posted this to b.p.d.m.eco (3/26/2004 subject "Enumerated Types") but
no-one has replied yet so I thought I'd try posting it here...
>>>>
Hi,
I've only been working with Delphi 8 and ECO for an hour or so, so I'm a
complete newbie! I'm sure this is pretty easily dealt with...
I tried designing a class with a property that was an enumerated type:
TSomeType = (stNone, stValue1, stValue2);
I then included this in one of my classes and tried a "Tutorial 1" type
app (i.e. a simple data grid with all columns displayed for the class).
When I tried to insert a record I received this error:
System.FormatException
"Input string was not in a correct format."
How are you meant to deal with enumerated types?? I assume that some
kind of conversion is necessary so that the data can be represented in
the grid. How do you do this with ECO?
Thanks,
Kevin.
- Next message: Michael Rodriguez: "Re: dbGO for .NET (aka ADOExpress) - don't hold your breath"
- Previous message: Nick Hodges (TeamB): "Re: .NET book recommendations"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|