Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine if controlsource is a field or a variable/prop
Message
 
À
11/12/2001 11:42:21
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00592686
Message ID:
00592732
Vues:
24
>>>>Is there a way to determine if a controlsource was a table field or a property - variable?
>>>>
>>>>I need to know this to assign a new value to the controlsource of an object programmatically. I have added the "controlsource" property to a container and i need a way to reassing a value to this controlsource.
>>>>
>>>>Fields use the REPLACE command and properties/variables use the "=" assignation.
>>>>
>>>>Any clue?
>>>
>>>fsize() would return 0 for non table ones.
>>>Cetin
>>
>>That can help, but it return 0 also if the table name was included.
>>
>>And, if i remove what is before the dot, it can lead to trouble.
>>ie: tablename.charfield and thisform.charfield
>>
>>I expect a way to test it without parsing the string.
>>
>>Any idea?
>
>W/o parsing I don't know.
>Cetin

Thanks anyway...

I expect that there can be a simple way to do it.
How fox do this?
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform