Microsoft Dynamics Forums Homepage

Forum Home Forum Home > Microsoft Dynamics SL (Solomon) > SL - Customization and Integration
  New Posts New Posts RSS Feed - Customize Screen with Button
  FAQ FAQ  Forum Search   Register Register  Login Login


Customize Screen with Button

 Post Reply Post Reply
Author
Message
sbooth71 View Drop Down
MicrosoftDynamicsForums.com Member
MicrosoftDynamicsForums.com Member


Joined: October 11 2016
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote sbooth71 Quote  Post ReplyReply Direct Link To This Post Topic: Customize Screen with Button
    Posted: October 11 2016 at 9:49am
I am customizing the Shippers screen.  I have added a button to print a custom report.  The code I used is:

Private Sub Warranty_Click()
 Dim shipperid As String
 Dim Parmstr As String
 shipperid = Trim$(GetObjectValue("cshipperid_0"))
 Parmstr = "ROI.EXE" + PRMSEP + "WACTS00/RUN" + PRMSEP + "WACTS/FORMAT" + PRMSEP + "soshipheader.shipperid =" + SParm(shipperid) + "/WHERE" + PRMSEP + "/PSCRN"
 serr1 = Launch(Parmstr, True, True, 0)
End Sub

It compiled correctly.  I don't get any errors when I click on it, but the report does not pull up.  The hour glass blinks, but that is all.  Any ideas?
Back to Top
Sponsored Links


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down


Copyright 2013 microsoftdynamicsforums.com. All rights reserved. MicrosoftDynamicsForums.com is an independent non-Microsoft website.
Email: contact AT microsoftdynamicsforums DOT com