Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Copper Elite Contributor
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
Highlighted
Gold Super Contributor
Posts: 3,087
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 +1 603.369.3047 x101

".. Innovators in Mobility - Experts in Workflow Automation..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html
Copper Elite Contributor
Posts: 72
Registered: ‎04-01-2009

Re: Script to open another form

That was it. Thanks!
Gold Super Contributor
Posts: 3,087
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 +1 603.369.3047 x101

".. Innovators in Mobility - Experts in Workflow Automation..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html