Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data type is invalid for this property.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00793523
Message ID:
00793594
Vues:
19
In the form's load method:
IF TYPE('m.pcCurrentHall')="U"
	PUBLIC m.pcCurrentHall
        m.pcCurrentHall=" " && or whatever value you want it to have
ENDIF
* You can also limit it for development mode only by using:
IF SET('DEVELOPMENT')="ON"
    m.pcCurrentHall=" "
ENDIF
>Thanks for the tip. It didnt work though. It gave them the same error right when I hit enter to add the space.
>
>>I *think* I've read that if you put a space before the equal-sign, the error message will go away.
>>
>>good luck
>>
>>>So I got VFP 8 (finnaly). When I open some of my forms now I get this error:
>>>
>>>"Data type is invalid for this property."
>>>
>>>I click "OK" and the form load/runs fine. I figured out that its because I reference a variable in the form caption property. It equals something like, = 'Resident Information - ' + m.pcCurrentHall. Now if I dont have m.pcCurrentHall delclared it gives me an error, and if its declared its fine. It never did this in VFP 7. My questions is, can I get VFP to stop giving me an error everytime I open the form in the form designer?
>>>
>>>Cheers,
>>>Eric
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform