![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I am able to write a file. For this example I write the value porder and soortreg to the oee.csv file. How do I make a 'real' csv file and more important how do I make coloms:
i now have a file what looks like: porder soortreg porder2 soortreg2 I want to have the file looks like: porder,soortreg porder2,soortreg2 ___ sub btnoeereg_Click ' ErrorLabel(errSaveINI) FileOpen( c1,"oee.csv",cwrite,cAppend) FileWrite(c1,porder.Text) FileWrite(c1,soortreg.Text) FileClose(c1) Return'If there were no "Return" here, the error message would have shown. errSaveINI: Msgbox("Error writing INI file.","",cMsgboxOK,cMsgboxHand) FileClose(c1) End Sub |
|
|||
|
I understand the addcol and addrow now, thanxs! But how do I save the information from button artnr, porder and soortreg into the file (I thought it would work like this, but it does not). Also I want to 'append' the file when generating more info by pressing the OK button.
Table1.AddCol(cString, "Artnr", 50) Table1.AddCol(cString, "Porder", 50) Table1.AddCol(cString, "Soortreg", 50) Table1.AddRow(artnr,porder,soortreg) Table1.SaveCSV("WithoutHeader.csv", ",", False) |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to get the PDA type and make | HARRY | Questions & Help Needed | 3 | 01-13-2008 12:19 PM |
| How do I make a textbox go from one to the other | sunnyboyj | Questions & Help Needed | 2 | 12-17-2007 09:44 PM |
| Is it impossible to make app without form? | conf | Questions & Help Needed | 7 | 06-25-2007 03:56 AM |
| Help me to make HTMLViewer Lib | conf | Questions & Help Needed | 2 | 06-17-2007 05:35 PM |
| Make table to edit | giannimaione | Basic4ppc Wishlist | 0 | 05-13-2007 11:10 AM |