1.在编一桌面数据库软件,有一语句如下:
   if not locate('SNo',VarArrayof([SpinEdit1.text]),[LopartialKey]) then
    begin
     .....
     .....
在编译时出错信息如下:
[Error] DataUpdateUnit.pas(62): Undeclared identifier: 'LopartialKey'
[Error] DataUpdateUnit.pas(62): Incompatible types: 'TLocateOption' and 'Integer'
请问如何解决???
2.有一工程文件,现有几个单独的.pas文件,想加到该工程文件中,使当打开工程文件后这几个文件都自动打开了,当编译工程文件时,都自动编译。
  如何操作??