![]() |
|
|||||||
| 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 |
|
|||
|
Hi!
This is a simplified part of my program.. when I run this code using Door.dll it puts an extra row into the table which when clicked says 'Null'....is this correct and if so what's it for? The table edits ok but this 'Null' causes an error in my code. Sub Globals 'Declare the global variables here. End Sub Sub App_Start Form1.Show Table1.AddCol(cNumber,"Col 1",80,false) objTable1.New1(false) objTable1.FromControl("Table1") objTable1.SetProperty("ReadOnly",false) Table1.AddRow(1234) End Sub I've search the Forum but nothing turned up...any help...thanks Dave ![]() |
|
|||
|
Hi!
The error is created by my code all the cells will change ok ...click on 1 change enter,2 change enter.....5 change enter gives the error when the extra row is highlighted....I might be able to get round this, but wondered why the extra row is there? Thanks Dave. Sub Globals 'Declare the global variables here. End Sub Sub App_Start Form1.Show Table1.AddCol(cNumber,"Col 1",80,false) objTable1.New1(false) objTable1.FromControl("Table1") objTable1.SetProperty("ReadOnly",false) For i = 1 To 5 Table1.AddRow(i) Next End Sub Sub Table1_SelectionChanged (ColName, Row) For i = 0 To Table1.RowCount -1 total = total + Table1.Cell(ColName,Row) Next TextBox1.Text = total total = 0 End Sub |
![]() |
| 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 |
| Editable Table - Device & Desktop | Erel | Code Samples & Tips | 11 | 11-21-2008 09:01 AM |
| Retrieve table filter from the filtered table? | LineCutter | Questions & Help Needed | 1 | 09-08-2008 07:20 AM |
| XYCalc -graphs an equation or editable table of figures in regular, bar or pie chart | HarleyM | Code Samples & Tips | 2 | 11-24-2007 08:21 AM |
| Editable Table | RandomCoder | Code Samples & Tips | 3 | 06-29-2007 11:17 PM |
| editable table ? | giannimaione | Questions & Help Needed | 2 | 05-13-2007 11:34 AM |