Apache OpenOffice (AOO) Bugzilla – Issue 3873
Using ':x' in criterion of a query desgin generates an error
Last modified: 2006-05-31 14:29:06 UTC
Specs: OO 641D (binaries) RH 7.2 unixODBC 2.2.1 PostgreSQL 7.1.2 Using the ':x', i.e. ask for a variable on running query (its probably got a posh name!) causes the following error on excuting the query: The data content could not be loaded /n Invalid descriptor index' It doesn't matter whether the field queried is an index or not. The SQL status is 07009
Garf, does the solution suggested in http://dba.openoffice.org/howto/param_subst.html solve your problem? In this case, I'd like to mark this bug here as a duplicate of issue 2794. - Frank
Frank, my ignorance really comes out here. I've never used StarBasic and wouldn't know were to start :) Any guidance you could supply as to how I'm supposed to use this chunk of code would be appreciated. I've now found that using subforms causes the same problem, i.e. the same error. I'm trying to link master and slave variables between parent form and subform. Subforms are something I could really do with. Anyhow the error message is coming from the unixODBC driver, so I may give Nick over at EasySoft a quick email to see if there is anything he can do.
Garf, it's simple once you know it :): * Tools/Macros * Select Standard/Main * Edit => the Basic IDE pops up * repleace everything in the window with the macro text got from our site * press F5 => there you go for the subforms problem: It's not surprising that it yields the same effects: In both situations, we try to use named parameters (":x" instead of "?"), which are obviously not supported by the driver (or driver manager, not sure).
Marked as dublicate, as Frank suggested. *** This issue has been marked as a duplicate of 2794 ***
As mentioned on the qa dev list on March 5th I will close all resolved duplicate issues. Please see this posting for details. First step in IssueZilla is unfortunately to set them to verified.
As mentioned on the qa dev list on March 5th I will close all resolved duplicate issues. Please see this posting for details.
change subcomponent to 'none'