Welcome to !

     Modules
· Home
· On-line Shop
· Content
· Downloads
· FAQ
· Feedback
· Forums
· Members List
· Private Messages
· Recommend Us
· Statistics
· Surveys
· Top 10
· Web Links
· Your Account

     Donations



     Login
Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

     Total Hits
We received
559439
page views since September 2003

     User Info


Warning: Cannot modify header information - headers already sent by (output started at /home/deanjx1/public_html/header.php:32) in /home/deanjx1/public_html/includes/sessions.php on line 249

Warning: Cannot modify header information - headers already sent by (output started at /home/deanjx1/public_html/header.php:32) in /home/deanjx1/public_html/includes/sessions.php on line 250
Total Rekall- An alternative to Microsoft Access: Forums


Warning: Cannot modify header information - headers already sent by (output started at /home/deanjx1/public_html/header.php:32) in /home/deanjx1/public_html/includes/page_header.php on line 529

Warning: Cannot modify header information - headers already sent by (output started at /home/deanjx1/public_html/header.php:32) in /home/deanjx1/public_html/includes/page_header.php on line 531

Warning: Cannot modify header information - headers already sent by (output started at /home/deanjx1/public_html/header.php:32) in /home/deanjx1/public_html/includes/page_header.php on line 532
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log inLog in 

Query Attributes

 
Post new topic   Reply to topic    Total Rekall Forum Index -> Python Related Issues
View previous topic :: View next topic  
Author Message
aguild
Crewman
Crewman


Joined: Mar 11, 2004
Posts: 2

PostPosted: Thu Aug 19, 2004 3:42 pm    Post subject: Query Attributes Reply with quote

I see in the Rekall help that Table Queries, Rekall Queries and SQL queries have attributes. I want to change the "where" attribute of a Query within a form and re-execute the query, but I can't see how to get hold of the Query Object that is associated with the Block.

Am I missing something or do you have to close and re-open the form using parameters.

Thanks in advance for any suggestions,

Allan
Back to top
View user's profile Send private message
taj
Cadet


Joined: Jul 19, 2004
Posts: 6

PostPosted: Fri Aug 20, 2004 1:08 pm    Post subject: Reply with quote

I'm very interested in knowing the solution to this too. The documentation
mentions "Table Query" etc properties but getQuery() doesn't work,
and in the sources there does not seem to be any mention of bindings
to these objects in the sip interfaces AFAICT.

I noted that in Feb someone asked a similar question on the mailing list
and received no reply. I'm hoping this is doable!
Back to top
View user's profile Send private message Visit poster's website
BadJake
Site Admin
Site Admin


Joined: Oct 31, 2003
Posts: 265
Location: Mansfield, Notts., UK

PostPosted: Fri Aug 20, 2004 1:54 pm    Post subject: Reply with quote

taj wrote:
I'm very interested in knowing the solution to this too. The documentation
mentions "Table Query" etc properties but getQuery() doesn't work,
and in the sources there does not seem to be any mention of bindings
to these objects in the sip interfaces AFAICT.

I noted that in Feb someone asked a similar question on the mailing list
and received no reply. I'm hoping this is doable!


The Python interface is Mike's baby and to be quite honest he is a bit of a forgetful so and so when it comes to keeping up with events on the Forums; he much prefers people use the Rekall mailing lists. There may I suggest that you email him directly, since I believe this is a serious ommission in his part. Mike can be contacted at . FYI, Mike is moving house this week-end so he won't have an internet connection until the middle of next week
_________________
Regards
John
Back to top
View user's profile Send private message Visit poster's website
BadJake
Site Admin
Site Admin


Joined: Oct 31, 2003
Posts: 265
Location: Mansfield, Notts., UK

PostPosted: Fri Aug 20, 2004 2:05 pm    Post subject: Reply with quote

taj wrote:
I'm very interested in knowing the solution to this too. The documentation
mentions "Table Query" etc properties but getQuery() doesn't work,
and in the sources there does not seem to be any mention of bindings
to these objects in the sip interfaces AFAICT.

I noted that in Feb someone asked a similar question on the mailing list
and received no reply. I'm hoping this is doable!


Take a look at kb_block.cpp in /libs/kbase, there you will find getQuery, which returns a pointer to a KBQueryBase object. I am not sure myself so I have sent him a copy of the two original posts
_________________
Regards
John
Back to top
View user's profile Send private message Visit poster's website
taj
Cadet


Joined: Jul 19, 2004
Posts: 6

PostPosted: Fri Aug 20, 2004 4:17 pm    Post subject: Reply with quote

Yes getQuery is implemented in C++ and available as a public method
in the header, but I don't see it implemented in the SIP interface file for
the python binding, nor do I see a python binding file for the Query classes.
Back to top
View user's profile Send private message Visit poster's website
aguild
Crewman
Crewman


Joined: Mar 11, 2004
Posts: 2

PostPosted: Tue Aug 31, 2004 2:53 pm    Post subject: Reply with quote

I've sent an e-mail to Mike and he has told me that version 2.3.2 has the following functions:

setUserFilter
setUserSorting

that allow manipulation of the query. He is planning to backport them to the 2.2.x series, so there should be a solution to this problem soon.

Allan
Back to top
View user's profile Send private message
Post new topic   Reply to topic    Total Rekall Forum Index -> Python Related Issues All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Web site powered by PHP-Nuke

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2003 by John Dean and Mike Richardson
You can syndicate our news using the file backend.php or ultramode.txt
Web site engine's code is Copyright © 2003 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.492 Seconds