Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Max date and status from child table
Message
From
14/01/2005 09:01:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Max date and status from child table
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00977172
Message ID:
00977172
Views:
65
I have the following tables

claims.dbf
claim_id I
....


claims2.dbf
claim2_id I
claims_ID I
fromdate D
status C(10)
....


for each claims.claim_id I need the max(claims2.fromdate) and the associated status for this date for a given data of ldDate

meaning: what was the status of claims 123 ... 456 on 06/30/2003 for example

I am using vfp9 (and vfp8 on some machines)


Thanks


Peter
Peter Cortiel
Next
Reply
Map
View

Click here to load this message in the networking platform