2012-05-25 5 views

답변

1

효율적인가요? NotesDXLExporter를 사용하여 DXL/XML로 내 보냅니다. link을 참조하십시오. 쉬운? 보기에서 문서를 선택하고 파일/내보내기, 형식으로 저장 : 쉼표로 구분 된 값을 사용하십시오. 내 보내야하는 데이터로 자신 만의 뷰를 준비 할 수 있습니다.

0

다음은 CSV 파일을 내보내는 간단한 코드입니다.

fileNum% = Freefile() 
Open filename For Output As fileNum% 

' use the view column titles as the CSV headers 
Forall c In view.Columns 
    If cns = "" Then  
     cns = c.title 
    Else 
     cns = cns + +"," + c.title   
    End If 
End Forall  
Print #fileNum%, cns 


' now get and print the values for each row and column 
Set vc = view.AllEntries 
Set entry = vc.GetFirstEntry() 
While Not entry Is Nothing 
    rowstring = "" 
    Forall colval In entry.ColumnValues 
     If rowstring = "" Then 
      rowstring = colval 
     Else 
      rowstring = rowstring + +"," + colval 
     End If   
    End Forall 
    Print #fileNum%, rowstring 
    Set entry = vc.GetNextEntry(entry) 
Wend 
Close fileNum% 
+0

내가 CSV 파일에서 데이터를 가져 오기 위해 노력하고있어 – Mythli

3

[Link]

난 CSV & 엑셀 내보낼뿐만 식을 사용 하였다.

@Command는 ([FileExport] "쉼표로 구분 된 값", "C : \ text.csv")

이제