Hi,
Thanks for the reply.
I have tried your suggestion, but if I simply put a number in the brackets, I get a syntax error.
Phil...
User Profile
Collapse
-
Baffled by dataset error....
Hi,
Can anyone offer an explanation please? (Code below).
I have a VB2005 express program that reads through a dataset (approx 100 records) looking at items 7 and 8.
If item 7 has a particular value ("R"), then I wish to delete the record.
A filter 'srsshow' is turned on to activate the feature.
When the filter is activated, this always returns the error - 'There is no row at position... -
Hi,
You are correct !
VB 2005 Express :Vis Studio v8, VB .Net v2.
Phil...Leave a comment:
-
Thanks for the reply,
I see your point, but this file has around 100 lines at the moment.
phil...Leave a comment:
-
Baffled by dataset error.
Hi,
Can anyone offer an explanation please? (Code below).
I have a program that reads through a dataset looking at items 7 and 8.
If item 7 has a particular value ("R") then I wish to delete the record.
A filter 'srsshow' is turned on to activate the feature.
When the filter is activated, this always returns an error - 'There is no row at position 9'.
However if the line with... -
Changing text colours in list box
Hi,
Can any one help me please, with a VB2005 express problem....
When writing to a list box, I need to have some lines in a different colour from others. I have tried using selection thus:
If condition listbox1.foreco lour = color. red else listbox1.foreco lor = color.black
but it doesn't work. This chooses and sets the colour for the first entry, all subsequent ones are then the same.
... -
Editing file data.
Hi,
Bit of a noobie question I'm afraid....
I have a program to open a file,read out part of each record to a text box, make a selection then extract the entire record. This works OK.
Now I require to edit and replace the record. (Each field in the file uses commas as delimiters.)
Attempting to replace a record either appends the file or overwrites the whole lot, so that I get a file with just my... -
TextField Parser - writing to files..
Sorryif I'm a bit of a noob here, but can any one advise me on if/how it's possible to write to files using the MY object text field parser, or suggest another method of amending records in files using delimiters.
Below is how I read from the file:
Dim x As Integer
Dim AClass As String
Dim currentRow As String()
Dim rowlen As Integer
Using Myreader As...
No activity results to display
Show More
Leave a comment: