Custom primary keys for 3 tbls in Access db

Completed Posted Nov 29, 2005 Paid on delivery
Completed Paid on delivery

--------------------------------------

Custom primary key for 3 tables in Access db:

I've got a process in which I can have multiple installations for a service call and multiple service calls for a job order.

I'd like custom primary keys es so that the IDs are as follows:

Job order id (JID)= xxxxxxx (6 character identifier)

Service call id (SID)= xxxxxx - yyyy (additional 4 characters)

Installation id (IID)= xxxxxx - yyyy - zzz (additional 3 characters)

In this way the SID is the JID + SID and the IID is the JID + SID + IID.

By looking at an IID you can quickly identify the service call and the job order IDs. Further I'd like the SID to be sequential and restart for each new JID and the IID to be sequential and restart for each SID.

Currently the primary keys are single autonumber fields. The end result primary keys can be multiple fields and numeric or alpha numberic, your choice.

FYI, I include a jpeg of the table structure in the attached file as well as a copy of the database. If you have any questions please include them with your bid and I will answer when I accept the bid.

--------------------------------------

Pertinent objects in the attached database:

tblJobOrder!lngJID / frmMain!fsubJobOrder

tblSrvCall!lngSID / frmMain!fsubSrvCall

tblSrvCallProd!lngIID / frmMain!fsubSrvCallProd

--------------------------------------

Conditional formatting:

Further I would like conditional formating so that the back color of the ID control for each form is red if there is a date in txtCanceled and yellow if the record is overdue. The only form with the possibility of overdue is fsubSrvCall. Overdue means that the current date is past txtReqd or txtTarget.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Access 2003, db in Access 2000 format

Windows XP sp2

Engineering Microsoft Access MySQL PHP Software Architecture Software Testing

Project ID: #3124301

About the project

2 proposals Remote project Active Nov 29, 2005

Awarded to:

maramayvw

See private message.

$17 USD in 2 days
(97 Reviews)
5.6

2 freelancers are bidding on average $19 for this job

rkiranjosh

See private message.

$21.25 USD in 2 days
(38 Reviews)
4.4