Form command ?

Jeff Harrison jeffaharrison at yahoo.com
Fri Nov 26 12:50:10 PST 2004


--- 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. 



	
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail


More information about the Filepro-list mailing list