Dear All,

I am using delphi2010 in windows7 (32bit), currently i have installed D2010 in win7(64 bit) and i have installed all the files and components from the previous project, but the problem is, it shows an error in line :

query1.ParamByName('lastname').Asstring = 'name'

it cannot accept (AsString) if i replace AsString with AnsiString then it works, but i don't know why it does not take AsString , as i am already working with the similar code and similar vresion of Delphi.

could anybody give me some suggestion please ?