Called table FORM printing

R. Murphey remurphey at steadfastbridge.com
Thu Dec 16 11:16:35 PST 2004


Kenneth Brody wrote:
> Quoting "R. Murphey" <remurphey at steadfastbridge.com>:
> 
> 
>>5.0.09DN9   Native Windows
> 
> [...]
> 
>>The problem is that when I use the form command at the end of my called
>>table, nothing prints.
>>
>>I thought that the problem might be because the current working
>>directory was incorrect, so I changed back to the filePro directory of
>>the file I was in. This also didn't work.
> 
> 
> FYI - the current directory is irrelevent here, as filePro doesn't
> care what diretory you are sitting in.  It knows where to find the
> pieces of the filePro files.
> 
> [...]
> 
>>        Then: declare fName(32), frmName(32)
> 
> [...]
> 
>>        Then: form frmName
> 
> [...]
> 
> Either get rid of the 32-character fixed length for frmName, or make
> sure you strip trailing spaces from it at the FORM command:
> 
>     declare fName, frmName
> 
> and/or
> 
>     form frmName { ""
> 

      form frmName { ""

does the trick, with or without the 32-character definitions.

But even if I get rid of the 32-character fixed lengths, I still have to 
strip trailing spaces from either the above command or this one:

      frmName = frm(2) { ""

Anyway, it's working now.

Thanks!



More information about the Filepro-list mailing list