The record count isn't something reported by the DataStation. (My sort-of-lame excuse for this is that for most of the file types you can't determine the number of records except by separately counting each one.  To do this try:
 
    D.Open "filename", filetype
     Do
        Records = D.Record
        D.Next_
    Loop Until D.EOF_
    D.Record = 1
Rich McNeil
Boston Software Systems
866 653 5105
 
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dwight Clevenger
Sent: Monday, February 02, 2004 2:24 PM
To: [EMAIL PROTECTED]
Subject: [Talk] Record counter using the Datastation

I would like to be able to get the count of records in the data file I am using via the DataStation. For instance, if I am using an Excel spreadsheet as my data source in my bws script, I would like to be able to get the number of records in the spreadsheet and use this project total record count and remaining record count to display using 'Note'.
 
 
 
Thanks,
 
Dwight Clevenger
Senior System Analyst
Baptist Health System
San Antonio, TX.
210-297-1563
[EMAIL PROTECTED]


This email and any files transmitted with it may contain information
that is PRIVILEGED AND CONFIDENTIAL. It is the property of the
Baptist Health System and is intended only for the use of the intended
recipient. If you have received this email in error, do not
disseminate, distribute, forward, print or copy this email or any of
its' attachments. Immediately destroy/purge the email and all
attachments and notify the sender by reply of email. Any misuse/abuse
may result in disciplinary action and/or legal liability. Unauthorized
interception of this email is a violation of federal law.

Reply via email to