Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

josh

About

Username
josh
Joined
Visits
2,067
Last Active
Roles
Member

Comments

  • @donbakke ok thanks, i won't worry about that then. @AusMarkB @BarryStevens ok i will try reinstalling oi on her computer
  • I noticed that the user has two versions of revelation software's .net components installed: doesn't look right that one is version 9.4 and the other 9.5
  • hi thanks, what is Visual FoxPro? is that something OI uses in the background?
  • hi, i upgraded to the latest version of your controls, and it all works This is perfect. Thanks :
  • hi, yeah i tried that, but we don't want the users to be able to select a node by navigating to it via the keyboard (as loading the products for a node can take a while, so we don't want to impede their ability to move through the tree with the keyb…
  • @DonBakke Good idea, I will try it. @KevinFourier Each node in the tree has products associated with it. When you click on a node, its products are loaded in the grid to the right of the tree. However, a node can have children. When expanding, …
  • If it's not possible, don't worry about it, as it's not a big deal. It would just be nice (; I do have a workaround as well. thanks
  • this is for end users to manage the website
  • "I personally disagree with your UI design here. By placing group names before their numbers, the eye is attracted to the names. Thus, sorting by numbers here is counter-intuitive. It seems to me that if numbers are more important, you should place …
  • no, i haven't upgraded yet. I wanted to try to reproduce the error using the old version so i understand why it's happening. and yes don't worry, you don't need to answer my 2 questions.
  • Hi i am able to consistently recreate the problem on my computer. When the array has an empty row, i get the error. When it doesn't i don't get the error. But 2 things still aren't explained: 1. Why did this only start happening today? This progr…
  • Hi, we are using version 1.3.5. I will try to upgrade, and I will also call SRP_Array("SortRows") instead of SRP_Sort_Array. Thanks so much for your help.
  • cool i have narrowed down the issue. I forgot to mention that i am also calling your sort function SRP_SORY_ARRAy. It's crashing on that function. I think it could be crashing because I have a row with a different number of columns to all the othe…
  • hmm, i have gotten it to happen again...i think i might be able to get to the bottom of this. it crashed against at the same loading bar stage
  • DonBakke, ok that's exactly what I am doing lol. I thought it was bad practice, but if you're doing it, i'm sure it's fine. I'll stop worrying about it then. "Bigger/smaller in what way? I'm assuming you don't mean in string length, since you cou…
  • @kevin another suggestion though. It would be cool if the sort didn't just sort by the data column of the item. In my project, I have items that have names: Shop by Brand Shop by Category Shop Clearance but the order that they should be d…
  • Wow, thanks Kevin that's actually really useful. I will try to download and install it, although i have no idea how to do this. I will ask one of my colleagues. thanks
  • Hi, I mean custom. Basically, I am trying to sort the itemList array of the SRP tree control so that it has the order I want. 1. I need case insenstive sort. 2. I need siblings to be next to each other, and the first sibling to be after its parent…
  • Hi, yeah i know about that tool. I was trying to keep as many things inside of vanilla oi as possible though. Anyway, I don't need binary search, I will just use the index function to find what I want. It's fast enough.
  • So OI has no binary search? I guess it can't have it, as you can't randomly access an element?
  • Yeah i did think of that, but how do you know if the user is idle? I don't want the program to hang intermittently, but if you just load tiny parts of the tree in each timer event, it probably won't be noticeable. I will give this a try.
    in rlist question Comment by josh July 2019
  • Well, I went to all the trouble of getting it to work -- including case insensitive sorting . And the whole thing takes 3 seconds. But the problem with loading the whole tree in one go is that it will only get slower as the users add more nodes. So …
    in rlist question Comment by josh July 2019
  • @AusMarkB Hi, I just thought of a way to make selecting all records fast...and it works. If the table you want to select all records for has a btree index, just call btree.extract on the index but make it look for all values that are not equal to …
    in rlist question Comment by josh July 2019
  • OK, i have a way to get around this limitation. Let me see if it will work
  • Hi, don't try too hard, as I have found another table in our system that stores the data like this: Each record in this table is a leaf, and it stores along with the leaf the full chain of parents. So If i simply do this: select ORYX_WEB_MENU_WE…
    in rlist question Comment by josh July 2019
  • "Your sample list of Key IDs and your sample screen shot of the Tree control only shows a 2-tier relationship (which makes sense if all your Key IDs are 2-part). I was just curious if that is true for all your Key IDs and how the Tree control will l…
    in rlist question Comment by josh July 2019
  • In regards to your first question, what do you mean by 2 tier? However, there are at most 5 levels in the tree. If that's what you are asking. In regards to your second question, no it's not possible for a child key to be duplicated.
    in rlist question Comment by josh July 2019
  • oh, i just found another table in our data base that stores the data differently in a way that might make this possible. I will have a try and get back to you.
    in rlist question Comment by josh July 2019
  • I spent a really long time trying to make itemlist work, but I gave up. Let me show you a sample of our data: Each record in the OI table consists of two numbers separated by a star. The number to the left of the star is the parent of the number to…
    in rlist question Comment by josh July 2019
  • Hi, I tried to use the itemlist property, but I couldn't figure out how to make it work with the way our data is stored. It's not the fault of the itemslist property, it's due to how we store the tree hierarchy in the table.
    in rlist question Comment by josh July 2019