I.T. Discussion Community!
-Collapse +Expand
Paradox
Search Paradox Group:

Advanced
-Collapse +Expand Paradox To/From
To/FromCODEGuides
-Collapse +Expand Paradox Store
PRESTWOODSTORE

Prestwood eMagazine

May Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyCorel Paradox / ObjectPAL Coding BoardParadox Forms Topic   Print This     

Problem using Readprofilestring in calculated fld

Problem using Readprofilestring in calculated fld in Paradox Forms topic (part of our Corel Paradox / ObjectPAL Coding group).

Quick Search: Problem   Readprofilestring   calculated   Problem using   Problem using Readprofilestring   calculated fld  
Most Recent Post
Sam.S
North Hartland, VT USA

Over the past year I have been migrating from Paradox 7.5 to Paradox 11.

I am finding that in Paradox 11 I am having trouble using readprofilestring calls as the Calculated value of a field definition.  After Definiing the value, when I try to run the form(or report) I get a general protection error and often the session is currupted and I have to leave (or Ctrlaltdlt) paradox and go back to a previously saved version.  It seems like I can use one profilestring definition in a form, but a second will cause the curruption.

I just did a test, and a profile string statement that works when I set it in Pdox75, but it causes the above problem when I try to set it in PDOX11.  And the PDOX7 created form will run in PDOX11.

But if I edit the the field definition and try to run the form in PDOX 11, it curupts the session.

Has anyone else run into this?  Any Comments?

Here is a readprofilestring statement that can be used in PDOX75, run in PDOX11 but not edited in PDOX11:

ReadProfileString(GetaliasPath(":Priv:")+"\\_OnTime.INI", "Report", "Title")

You want coffee?  I could write a paradox app for that...

 Posted 7 years ago (Thread Starter)
Comment Quote
About Sam.S -Collapse +Expand
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
About Sam.S

You want coffee?  I could write a paradox app for that...


Post ID #14901, No Replies Be the first!
Thread Started 9/7/2012 11:29:27 AM
View Counter=1991
Location=North Hartland, VT USA 
Joined=9 years ago   MB Posts=40  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1246A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #14901 Counter
1991
Since 9/7/2012
Follow PrestwoodBoards on: 


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech