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

paradox 11 and creating a database

 
   Database Help (Home) -> Paradox RSS
Next:  Semantic option:  
Author Message
spyregyre

External


Since: Aug 23, 2008
Posts: 2



(Msg. 1) Posted: Sat Aug 23, 2008 4:41 pm
Post subject: paradox 11 and creating a database
Archived from groups: comp>databases>paradox (more info?)

I've asked a few questions before and the answers were really helpful.

I'm an attorney who does a large number (>500) of cases every year.
These cases are short from beginning to end, about 60 days. Because I
use Wordperfect for most of my documents, I'd like to set up a paradox
database to use for merging my WP docs and also for billing. The
billing is not very complicated. It is usually a flat fee and no
hourly charges.

I need to keep track of about 6-10 billing events and up to 6 persons
on each case.

I learn quickly and have a basic understanding at this point. I've
already created a database for the client information but want to
expand it.

Any information would be helpful. I also anticipate handing this off
to a programmer for more complicated issues.

To start I would like some help on the following issues.

I need a record number that is related to the year and the actual file
number (e.g. 08-0001) how do I have that show up and advance one for
each record I create?

I have some vista machines but plan on running the db on an xp box.
What is a good front end program for Vista?

thanks.

j.

 >> Stay informed about: paradox 11 and creating a database 
Back to top
Login to vote
Bill McCray

External


Since: Mar 15, 2007
Posts: 5



(Msg. 2) Posted: Sat Aug 23, 2008 8:43 pm
Post subject: Re: paradox 11 and creating a database [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sat, 23 Aug 2008 16:41:47 -0700 (PDT), wrote:

> I've asked a few questions before and the answers were really helpful.
>
> I'm an attorney who does a large number (>500) of cases every year.
> These cases are short from beginning to end, about 60 days. Because I
> use Wordperfect for most of my documents, I'd like to set up a paradox
> database to use for merging my WP docs and also for billing. The
> billing is not very complicated. It is usually a flat fee and no
> hourly charges.
>
> I need to keep track of about 6-10 billing events and up to 6 persons
> on each case.
>
> I learn quickly and have a basic understanding at this point. I've
> already created a database for the client information but want to
> expand it.
>
> Any information would be helpful. I also anticipate handing this off
> to a programmer for more complicated issues.
>
> To start I would like some help on the following issues.
>
> I need a record number that is related to the year and the actual file
> number (e.g. 08-0001) how do I have that show up and advance one for
> each record I create?

I may not get the syntax exactly right; I don't write in OPAL that
often. I'm sure we'll get corrections if I'm wrong.

Create a table (say CaseNum), with one integer field (say CaseNo), and
one record. At the start of each year, initialize the field to the
value of 1.

Var
Yr, Case String
I Integer
TC TCursor
EndVar

Yr = Year(Today())
Yr = Yr.Substr(Yr.Size() - 1, 2) ; extracts last two digits of year
TC.Open("CaseNum") ; might want some error checking here
TC.Edit()
I = TC."CaseNo"
TC."CaseNo" = I + 1 ; increment case number for the next case
TC.Close()
Case = "000" + string(I) ; adds leading zeroes
Case = Case.Substr(Case.Size() - 3, 4) ; extracts last four digits

Your case number then is Yr + "-" + Case

Afterthought: you could put another field in your table in which the
year is stored. Don't get the year from there, but after opening the
table and turning Edit on, compare the year stored there with the year
you got in the first two statements. If they are the same, continue
as above. If they are different, set the year field to the current
year and set the case number to 1. Then continue with the rest of the
statements.

Bill

----------------------------------------------------------------
Reverse parts of the user name and ISP name for my e-address

 >> Stay informed about: paradox 11 and creating a database 
Back to top
Login to vote
rdapres

External


Since: Jan 21, 2005
Posts: 15



(Msg. 3) Posted: Mon Aug 25, 2008 11:49 am
Post subject: Re: paradox 11 and creating a database [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

To get started I suggest you consider looking at my Database Basics
paper and my Normalization primer (link in my signature) before you go
too far. These will help you with basics and keep you looking to best
practices and help you avoid common pitfalls.

The incrementation is fairly easy and there are a number of threads on
doing it yourself (search for increment). There is also a fairly full
set of code in the faqs if you want to figure it out and there is the
full featured AutoKey available on our Products page if you would rather
just learn how to plug it in There is also a demo program available to
help there in the deluxe version). In this case you wold need to use the
prefix and padding features. It also can generate all your other table keys.

Not sure what you mean about front end program for vista. Why not just
use paradox if you are already going that way for XP?

HTH

Denn Santoro
President
Resource Development Associates
http://www.RDAWorldWide.Com
Offices in the United States and Germany
Providing solutions to health care, business, governments and
non-profits since 1982

wrote:
> I've asked a few questions before and the answers were really helpful.
>
> I'm an attorney who does a large number (>500) of cases every year.
> These cases are short from beginning to end, about 60 days. Because I
> use Wordperfect for most of my documents, I'd like to set up a paradox
> database to use for merging my WP docs and also for billing. The
> billing is not very complicated. It is usually a flat fee and no
> hourly charges.
>
> I need to keep track of about 6-10 billing events and up to 6 persons
> on each case.
>
> I learn quickly and have a basic understanding at this point. I've
> already created a database for the client information but want to
> expand it.
>
> Any information would be helpful. I also anticipate handing this off
> to a programmer for more complicated issues.
>
> To start I would like some help on the following issues.
>
> I need a record number that is related to the year and the actual file
> number (e.g. 08-0001) how do I have that show up and advance one for
> each record I create?
>
> I have some vista machines but plan on running the db on an xp box.
> What is a good front end program for Vista?
>
> thanks.
>
> j.
 >> Stay informed about: paradox 11 and creating a database 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Overview of Paradox database structure and architecture - Hello, I would like to know if I can get an overview of a paradox database structure and architecture? I'm applying for a migration position that requires familiarity with paradox database structure. Can someone help me by sending documentation to my..

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..
   Database Help (Home) -> Paradox All times are: Pacific Time (US & Canada)
Page 1 of 1

 
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 ]