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

VBA - passing order number to another form

Status
Not open for further replies.

kbieber

MIS
Aug 14, 2000
118
US
Is there a way to pass the order number from SFSOADD(shop floor order entry) to SFORDREL(the printing subwindow for shop floor order entry). I would like to allow the user the choice to print a Crystal shop order instead of the Macola version. In VBA, the 2 screens are considered 2 different projects. And the SFORDREL does not show the order number as an available object.

As always, thanks for any ideas....
 
Hello kbieber:
Can you set a reference to the SFSOADD project in the Tools menu\references option when in the VBA editor?
I use this to transfer data from an order entry project (OE0101) to an order entry comment screen (OECMTMNT). Once the reference is set to the other project, its objects are exposed to the current project. There was an article about this in the MACOLA customer support Web site Infomine, and that is where I learned about it.
If you need further details, let me know.
jerzy
 
Thank you. It works as advertised. I thought I had tried this solution before, but obviously not.

KB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top