Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query Failure Columns in all Rows

Status
Not open for further replies.

Rickinrsm

Technical User
Nov 3, 2004
130
0
0
US
Hi All . . .
When I run this query I get the following error:

Expecting consistent number of columns in all rows of table; :Scmls:Scmls.db

Everything looks good to me. Any ideas?

Thanks much . . . Rick

Code:
qbe=Query

:Scmls:OfficeRosterUpdate.bd | UID | OFFICENAME   |
                             | _ID | _Name        |

:Scmls:Scmls.db  | OFFICELIST | OFFICELIST_OFFICENAME |
                 | _ID |      | Changeto _Name  |

endquery
	if not qbe.executeQbe()then
errorShow()
	return
	endif

qbe=Query

:Scmls:OfficeRosterUpdate.db | UID | OFFICENAME   |
                             | _ID | _Name        |

:Scmls:Scmls.db  | OFFICESELL | OFFICESELL_OFFICENAME |
                 | _ID |      | Changeto _Name  |

endquery
	if not qbe.executeQbe()then
errorShow()
	return
	endif
 
Okay . . . I found the problem.

I had one too many | in the the query fields after _ID.

Learn from my mistake!

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top