User Profile

Collapse

Profile Sidebar

Collapse
solomonp
solomonp
Last Activity: Jan 11 '07, 05:26 PM
Joined: Jan 3 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • solomonp
    replied to Need help with sort macro.
    Hi-

    I usually do my .xl VBA sorts like this:
    Code:
    With Sheets("YourSheetName")
        Set r1 = .Range("A4:D3000")
        r1.Select
        Selection.Sort Key1:=.Cells(4,4), Order1:=xlAscending, Header:=xlNo, _
        OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
        DataOption1:=xlSortNormal
    End With
    This specifies a few things the XL...
    See more | Go to post

    Leave a comment:


  • Try something like this:

    Code:
    SELECT *
    FROM table
    where rownum mod 100 = 0;
    This will get you the last row from every hundred, though a mentioned above they may change as you add new items to the table.

    Leo...
    See more | Go to post

    Leave a comment:


  • solomonp
    replied to More on Eval
    Ok, that sounds good. Can you point me in the right direction for loading the images into an array. None of them are to be displayed until the event requesting them.

    Thanks,
    Leo...
    See more | Go to post

    Leave a comment:


  • solomonp
    replied to More on Eval
    Interesting suggestion, but no.

    There is no such element as document.images[i][stackname + "_" + newchan];

    are you suggesting that I should store the images in an array?

    Right now the images are in the document thusly, created at runtime by the application that builds this page:
    A1000001_00= new Image(); A1000001_00.src ="A1000001_00.p ng"; A1000001_00.rel = "FSIA1000001_00 .png";...
    See more | Go to post

    Leave a comment:


  • solomonp
    replied to More on Eval
    I have several groups (or stacks) of images, and I want to change them all from the first image in the stack to the second with one click. The channelChange function is designed to find each image that has a 'stack' defined and then pass to the imageChange function the name of the stack concatenated with the name of the layer to be shown. I think it is the concatenation of the string used in anewsrc that is causing the problem.

    ...
    See more | Go to post

    Leave a comment:


  • solomonp
    started a topic More on Eval

    More on Eval

    Hello-

    I have a javascript problem which seems that it ought to be soluble without eval, but I can only make it work with eval.

    With the script below the call:
    "ImageChange('m yImageName', newImage);" works fine, but:
    "channelChange( 'myImageName'); " does not. The string anewsrc is being treated as a string, and not as an object even though I am asking for it's "src" property....
    See more | Go to post
No activity results to display
Show More
Working...