S
Sheryl
I have created a SUMMARY file and want to do an update on
SUMMARY.NUMBER which is a count of records in some other
file. Here's some SQL "pseudo code" which (if it worked)
would do what I want.
update SUMMARY set [SUMMARY].[NUMBER] = Count([KITS].
[KIT_ID]) where [SUMMARY].[ID] = "TOT1" and [KITS].[CDATE]
What I want is to count all records in KITS having CDATE
after 6/1/03, and set SUMMARY.NUMBER to that value for the
record having SUMMARY.ID equal to "TOT1"
I'm ok with having my SQL include a subquery, but I just
can't figure this out.
SUMMARY.NUMBER which is a count of records in some other
file. Here's some SQL "pseudo code" which (if it worked)
would do what I want.
update SUMMARY set [SUMMARY].[NUMBER] = Count([KITS].
[KIT_ID]) where [SUMMARY].[ID] = "TOT1" and [KITS].[CDATE]
6/1/2003
What I want is to count all records in KITS having CDATE
after 6/1/03, and set SUMMARY.NUMBER to that value for the
record having SUMMARY.ID equal to "TOT1"
I'm ok with having my SQL include a subquery, but I just
can't figure this out.