PRB: APPEND PROCEDURES Command Generates a Warning (135907)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
This article was previously published under Q135907 SYMPTOMS
Using the APPEND PROCEDURES command to add more procedures to a database's
Stored Procedures may generate a Warning:
WARNING: The Procedures contain compile errors.
Would you like to add them anyway?
CAUSE
This happens when the last line in the Stored Procedure file is missing a
carriage return or the appending text file doesn't start with a carriage
return. As a result, two lines are combined into one, which generates a
warning message.
RESOLUTION
Make sure a carriage return is at the end of the Stored Procedures and that
the appending file starts with a carriage return. For example, use this
code:
procfile = '_'+SUBSTR((SYS(3),1,7)+".TXT"
fchnl = FCREATE((procfile))
=FPUTS(fchnl,"")
=FCLOSE(fchnl)
COPY PROCEDURES TO (procfile) ADDITIVE
STATUS
This behavior is by design.
| Modification Type: | Major | Last Reviewed: | 2/15/2000 |
|---|
| Keywords: | KB135907 kbAudDeveloper |
|---|
|