| Login

SQLNotes' main web site has been moved. Click here to go to the new home page. From there you can download the Portable SQLNotes Zip file or view the dowload page.

 

Note: This Forum is now closed. Please use the new community web site.

Note that browsing / searching is still be possible

 
  Forums  SQLNotes Beta01  Suggestions  Smarter Hierachical logic
Previous Previous
 
Next Next
New Post 10/2/2008 4:57 AM
User is offline lucky_phil
77 posts


Smarter Hierachical logic 

I have a number of uses of SN that would greatly benefit from being able to do smarter parent/child functions than the current system allows, and a suggestion on how these could be enabled.

 

As an example, A stock note logging grid. Imagine a grid listing each stock I invest in, and notes indented underneath with all the progressive comments & actions. Across the gird of course we would have date, price, recommendation, target, etc. All the numerics. Now for each of these columns, we would want to update the parent line (stock) with the LAST entry below (by date).

 

Current situation: As a mediocre workaround, I have written a SN function Last(), which returns the last value in the array that gets passed to parent/child functions i.e. retval=array(ubound(array)). Most of the time this works, as inherently, one enters rows in the db in date order. However, this is obviously logically & practially floored.

 

Suggested Solution: If parent/child equations could be re-written to (optionally) take fields as parameters e.g. Last(Recommend, Date), then SN generated a 2-dimensional array instead of the current fixed 1-d one, the user functions could be written to provide almost any logic required. I think this would be an unprecedented feature for SN.

 

Granted, its a bit of an advanced topic for some, but I suspect that majority of SN users are fairly advanced anyway. What do you think?

 
New Post 10/2/2008 6:50 AM
User is offline PPL
2056 posts


Re: Smarter Hierachical logic 

This is a great suggestion. Thanks

 

BTW I think that there are relatively few power users like you, a handful. Most other are using the already rich built-in features. If I'm wrong, users please wave your hand


Pierre (Win XP Pro SP2, Admin, Auto-updates ON, Firefox, Acer TravelMate 660 graphics).
 
New Post 10/10/2008 11:40 AM
User is offline armando
508 posts


Re: Smarter Hierachical logic 

I don't do vb... yet (trying to get a hold of java...) . But I think I consider myself an advanced user -- waving my hands.

;)

 
New Post 10/12/2008 5:36 AM
User is offline on5apk
49 posts


Re: Smarter Hierachical logic 

Waving, waving my hands

IMHO you can only have power users if you have a powerfull program.

 

A disadvantage of IQ for new users (as posted somwhere else) is that it is still in beta phase and that it is growing almost every day.

I know it is difficult in this growing phase to aline the documentation with the new possibilities of the program, but I think that some catching up is to be done there to make us all power users.  A decription is a good start,  an example is even better.

 

 
New Post 10/12/2008 7:50 PM
User is offline PPL
2056 posts


Re: Smarter Hierachical logic 
Modified By PPL  on 10/12/2008 7:53:38 PM)

As I'm building my system once again (not happy at all with XP SP3), I've got some time on my hands, so... I started working on the user guide, following Ecco Pro 4.0 one.

 http://sqlnotes.wikispaces.com/

 

I'm writing this in IQ (of course) and will update the default template as the documentation grows.


Pierre (Win XP Pro SP2, Admin, Auto-updates ON, Firefox, Acer TravelMate 660 graphics).
 
New Post 11/4/2008 2:03 AM
User is offline markfoley
15 posts


Re: Smarter Hierachical logic 

I'd wave my hand as someone who would like to be able to access those details as an array if necessary.  It's funny, until the specific situation comes up where something like this is required, you think "bah, I'll never need that!".  But soon enough, with something as powerful as IQ, you find yourself wanting to access the data at that level!

I think it's because something like IQ makes you really think about how you structure things in your mind, and it becomes an ongoing mission to make things sit together 'just right'.  I know I get carried away!

 
New Post 11/11/2008 6:51 PM
User is offline lucky_phil
77 posts


Re: Smarter Hierachical logic 

I have another suggestion on this topic, that might make your (PPL) life easier.


I've just been looking through the work by slangmgh on EccoExt, providing a new API for more complex data-triggered rules for Ecco, using hierachical & dependent-record, conditional logic & data lookup. What a job he has done! More amazing by the fact that he didn't even have the assistance of the application developers.


I could not come up with a better specification for smarter hierachical logic than he has implemented & documented in EccoExt!


PPL, I know this project is a passion of yours, and one you must struggle to devote sufficent time to make it what it can be. Would you consider contacting slangmgh to see if some arrangement could be reached where he assisted the extention of IQ to support the API he has written for Ecco. He must be a like mind to you & the rest of us if he did all this work, and released gratis, and he is clearly extremely skilled.


If the API of EccoExt could be built into IQ, would be an awsome extension to IQ, and hopefully not as hard as writing from scratch yourself.

 
New Post 11/11/2008 7:00 PM
User is offline PPL
2056 posts


Re: Smarter Hierachical logic 

I did contact him a year ago and he did download the software, at least once. As you probably are aware, there are a few Ecco users that have been very opposed to even discussing alternatives (in the ecco_pro yahoo group). So I don't expect any help from the slangmgh/YSWT duo. They seem more interested in their own investment into Ecco.

 

I hope I'm wrong and I'm interested in collaboration, but for now, I'll leave the ball in their court...


Pierre (Win XP Pro SP2, Admin, Auto-updates ON, Firefox, Acer TravelMate 660 graphics).
 
New Post 11/16/2008 8:11 PM
User is offline markfoley
15 posts


Re: Smarter Hierachical logic 

Sounds like even the conceptual level 'way it works' would be of some help even if the code isn't applicable.

 
Previous Previous
 
Next Next
  Forums  SQLNotes Beta01  Suggestions  Smarter Hierachical logic
Inspired by Nina