Form command ?

Howie howiewz at beonthenet.com
Fri Nov 26 20:40:22 PST 2004


----- Original Message ----- 
From: "Jeff Harrison" <jeffaharrison at yahoo.com>
To: "Howie" <howiewz at beonthenet.com>; <filepro-list at celestial.com>
Sent: Friday, November 26, 2004 3:50 PM
Subject: Re: Form command ?


| 
| --- Howie <howiewz at beonthenet.com> wrote:
| 
| > Filepro 5.0.13R4 SCO UNIX
| > 
| > We are having trouble assigning a form name to a
| > variable and using it in
| > the form command.
| > 
| > i.e.:
| > 
| > fn="check"
| > form fn
| >  or
| > form (fn)
| > 
| > It also fails for declared variables:
| > 
| > declare formname(20)
| > formname="check"
| > form formname
| > 
| > and it fails with lookup fields too.
| > 
| > form lookupname(20)
| > 
| > We get no error message just no output.
| > 
| > Does anyone know if this is correct behavior?
| > 
| > Howie
| > 
| > 
| 
| I have had success with:
| 
| fn="check"
| form (fn{"")
| 
| I have seen the behavior you describe when no output
| format exists with the name that is specified in the
| variable.  For example, in this case if there were no
| "check" format in the current file.
| 
| Jeff Harrison
| jeffaharrison at yahoo.com
| 
| Author of JHImport and JHExport. The fastest and
| easiest way to create code for filePro Imports and
| Exports. 
| 

That did it - eliminating the extra spaces at the end of the form name.

Thats to all

Howie
 




More information about the Filepro-list mailing list