Chris,
You can try compiling your database. This should force it to read appincl.h when it recompiles your stored procedures.
Hope that helps,
---J
>My project recently stopped recognizing the DB_SRCLOCALVIEW definition used in the NewID() stored procedure.
>
>It started after I ran GENDBC, snipped out the view creation code and ran that as its own .PRG to recreate all my views. None of the views call NewID() directly, only the base tables.
>
>The stored procedure file, the form class, and the business object that called for NewID() all appear to have the proper #include files attached. I inserted a ? DB_SRCLOCALVIEW in Main.PRG, and it worked correctly(printed 1).
>Running VFPClean.APP, deleting FoxUser, or Validating the Database didn't help.
>
>How can I get the #include files properly substituting again?
>
>Chris.