-Collapse +Expand
Paradox
Search Paradox Group:

Advanced
Paradox To/From
To/FromCODEGuides
Paradox Store
PRESTWOODSTORE

Prestwood eMagazine

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

   ► MB LobbyCorel Paradox / ObjectPAL Coding BoardParadox Tables Topic   Print This    All Groups  

ANSWER.DB and Windows 10

ANSWER.DB and Windows 10 in Paradox Tables topic (part of our Corel Paradox / ObjectPAL Coding group).

Quick Search: Windows   ANSWER DB   ANSWER DB Windows  
fullnet
FullNet
-- USA

We had to update to Windows 10 which required us to update from Paradox 8 to Paradox 11. There are a number of issues that seem to have surfaced. I am new to Paradox but understand programming. I have 2 questions at this point.

1) The program is unable to dynamically create the Answer.db from a query. The following query will only populate the Answer.DB table. It will not create it. From what I understand, when executing a query that stores it in the Answer.DB, it will recreate the Answer.db table. What am I missing?

qq=Query
ANSWER: :PRIV:ANSWER.DB

Invoice Line Items.DB | Invoice # | Type | Billing Attorney |
| | | |
| _join1 | _join2 | _join3 |

Invoice Line Items.DB | Payments |
| changeto 0 |
| changeto _paid |

:PRIV:Payment Summary by Line Item.DB | Invoice # | Type |
| _join1 | _join2 |

:PRIV:Payment Summary by Line Item.DB | Billing Attorney |
| _join3 |

:PRIV:Payment Summary by Line Item.DB | Previously Paid |
| _paid |

EndQuery

2) In Paradox 8 it would ask the user to validate the table structure and produce the necessary info. Now, if will work that once but fails to work after that. It generates a .val file and keeps the table from being updated. If I delete the .val file it will work one time. I can code deleting the .val file but this does not seem correct. Do you have any suggestions? What am I missing.

Thanks 

GT

 Posted 6 years ago (Thread Starter)
Comment Quote
About fullnet
Visit Profile
Membership pending.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #17761, 3 replies
Thread Started 12/9/2019 4:58:49 PM
View Counter=571
Last Reply Posted 12/31/2019 4:17:28 AM)
Location=-- USA 
Joined=6 years ago   MB Posts=2  
Moderator
Steven.G
Myrtle Beach, SC USA

1) this is a "changeto" query.. it is designed to modify a table, not create a table.. a simple query that does not insert, delete, or changeto, will create an answer table, or other designated table

2) the val file holds certain "validity check" information.. field formatting, lookup table, etc.. that's not ordinarily something you do on the fly.. if you are maing changes of that nature, you need to be sure you SHOULD be making changes of that nature

Steven Green
Senior Software Engineer
Paradox Support Specialist DOS/WIN

Prestwood IT Solutions
8421 Auburn Blvd, Suite 256, Citrus Heights, CA 95610
Office: 916-726-5675 | Fax: 916-726-5676 | http://www.prestwood.com
 Posted 6 years ago
Comment Quote
About Steven.G
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #17762 (Level 2) and Parent is 17761
Reply Posted 12/10/2019 5:28:45 AM
Location=Myrtle Beach, SC USA 
Joined=9 years ago   MB Posts=463  
fullnet
FullNet
-- USA

Steven.G, thanks for the reply.

While looking through the code there are various times that the program creates a new PRIV:Answer.DB. Most of them are just a query that produces data. But a few of them are like the "changeto" that I provided. 

Not sure how it all works if they are able to run one event that creates the Answer.DB from a standard query and then run another event that is looking for an Answer.DB with an established Table structure.

I am sure I am missing something on this but it seems like Paradox 9/10/11 has a few changes to how Tables work from version 8.

And of course, reviewing someone's old code that worked on an old version has it's own limitations and challenges. laughing

 Posted 6 years ago (Thread Starter)
Comment Quote
About fullnet
Visit Profile
Membership pending.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #17763 (Level 3) and Parent is 17761
Reply Posted 12/11/2019 7:14:11 AM
Location=-- USA 
Joined=6 years ago   MB Posts=2  
Most Recent Post
Moderator
Steven.G
Myrtle Beach, SC USA

yes, separate processes could create, then modify, an Answer table.. but honestly, if the app is written that poorly, you'll go around in circles trying to understand it

as for your "changes in how tables work" comment.. no, absolutely not.. over the years, field types have been added, and index functionality has been enhanced.. but the basic functions go all the way back to the beginning

Steven Green
Senior Software Engineer
Paradox Support Specialist DOS/WIN

Prestwood IT Solutions
8421 Auburn Blvd, Suite 256, Citrus Heights, CA 95610
Office: 916-726-5675 | Fax: 916-726-5676 | http://www.prestwood.com
 Posted 6 years ago
Comment Quote
About Steven.G
Visit Profile
Approved member.
Member subscribes to this thread with a verified email.
Old Account!
If this is your account, sign in to activate web presence data (sign in quarterly to keep active). Alternatively, you can subscribe to our monthly eMag with a valid email address.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #17764 (Level 4) and Parent is 17761
Reply Posted 12/11/2019 8:55:22 AM
Location=Myrtle Beach, SC USA 
Joined=9 years ago   MB Posts=463  

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 = P1243A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #17761 Counter
571
Since 12/9/2019
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site: 
www.prestwood.com


©1995-2025 Prestwood IT Solutions.   [Security & Privacy]