Search found 5818 matches

by davidc
Thu Jan 07, 2010 1:20 am
Forum: PrimalForms
Topic: Error Trapping
Replies: 1
Views: 760

Error Trapping

Refer to the following post:

www.sapien.com/forums/viewtopic.php?f=13&t=1280

You can use the same variable mentioned in the post to output the text.

If you create the package with the latest version of PrimalForms (v1.1.3) you will no longer get message pop-ups.




David
by davidc
Tue Jan 05, 2010 2:50 am
Forum: PrimalForms
Topic: Save Console Output of a packaged Script to File?
Replies: 2
Views: 1203

Save Console Output of a packaged Script to File?

Sorry for the delay in the reply, I was out on holiday. There is no automatic method for saving the output of the console, but the packager does contain a special variable that could be used to output console data to a file: $ConsoleOutput (Type: System.Collections.ArrayList) You could access this v...
by davidc
Mon Dec 21, 2009 9:14 am
Forum: PrimalForms
Topic: Including external files when packaging form
Replies: 1
Views: 1156

Including external files when packaging form

Currently PrimalForms does not allow you to package external files. For expanded packaging options you could export your form script and use PrimalScript's Packager.

David
by davidc
Wed Dec 16, 2009 6:30 am
Forum: PrimalForms
Topic: Primal Form and Database driven datagrids
Replies: 3
Views: 1601

Primal Form and Database driven datagrids

The objects you create in the OnApplicationLoad function are never called because the function exits (on the return $true line) before it can reach these lines. In addition, when you create objects in the OnApplicationLoad function, you will have to declare them in the script scope otherwise they wi...
by davidc
Mon Dec 14, 2009 2:01 am
Forum: PrimalForms
Topic: Primal Form and Database driven datagrids
Replies: 3
Views: 1601

Primal Form and Database driven datagrids

We don't have any Database examples, but we will add it to our list. Chad has a blog on how to access a database and load the data into a grid on this blog: http://chadwickmiller.spaces.live.com/blog/cns!EA42395138308430!493.entry If you use ODBC you will need to replace the SQL objects with the ODB...
by davidc
Tue Dec 08, 2009 1:17 am
Forum: Customer Service
Topic: Read-Host parameter -assecurestring ignored
Replies: 8
Views: 4355

Read-Host parameter -assecurestring ignored

We are looking into this issue.

Thank you,

David
by davidc
Mon Dec 07, 2009 7:55 am
Forum: PrimalForms
Topic: Access Script
Replies: 6
Views: 2705

Access Script

A better alternative would be to use the Read-Host command, that way you needn't create a function to prompt for parameters.
David
by davidc
Mon Dec 07, 2009 2:39 am
Forum: Customer Service
Topic: Primalforms 2009 1.1.0.0 Wrong Script packages
Replies: 14
Views: 7400

Primalforms 2009 1.1.0.0 Wrong Script packages

The command line option only displays the output and does not accept input.

Creating a function is the best course of action in this instance. We will continue to investigate and determine if there is a possible solution to this issue.

David
by davidc
Mon Dec 07, 2009 2:31 am
Forum: PrimalForms
Topic: Access Script
Replies: 6
Views: 2705

Access Script

I recommend creating a function with the params you need and calling it from the OnLoadForm Event (double click on Form in designer) and store the results into (script scope) variables.

As for the multiple forms, it
by davidc
Fri Dec 04, 2009 8:56 am
Forum: Customer Service
Topic: Primalforms 2009 1.1.0.0 Wrong Script packages
Replies: 14
Views: 7400

Primalforms 2009 1.1.0.0 Wrong Script packages

I packaged the sample you provided in your original post (pf_test.ps1) using the default settings. Please zip and email the compiled package along with the original script to support@sapien.com. Be sure to specify any settings you used to create the executable. Once we have the files, we can examine...