Paul Pedersen
2009-01-14 18:55:17 UTC
Is there a relation set somewhere? Check data types in the involved columns.
Perhaps nulls are causing the problem.
Reindexing wouldn't hurt either.
Perhaps nulls are causing the problem.
Reindexing wouldn't hurt either.
Hello and thanks in advance for any help you can provide on this problem.
We
have a large FoxPro 9 SP2 project that has started receiving "Data type
mismatch" errors on several different "Select tablealias" statements
within
the same procedure. This procedure is used frequently throughout the day,
but the error generally only occurrs once every several days. Once the
user
has seen the error, they can reprocess the same data and the program works
correctly as designed. The error has occurred on three different "Select"
statements involving three different aliases. I have captured "Show
Status"
and "Show Memory" information from an "On Error" routine and everything
looks
to me like it should. The table aliases are listed and the correct index
is
marked as "master" in the "Show Status" output. I have reviewed the
memory
variables as reported in "Show Memory" and I do not see anything out of
place. My questing is why would you get a "Data type mismatch" on a
"Select
tablealias" statement? I am using the actual alias name with the Select -
there are no variables involved. Has anyone had similar experiences? Any
ideas of where I should go from here?
We
have a large FoxPro 9 SP2 project that has started receiving "Data type
mismatch" errors on several different "Select tablealias" statements
within
the same procedure. This procedure is used frequently throughout the day,
but the error generally only occurrs once every several days. Once the
user
has seen the error, they can reprocess the same data and the program works
correctly as designed. The error has occurred on three different "Select"
statements involving three different aliases. I have captured "Show
Status"
and "Show Memory" information from an "On Error" routine and everything
looks
to me like it should. The table aliases are listed and the correct index
is
marked as "master" in the "Show Status" output. I have reviewed the
memory
variables as reported in "Show Memory" and I do not see anything out of
place. My questing is why would you get a "Data type mismatch" on a
"Select
tablealias" statement? I am using the actual alias name with the Select -
there are no variables involved. Has anyone had similar experiences? Any
ideas of where I should go from here?