Matthew,

The form doesn't match the query usually means that the QMFORM object has a
different number of columns than returned via the SQL statement.  Another
problem would be if data type mismatch... like trying to SUM an alpha field.

Correction of any of these type problems should fix your situation.

Don Tully
Tully Consulting LLC

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Matthew Gross
Sent: Monday, January 10, 2005 3:28 PM
To: Post AS-400 System Questions
Subject: QM Issue


Help!  I'm trapped in QM hell.  I wrote a very complex QM and couldn't get
it to total correctly because of diverse syntax, and someone suggested using
a QMFORM.  I've used this before(years ago) and gave up on it.  The problem
is that when I got to run it, it errors telling me the form doesn't match
the qry.  Fine, I know that.  I copied the statements to a new QM, but it's
somehow still attached to the form.   What gives?  Wen I went to look at the
form, I can't find it.

Thanks for any help.

M Gross
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.