I created a custom portal page that has a simple data query of employees by fica-nbr. This page is called from a button on a custom form. Can I pass the fica-nbr from the form to run in the data query automatically?
You can pass values via the Portal Page ("LAWPAGE") URL, by appending them. For example: http://myserver.com/lawso...yinvoice&INVOICE=123
You can then reference the passed parameters via JavaScript from within the Portal Page, e.g.
var Invoice = page.parameters["INVOICE"];
Another idea would be to create a composite page in Design Studio, which combines the Portal Page with the custom form. If you look at this article (see https://www.lawsonguru.co...-All-Together.aspx), you will see a similar concept of a Portal Page combined with a customized form (athough it's backwards from what you're talking about).