Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data type is invalid for this property.
Message
 
À
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:
00793551
Vues:
39
It is a public variable. I could pass it into all the forms but how would I get it into reports? (I use it there to in the headers.) So, I just figured it would be eaiser on me to keep it public and let all my forms reference it too.


>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform