Nothing jumps out at me. Here is an idea to try. First make sure that backups are made. Copy one of the working report and call it x Strip X of every data field Call X instead of one new reports, does that work? If it works copy via cut and paste from the new report into X does X still work? rename X to the name you wanted.
( Good chance I will not able to respond for a while, enjoying the long weekend )
Anthony
----- Original Message ----- From: "James Roark" <jrroark /AT/ comcast .D.OT net>
> I have a really bad situation that I have fighting for over a week: > VFP6/sr5 nonGUI app that gets data from a SQL server, formats and prints a > report to a file. > Set up as a exe that will run on a robot server (CA Unicenter). > The first version is running fine every day - prints out three reports to > files then files are sent to appropriate printers. > This version adds two reports to the original app (also written by me). > I can get the reports file to print while running within Fox but running on > desktop will not print reports. > App will write a log file and the remote messaging shows a file being > written but no physical file. I have questioned the usual suspects: REPORT > FORM BNANORESP TO FILE (CFILENAME) NOCONSOLE > Cleared the memo fields on the reports, Set print to default ETC. > BTW = cfilename is format > cfilename="\serversharefoldernaronresp20030824.prn" > Older app runs OK but I cant get this one to fire a file. no errors no > messages no indication of any failures at all. > Note: older app writes file to default folder - so nopathing is involved. > The logfile writes Ok to same path. > cString = "log message' > cfile = "\serversharefolderlogfile.txt" > Strtofile(cString, cfile, .t.) > I know I have overlooked something obvious but we just can't seem to fine > what. > Remember - this does work running the exe from the command line but does not > work when clicking the exe in a test (empty) folder. > TIA > Jim Roark, Dallas Foxil
©2003 Anthony L. Testi |