Home > database > The contents of the PB in how the SingleLineEdit direct output to the TXT or excel file
The contents of the PB in how the SingleLineEdit direct output to the TXT or excel file
Time:09-25
The contents of the PB in how the SingleLineEdit direct output to the TXT or excel file
CodePudding user response:
1, take out the text content, using the fileopen - filewrite - fileclose, this way the disadvantage is that only wrote on existing files, and can only be written to TXT in 2, establish the datastore for the datastore to specify a contains only one char (7999) column of type dataobject, then remove the singlelineedit text, and importstring to the datastore, saveas then datastore for operation, such defect is when text contains tabs, will cause the text to be intercepted 3, datawindow to replace singlelineedit controls directly, so you can direct the saveas, faults with 2 is the same, you also need to additional handling datawindow the resize event