User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the MS Access and FileMaker Pro section within the Web Development category of DaniWeb, a massive community of 397,646 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,383 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MS Access and FileMaker Pro advertiser:

Creating a Database from scratch, need assistance

Join Date: Dec 2004
Location: Devon - UK
Posts: 420
Reputation: 1o0oBhP is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 6
1o0oBhP's Avatar
1o0oBhP 1o0oBhP is offline Offline
Posting Pro in Training

Re: Creating a Database from scratch, need assistance

  #2  
Dec 23rd, 2004
what are you using to create the database? if you store the chair number as the first key, then when someone asks for the location of the chair you can perform a modified binary search to get the chair entry, consequently the chair's location.
To see what is available you can search the location key for "On Site" and list the results sorted by chair number.

The easiest way to make the location key is to enumerate the locations ie:

0 = On Site
1 = Off Site
2 = Out Of Service
3 = In Storage

then search the corrseponding numerical equivalent value. Hope this helps
http://sales.carina-e.com

no www
no nonsense

coming soon to a pc near you! :cool:
Reply With Quote  
All times are GMT -4. The time now is 11:12 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC