 |
Modules
|
 |
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
567434
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 FAQ Search Usergroups Profile Log in
|
|
 |
Total Rekall Forum Index -> Python Related Issues |
View previous topic :: View next topic |
Author |
Message |
aguild
Crewman


Joined: Mar 11, 2004
Posts: 2
|
Posted: Thu Aug 19, 2004 3:42 pm Post subject: Query Attributes
|
 |
|
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 |
|
 |
taj
Cadet

Joined: Jul 19, 2004
Posts: 6
|
Posted: Fri Aug 20, 2004 1:08 pm Post subject:
|
 |
|
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 |
|
 |
BadJake
Site Admin


Joined: Oct 31, 2003
Posts: 274
Location: Mansfield, Notts., UK
|
Posted: Fri Aug 20, 2004 1:54 pm Post subject:
|
 |
|
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 |
|
 |
BadJake
Site Admin


Joined: Oct 31, 2003
Posts: 274
Location: Mansfield, Notts., UK
|
Posted: Fri Aug 20, 2004 2:05 pm Post subject:
|
 |
|
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 |
|
 |
taj
Cadet

Joined: Jul 19, 2004
Posts: 6
|
Posted: Fri Aug 20, 2004 4:17 pm Post subject:
|
 |
|
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 |
|
 |
aguild
Crewman


Joined: Mar 11, 2004
Posts: 2
|
Posted: Tue Aug 31, 2004 2:53 pm Post subject:
|
 |
|
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 |
|
 |
|
 |
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
|
|
|
|

|