Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Codebook Question: lnRetVal
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00060900
Message ID:
00060988
Views:
31
>Anyone else here fairly familiar with Codebook? I've been gettin some strange errors in some of my business objects Requery methods. Somewhere along the way lnRetVal, which should be 0 or 1, is getting changed to a .T. So, once it is compared with REQUERY_SUCCESS (which is equal to 1) I get a "Data type mismatch" error. I've tried stepping throught the code but where it is being changed eludes me.
>
>This is probably a long shot, but has anyone else seen this?
>Heh, I would post this on the Ed Leafe's Codebook web site, but it's been down for two days.

he must be getting .T. instead of 0 or 1....
if this follows std naming convention, it should be defined locally. just make sure it's set to 0 or 1 after it is declared.
Previous
Reply
Map
View

Click here to load this message in the networking platform