If you are running large files and don’t want to wait for it to go through all the completed records you can set a start record with D.Record = <some number>. I’ve also in the past had my script write to a config file that my script would read at initialization upon restarting to start at the record I left off at.
Chad Kemp Information Systems Analyst Firelands Regional Medical Center 419-557-7874 From: [email protected] [mailto:[email protected]] Sent: Saturday, August 07, 2010 4:29 PM To: [email protected] Subject: RE: [talkbws] Deleting records from datastation file If the intent is to not reprocess records … I use the direct update to indicated the date and time that the record was processed (and an error message if it couldn’t be processed). When I read the file I’ll check to see if the update column contains a “:”. If it does I know it’s already been processed and D.Next_ until I get to where the process left off. If InStr(1, Trim(D(F("ScriptNote"), True)), ":") = 0 Then thanx, sherry From: [email protected] [mailto:[email protected]] Sent: Friday, August 06, 2010 18:52 To: [email protected] Subject: RE: [talkbws] Deleting records from datastation file Greetings, No, not really. Our model is to be non-invasive to the file. If the file is an excel spreadsheet and you had opened it with direct update set - then you could set the value of each field = “” The setting would only “take” after the spreadsheet is closed unless you use: D.T.Appl.Save after you do d.Next_ You can move the whole file to another directory when done using the D.Archive (dir) command Regards, Thom Thom C. Blackwell Product Manager Boston Software Systems (866) 653-5105 ex 807 www.bossoft.com <http://www.bossoft.com/> Sign up for my weekly webinar! <http://www.bostonworkstation.com/customer_center/special_events.aspx> LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. From: [email protected] [mailto:[email protected]] Sent: Friday, August 06, 2010 4:59 PM To: Talk Subject: [talkbws] Deleting records from datastation file Is there anyway to delete a record from the Datastation file once it has been completed? I’m aware of setting the status to complete or done by using (D("Status") = "Complete”, but I’d like to go further and actually delete the record once it has been completed. Thanks in advance! Paul Paul Brungardt Clinical Analyst HaysMedicalCenter PH: 785-623-2196 --- To post a message to this list, send mail to: [email protected] You are currently subscribed as: [email protected] Unsubscribe in the customer center on our website: http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx --- To post a message to this list, send mail to: [email protected] You are currently subscribed as: [email protected] Unsubscribe in the customer center on our website: http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx --- To post a message to this list, send mail to: [email protected] You are currently subscribed as: [email protected] Unsubscribe in the customer center on our website: http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx --- To post a message to this list, send mail to: [email protected] You are currently subscribed as: [email protected] Unsubscribe in the customer center on our website: http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx
