Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Help with Paradox 9 table schema

 
Goto page Previous  1, 2, 3
   Database Help (Home) -> Paradox RSS
Next:  Formatting pushbutton text  
Author Message
Jim Moseley

External


Since: Jan 10, 2008
Posts: 16



(Msg. 31) Posted: Wed Aug 20, 2008 7:18 am
Post subject: Re: Help with Paradox 9 table schema [Login to view extended thread Info.]
Archived from groups: comp>databases>paradox (more info?)

Jim,

>So I now have yet another subdirectory, aliased as :TRAVEL:.
>I have 13 such sub-databases.

This might help you. If your forms' data model doesn't use aliases when
defining the table (in effect, defaulting to :WORK:), it will open the tables
from the same folder as the form, regardless of where :WORK: really is.

In your case, you could copy the form to each of your 13 sub-directories,
and each would point to their local data without needing 13 aliases.

For example, create a form called Invoice.fsl, with a data model containing
:WORK:Invoice.db. Copy this to ..\Travel and ..\Contracts.

When you open :Work:Invoice.fsl, it uses :Work:Invoice.db

When you open ..\Travel\Invoice.fsl, it uses ..\Travel\Invoice.db.

When you open ..\Contracts\Invoice.fsl, it uses ..\Contracts\Invoice.db.

HTH,
Jim Moseley

 >> Stay informed about: Help with Paradox 9 table schema 
Back to top
Login to vote
Robert Molyneux

External


Since: Jun 02, 2008
Posts: 13



(Msg. 32) Posted: Wed Aug 20, 2008 10:41 pm
Post subject: Re: Help with Paradox 9 table schema [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jim Hargan wrote:
> Gotta tell you, your information on setting the work directory to the
> /child/ really blows my mind. And it makes perfect sense in the Paradoxian
> Universe.
>
> My problem is: your approach is the result of a well-thought-out design.
>
Aw shucks!

> Well, nothing wrong with dreaming. In ten days I go to Prince Edward
> Island, one of the most beautiful spots on the planet, for four weeks. Yay!
>
> --
> Jim Hargan
>
Try Lord Howe Island.

When you stand in the water on the beach, fish come and nibble your toes.

If you clap your hands, birds come out of the undergrowth to see who's
there.

 >> Stay informed about: Help with Paradox 9 table schema 
Back to top
Login to vote
Larry DiGiovanni2

External


Since: Jul 22, 2004
Posts: 36



(Msg. 33) Posted: Thu Aug 21, 2008 11:38 am
Post subject: Re: Help with Paradox 9 table schema [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

wrote in message:

> OK, so after playing around with ObjectPAL for about an hour, could
> someone show me how to create a cascading referential integrity link
> on a field TransactionID in a parent table called Transactions and a
> child table called TransactionDetails? In one of those articles on
> www.thedbcommunity.com called "Do It Yourself Referential Integrity",
> the author declines to show a working code sample because it is
> unreliable. Well, I'd still like to know how. I don't care if it's
> unreliable.

Dwight:

If you have ObjectPAL, then we assume you have access to a full copy of
Paradox. You're better off interactively restructuring a table in Paradox
than trying to do it in code. Even in non-Paradox environments, it is
unusual to have application code run DDL, and for what you described
earlier, you are only modiying two tables.

If you are trying to code for a release package, this is typically
accomplished in Paradox through code that renames table1, puts the new
structure of table1 in place by copying an empty table to it, then adding
the existing data back from the renamed original table. You'll need to
manage the RI widows and orphans during this process as well.

As far as working code for RI, again, if you have Paradox, the on-line help
may have an example.
--
Larry DiGiovanni
 >> Stay informed about: Help with Paradox 9 table schema 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
write to paradox via web - I have a client that uses software developed in delphi. It uses paradox database files. Can these be written to from the web? I am familiar with php/mysql...is there a similar capability with delphi/paradox?

Paradox indexes - Can someone tell me how to find the indexes being used in a .db file?? many thanks

Paradox Versions - Could someone let me know which is the latest version of the Paradox? I have purchased Corel Office X3 Professional with Paradox version 11.0.0.411. I hear talks about versions 12 and even 13. Do they really exist? How can they be obtained? Regards, Chri...

Paradox and Vista - I tried Paradox Runtime 9 on MS Vista last year and kept getting an error on exiting Paradox. It just says that PF Runtime has stopped working.....Windows is collecting information. Few seconds later, I just hit the CLOSE PROGRAM. Today I tried..

Source for Paradox 4.5 DOS & SQL Link - Does anyone out there know of a source for obtaining Paradox 4.5 for DOS and SQL Link? I spent about 4 years doing Paradox development in the early 90s, and have found some of my Paradox->SQL applications which I would like to get running. ..
   Database Help (Home) -> Paradox All times are: Pacific Time (US & Canada)
Goto page Previous  1, 2, 3
Page 3 of 3

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]