Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data type is invalid for this property.
Message
De
28/05/2003 11:35:40
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00793523
Message ID:
00793546
Vues:
22
At runtime how do you get m.pcCurrentHall value. However you do it do it say in form.init and assign caption (might be a passed parameter).
m.pcCurrentHall sounded like a public variable to me and I never suggest to use public vars in VFP.
Cetin


>Why do you think it is a bad idea? What do you suggest in replacement?
>
>
>
>>>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
>>
>>Eric,
>>I think having such a caption is not a good idea. Anyway in command window execute :
>>m.pcCurrentHall = ''
>>Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform