3aa Subj : Compile error for C++ builder 3 project in Builder 6.0 To : borland.public.cpp.borlandcpp From : muyicui@yahoo.com (mui) Date : Fri Oct 03 2003 10:35 am We are trying to move a C++ builder 3.0 project into vuilder 6.0. We got the following error: --------------------- Code ------------------------------------------ lValue = m_poTQuery->Fields[iField]->AsInteger; // iField is an integer with values range from 0 to n (last field in the query statement). --------------------- end of code ------------------------------------ --------------------- compile error ----------------------------------------- [C++ Error] TDDBFile.cpp(653): E2288 Pointer to structure required on left side of -> or ->* --------------------- end of error message ------------------------- Do we have to use "ParamByName" property instead of the field by its sequence number? Any help is geatly appreciated, Mui . 0