User Profile

Collapse

Profile Sidebar

Collapse
ltfcphil
ltfcphil
Last Activity: Feb 27 '07, 04:48 PM
Joined: Nov 30 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ltfcphil
    replied to Baffled by dataset error....
    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...
    See more | Go to post

    Leave a comment:


  • ltfcphil
    started a topic Baffled by dataset error....

    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...
    See more | Go to post
    Last edited by willakawill; Feb 25 '07, 06:12 PM. Reason: please use code tags when posting code

  • ltfcphil
    replied to Baffled by dataset error.
    Hi,
    You are correct !
    VB 2005 Express :Vis Studio v8, VB .Net v2.
    Phil...
    See more | Go to post

    Leave a comment:


  • ltfcphil
    replied to Baffled by dataset error.
    Thanks for the reply,

    I see your point, but this file has around 100 lines at the moment.
    phil...
    See more | Go to post

    Leave a comment:


  • ltfcphil
    started a topic Baffled by dataset error.

    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...
    See more | Go to post

  • ltfcphil
    started a topic Changing text colours in list box

    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.
    ...
    See more | Go to post

  • ltfcphil
    started a topic Editing file data.

    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...
    See more | Go to post

  • ltfcphil
    started a topic TextField Parser - writing to files..

    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...
    See more | Go to post
No activity results to display
Show More
Working...