Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index

On Wed, 2012-02-29 at 15:06 +0000, Mark Stanton wrote:

Taking advice here and the French FAQ on the Wiki (now translated :-) 
), I see how to use parameters in a query.

I have a query in my database that's linked to a MySQL database and 
it just complains "The data content could not be loaded.  No value 
specified for parameter 1" with the query

SELECT      <Several fields>
FROM        <a table>
JOIN        <five other tables>
WHERE issues.Issue = ?Isssue_Num AND sent.sent = 1
    AND textvalues.Field = 'CBOSUBTYPE' 
ORDER BY    FirstName, Surname

I have tried the :Parameter form, which doesn't work either.
It works perfectly well if I give a value instead of "?Issue_Num".

hmm, well one problem is that the correct syntax is


NOT ?Issue_Num

Make that change and you should be good to go.


Any suggestions why this doesn't work?
This is LO 3.4.5, whose Base component is presumably almost exactly 
the same as 3.5.

Mark Stanton
One small step for mankind...

For unsubscribe instructions e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.