>>>>>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