dbTalk Databases Forums  

Error trying to crosstab a remote view

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss Error trying to crosstab a remote view in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Frank
 
Posts: n/a

Default Error trying to crosstab a remote view - 09-18-2003 , 10:05 AM






I really hope someone has an answer to this, because it is driving me
crazy.
I am trying to create a remote view to an AS400 database to do a
crosstab.
The view works fine with the crosstab box unchecked but if I check it
and then try and run the view I get:

"Connectivty error:[IBM][Client Access Express ODBC
Driver(32-bit)][DB2/400 SQL]SQL0122 - Column Avavva or Expression in
select list not valid."


Is this a VFP problem or an ODBC Driver problem?

Any ideas would be very appreciated.

Thanks
Frank

Reply With Quote
  #2  
Old   
Dan Freeman
 
Posts: n/a

Default Re: Error trying to crosstab a remote view - 09-18-2003 , 12:00 PM






On a wild guess, I'll bet VFP is sticking the "DO (_genxtab)" command after
the sql-select in the view definition, and that's what's throwing your
error. Can you open the view designer and view the SQL source to see if this
is the case?

If so, it's an under-design. The obvious workaround is to leave Crosstab
unchecked, and run GenXtab yourself after the records are retrieved.

Dan

"Frank" <sciarref (AT) mscdirect (DOT) com> wrote

Quote:
I really hope someone has an answer to this, because it is driving me
crazy.
I am trying to create a remote view to an AS400 database to do a
crosstab.
The view works fine with the crosstab box unchecked but if I check it
and then try and run the view I get:

"Connectivty error:[IBM][Client Access Express ODBC
Driver(32-bit)][DB2/400 SQL]SQL0122 - Column Avavva or Expression in
select list not valid."


Is this a VFP problem or an ODBC Driver problem?

Any ideas would be very appreciated.

Thanks
Frank



Reply With Quote
  #3  
Old   
Frank
 
Posts: n/a

Default Re: Error trying to crosstab a remote view - 09-19-2003 , 02:26 PM



"Dan Freeman" <dan.freeman (AT) sbcglobal (DOT) net> wrote

Quote:
On a wild guess, I'll bet VFP is sticking the "DO (_genxtab)" command after
the sql-select in the view definition, and that's what's throwing your
error. Can you open the view designer and view the SQL source to see if this
is the case?

If so, it's an under-design. The obvious workaround is to leave Crosstab
unchecked, and run GenXtab yourself after the records are retrieved.

Dan

"Frank" <sciarref (AT) mscdirect (DOT) com> wrote in message
news:987eab82.0309180705.2883feb4 (AT) posting (DOT) google.com...
I really hope someone has an answer to this, because it is driving me
crazy.
I am trying to create a remote view to an AS400 database to do a
crosstab.
The view works fine with the crosstab box unchecked but if I check it
and then try and run the view I get:

"Connectivty error:[IBM][Client Access Express ODBC
Driver(32-bit)][DB2/400 SQL]SQL0122 - Column Avavva or Expression in
select list not valid."


Is this a VFP problem or an ODBC Driver problem?

Any ideas would be very appreciated.

Thanks
Frank

That was the problem and I am unchecking crosstab to resolve the problem.
I was just hopeing there was a solution other than that so I could
do the task in one line. I wonder if this was fixed in Version 8?

Thanks!!


Reply With Quote
  #4  
Old   
Dan Freeman
 
Posts: n/a

Default Re: Error trying to crosstab a remote view - 09-19-2003 , 03:40 PM



Put it in a prg and it's one line again. <g>

Use TheView
DO (_genxtab)

I doubt it's considered broken, so I doubt it will be fixed.

Dan

Quote:
That was the problem and I am unchecking crosstab to resolve the problem.
I was just hopeing there was a solution other than that so I could
do the task in one line. I wonder if this was fixed in Version 8?

Thanks!!



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.