That's sounds like what I'm looking for. Where in the config file does the record number go?
Would it just be [record#xxx] like in config example below? [general] filetype=1 delimiter=, takelabels=1 filetime=7/22/2010 6:00:36 AM closed=7/22/2010 6:46:52 AM [names] ACCTNUMBER=1 NAME=2 SERVICEDATE=3 [fields] [report] [record#xxx] ________________________________ From: [email protected] [mailto:[email protected]] Sent: Monday, August 09, 2010 7:58 AM To: [email protected] Subject: RE: [talkbws] Deleting records from datastation file 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 --- 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
Important: This email and any attachments may contain confidential information subject to protection under the Federal Standards for Privacy of Individually Identifiable Health Information (45 C.F.R. Parts 160 and 164). If you or your organization is a “Covered Entity” under the above mentioned regulations, you are obligated to treat such information in a manner consistent with the regulations. If it appears that this email was sent to you in error, (1) you are prohibited from utilizing or disseminating this email or any attachments; (2) please immediately delete it from your computer and any servers or other locations where it might be stored, and email this sender or call the Hays Medical Center Privacy Officer at (785) 623-2188 advising that you have done so. We appreciate your cooperation.
