Vtable.FieldCount problem was: Illegal Cast Exception
Ruslan Zasukhin
ruslan_zasukhin at valentina-db.com
Sat Oct 17 09:41:51 CDT 2009
On 10/17/09 3:36 PM, "Steve Albin" <steve at steve-albin.com> wrote:
Hi Steve,
> Yes, I agree that some of my code is poorly written. Some of it
> goes back to Valentina 1. I am updating my code to improve it
> as I go along. But this isn't the problem I have now. In my
> follow up email, I mentioned that the problem was the result of
> an incorrect result returned by VTable.FieldCount. What about that?
>
> My project worked fine using V4RB 4.1. I changed nothing but
> installed V4RB 4.3 and rebuilt the project. Why would
> FieldCount work in 4.1 and not in 4.3? I see nothing in release
> notes mentioning a change to FieldCount.
Yes, no changes here ... Simplest kind property ...
> I will create a small project and submit to Mantis.
Ok, because all our tests go fine.
Your db diagnose is fine?
Vstudio show all fields?
Also I wonder, you say you use cursor and SELECT,
Then why you also use Vtable.FieldCount?
If you use SQL, then more correct is to use Vcursor.FieldCount()
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina
mailing list