Sage SalesLogix
  • Contact Us
  • Sage North America
800-643-6400
Welcome Twitter Facebook LinkedIn
Community Home Blogs Share Ideas Search Request Access Resources
Reply
Copper Elite Contributor
SLX_User
Posts: 72
Registered: 04-01-2009
Accepted Solution

Script to open another form

[ Edited ]

Hi all.

 

I have a form that displays a chart, I added a button that when clicked it's supposed to open another form "C_myForm" (created it as a Data Form in the architect) that is made up of a datagrid, but it's not working. When I click the button nothing happens.

 

Below is the script I used: Application.BasicFunctions.DoInvoke "Form", "Personal: C_myForm"

 

The table for C_myForm is a custom table.

 

Thank you in advance!

 

SLX LAN v7.2.1

Message Edited by SLX_User on 07-29-2009 03:02 PM
Please use plain text.
Gold Super Contributor
RJLedger
Posts: 2,234
Registered: 03-19-2009

Re: Script to open another form

A "data Form" has to be launched against a specific PK since it's a "bound form" to a particular table.

 

In this case it sounds like you want to be using a Manage Form.  

--
RJ Ledger - rjledger@rjlSystems.net

".. Stay Focused..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html
Please use plain text.
Copper Elite Contributor
SLX_User
Posts: 72
Registered: 04-01-2009

Re: Script to open another form

That was it. Thanks!
Please use plain text.
Gold Super Contributor
RJLedger
Posts: 2,234
Registered: 03-19-2009

Re: Script to open another form

Welcome!

 

It's an easy thing to slip up on. 

--
RJ Ledger - rjledger@rjlSystems.net

".. Stay Focused..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html
Please use plain text.