Yeah...made no sense for my specific purpose.
>Did you check
http://west-wind.com/weblog/posts/256.aspx ?
>
>>OK, for some reason this is tough for me.
>>
>>I have a table in SQL Server that stores paramters and the control source of those parameters.
>>
>>For one row, the column name is ReportParmValue and it contains "GridView1.SelectedValue". This is represented in the code as
>>
>>Dim cRPV As String = dtResult.Rows(0).Item("ReportParmValue")
>>
>>cRPV will now contain "GridView1.SelectedValue".
>>
>>My problem is that I want the value of the form control GridView1.SelectedValue (which should be a string) and not the string "GridView1.SelectedValue".
>>
>>The VFP equivalent would be something like
>>
>>x = (cRPV) ..or.. x = EVALUATE(cRPV)
>>
>>Any ideas? Thanks.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05