Append to build an array

Discussion in 'Software' started by BMD, Mar 2, 2006.

  1. BMD

    BMD Private E-2

    Hi,
    I'm trying to link four items and build a one row array with four items in it. I also want to write it to an csv file like 1,Not Listed,!=,Name. Latter I need if (1,3) = "!=" them do this if (1,3) = "=" then do that other thing. With other tools I could append the values like "Append what, where".

    visual basic code:On Error Resume Next
    If (Not myRS.EOF And Not myRS.BOF) Then
    Do Until myRS.EOF
    X = 1
    For Each fld1 In myRS.Fields
    'Write #1, fld1
    Append fld1, Hold
    arCondition(1, X) = fld1
    If X = 3 Then
    Operator = fld1.Value
    End If
    X = X + 1
    Next fld1
    myRS.MoveNext
    Loop


    any pointers?
    Thanks,
    BMD.
     
  2. Kodo

    Kodo SNATCHSQUATCH


MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds