kdjonesmtb2
Technical User
I would like perform the following statements that will populate a txt file if variable is not blank
This is need as the population of these fields is situational so the datatable may not always have data
Thanks
Case variable not blank (not sure on syntax)
qfile1.Write((DataTable.Value("QTY_File_Header",dtGlobalSheet)))
qfile1.Write((DataTable.Value("Common_Delimiter",dtLocalSheet)))
qfile1.Write((DataTable.Value("QTY01_673_Quantity_Qualifier",dtGlobalSheet)))
qfile1.Write( S_QTY01_673_LEN) ' spacing for any left off characters
qfile1.Write((DataTable.Value("Common_Delimiter",dtLocalSheet)))
qfile1.Write((DataTable.Value("QTY02_380_Quantity",dtGlobalSheet)))
qfile1.Write( S_QTY02_380_LEN) ' spacing for any left off characters
qfile1.Write((DataTable.Value("Tilde",dtLocalSheet))) & vbcrlf '
This is need as the population of these fields is situational so the datatable may not always have data
Thanks
Case variable not blank (not sure on syntax)
qfile1.Write((DataTable.Value("QTY_File_Header",dtGlobalSheet)))
qfile1.Write((DataTable.Value("Common_Delimiter",dtLocalSheet)))
qfile1.Write((DataTable.Value("QTY01_673_Quantity_Qualifier",dtGlobalSheet)))
qfile1.Write( S_QTY01_673_LEN) ' spacing for any left off characters
qfile1.Write((DataTable.Value("Common_Delimiter",dtLocalSheet)))
qfile1.Write((DataTable.Value("QTY02_380_Quantity",dtGlobalSheet)))
qfile1.Write( S_QTY02_380_LEN) ' spacing for any left off characters
qfile1.Write((DataTable.Value("Tilde",dtLocalSheet))) & vbcrlf '