>>Would it also be possible if the string is a command?
>>
>>In VFP:
>>cSelect = "Select * From mytable"
>>&cSelect
>>
>>or
>>
>>cReplace = "Replace "+ctable+".field1 With "+cvariable+" For field2 = " + Str(nNo)
>>&cReplace
>
>That is what I am looking for in VB6 the "&Variable" which is in VFP.
>I think it is not supported in VB6. Any other advise? Thanks.
As Alvin said, this isn't supported.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com