i want to limit the capturing in a subform to the first 10 records. Pls help
mainform = racesetupf (table name =racesetup)
fields = racesetupid(aut ono)
racename(txt); racedate(short)
Subform = RaceTimingSF
Table = RacetimingT
RacetimingId (autonumber)
Finishseq (number)
RaceNo (number)
Racedate (date)
Racename (txt)
The finishseq field adds a sequential number every time a raceno is captured.
What i need is an statement such as "If the value of finishseq =10, then close access. The code in the "beforeinse rt" of the subform is
FinishSeq = Nz(DMax("Finish Seq", "Racetiming T")) + 1
pls help
mainform = racesetupf (table name =racesetup)
fields = racesetupid(aut ono)
racename(txt); racedate(short)
Subform = RaceTimingSF
Table = RacetimingT
RacetimingId (autonumber)
Finishseq (number)
RaceNo (number)
Racedate (date)
Racename (txt)
The finishseq field adds a sequential number every time a raceno is captured.
What i need is an statement such as "If the value of finishseq =10, then close access. The code in the "beforeinse rt" of the subform is
FinishSeq = Nz(DMax("Finish Seq", "Racetiming T")) + 1
pls help
Comment