Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parameters on a form with page frames?

Status
Not open for further replies.

EMJULIAN

Programmer
Aug 14, 2002
45
US
Is there a trick to passing parameters to a form with page frames? I put the "Parameters ICALLED" into the INIT of the form, but it never seems to get there.

TIA
Eve
 
Hi EVE

There is no such trick or anything different. A form is a form. I am using a lot with or without pageframes.

But are you passing the poarameters and then referring it within pageframe with the parameter name? The parameters are received in the init of the form and then they loose the focus outside of the init of form.

So in the init of form..

PARAMETERS tcVar

IF PCOUNT() > 0
ThisForm.cVar = tcVar
ELSE
ThisForm.cVar = ''
ENDIF

Then you can refernec ThisForm.cVar anywhere in your form.

:)

____________________________________________
ramani - (Subramanian.G) :)
 
Aha. Oops! :) I've used parameters before, you'd think I could remember how they work.

Thanks for the brain un-clog!
Eve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top