Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: DINIT27C

DINIT27C.m

Go to the documentation of this file.
  1. DINIT27C ;SFISC/DPC-FOREIGN FORMAT EXCEL(COMMA) ;11/30/92 3:39 PM
  1. ;;22.0;VA FileMan;;Mar 30, 1999
  1. ;Per VHA Directive 10-93-142, this routine should not be modified.
  1. F I=1:2 S X=$T(ENTRY+I) G:X="" ^DINIT27D S Y=$E($T(ENTRY+I+1),5,999),X=$E(X,4,999),@X=Y
  1. Q
  1. ENTRY ;
  1. ;;^DIST(.44,.003,0)
  1. ;;=EXCEL (COMMA)^,^^^^^^1000^1^1^1^1
  1. ;;^DIST(.44,.003,3,0)
  1. ;;=^^6^6^2921120^
  1. ;;^DIST(.44,.003,3,1,0)
  1. ;;=Use this format to export data to the EXCEL spreadsheet running
  1. ;;^DIST(.44,.003,3,2,0)
  1. ;;=on the Macintosh or under Windows. The exported data will have a comma
  1. ;;^DIST(.44,.003,3,3,0)
  1. ;;=between each field's value. The user will be asked to specify the data
  1. ;;^DIST(.44,.003,3,4,0)
  1. ;;=type of each exported field. Those fields that are not numeric will be
  1. ;;^DIST(.44,.003,3,5,0)
  1. ;;=surrounded by quotes ("). Commas are allowed in the non-numeric data, but
  1. ;;^DIST(.44,.003,3,6,0)
  1. ;;=quotes (") are not.
  1. ;;^DIST(.44,.003,4,0)
  1. ;;=^^3^3^2921120^^^^
  1. ;;^DIST(.44,.003,4,1,0)
  1. ;;=Select the Open command on Excel's File menu. Press the TEXT button and
  1. ;;^DIST(.44,.003,4,2,0)
  1. ;;=make sure that the Column Delimiter is set to "comma." Select the file.
  1. ;;^DIST(.44,.003,4,3,0)
  1. ;;=Each field's values will be imported into columns.
  1. ;;^DIST(.44,.003,5,0)
  1. ;;=^.441^2^2
  1. ;;^DIST(.44,.003,5,1,0)
  1. ;;=COMMA DELIMITED
  1. ;;^DIST(.44,.003,5,1,1,0)
  1. ;;=^^2^2^2921015^
  1. ;;^DIST(.44,.003,5,1,1,1,0)
  1. ;;=Exported data is delimited by commas. Non-numeric data is surrounded by
  1. ;;^DIST(.44,.003,5,1,1,2,0)
  1. ;;=quotes.
  1. ;;^DIST(.44,.003,5,2,0)
  1. ;;=CSV
  1. ;;^DIST(.44,.003,5,2,1,0)
  1. ;;=^^1^1^2921120^^
  1. ;;^DIST(.44,.003,5,2,1,1,0)
  1. ;;=Comma Separated Values.
  1. ;;^DIST(.44,.003,5,"B","COMMA DELIMITED",1)
  1. ;;=
  1. ;;^DIST(.44,.003,5,"B","CSV",2)
  1. ;;=