Thanks, Tom. Your code worked like a charm--I appreciate the response!
Can I ask one quick newbie follow-up? ... What's the difference between
for i:=0 to 10 do
begin
CDS.Edit;
//do something
CDS.Append;
end
versus the loop being
CDS.Append;
//do something
CDS.Post;
The latter code did what I wanted (after applying your code!)--adding records
sequentially. With the former code I end up with only one record (the last one
in the sequence) saved.
Thanks again. You saved me from a headache! -- Al C.
_________________________________________________________________
Need to know now? Get instant answers with Windows Live Messenger.
http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_062008
_______________________________________________
Delphi-DB mailing list
Delphi-DB@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi-db