Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
History table w/just start date
Message
From
11/12/2007 17:12:28
Jill Derickson
Software Specialties
Saipan, CNMI
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
History table w/just start date
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01274963
Message ID:
01274963
Views:
41
Hi,

I typically maintain history information with fields like:

StartDate
EndDate
...values...

When locating a record for a specific date, i can easily use Between( DateBeingSearchedFor, StartDate, EndDate ) in a LOCATE or SELECT statement.


Now i'm trying to think if i can easily just store the StartDate, i.e.,

StartDate
...values...

But i'm not coming up w/a quick and easy way to locate an entry for DateBeingSearchedFor.

Any ideas? other than just doing a scan of the table?

TIA, Jill
Next
Reply
Map
View

Click here to load this message in the networking platform