Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine if controlsource is a field or a variable/prop
Message
De
11/12/2001 11:48:51
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:
00592736
Vues:
26
>>>>>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?

I think it parses.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform