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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Should be quick and easy

Status
Not open for further replies.

lashwarj

IS-IT--Management
Nov 1, 2000
1,067
US
Ok lets see I have two forms, the main one is pm_master and the second one is pm_approval.

From pm_master I want to click a command button that will open pm_approval where the id field (pm_id) match.

so I am looking for something in the refrence of DO FORM pm_approval where pm_master.pm_id = pm_approval.pm_id.

Any help would be appreciated.
 
- set form pm_approval as modal
- set in its unload metod RETURN my_value
- in form pm_master issue DO FORM command:
DO FORM pm_approval.scx TO My_Variable

after this in my_variable should be my_value (from pm_approval)

I hope it helps...

 
The my_vaule, what is that supposed to be andhow does it refer to the id filed pm_id
 
Oh I don't understood...
I wrote you how return value by form, and if I understan you ask for something reverse :)

so if you want send value from form A to B you should declare in click() method (in your button) variable next issue do form command and in form B change value of this variable. After close form B you can still read this variable...

I don't know it's exacly you want - my English is veeeery pooor...

But I want help if I can :)
 
I want to retrieve vaules that are equal from form a to b
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top