CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Syntax error (missing operator)

Print topic Send  topic

Author Message
SteveS

Posts: 41
Posted: 02/24/2004, 1:10 PM

Hi folks,

I've just started using codecharge for a big project and when testing came across this error - how would I fix this please?

I have only used the Application Builder to put the ASP pages together - no hand coding has been done.

Table 1: Staff Names (Name|Department|Barcode)
Table 2: Department Names (Department)

The Department field in Table 1 is linked to the Department field in Table 2. When looking at the page for table 1 it all works fine, including the look up of the department names in table 2. However, when looking at table 2 to edit etc I get the following error:

Form: Grid Department_Names
Error: [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'Department Name'. (Microsoft OLE DB Provider for ODBC Drivers)

Thanks for your help!
View profile  Send private message
DonB
Posted: 02/25/2004, 8:41 AM

I think you have spaces in the table names (at least you typed them in your
message). Put brackets [] around them and see how that works.

--
DonB

http://www.gotodon.com/ccbth


"SteveS" <SteveS@forum.codecharge> wrote in message
news:6403bbda88fdd3@news.codecharge.com...
> Hi folks,
>
> I've just started using codecharge for a big project and when testing came
across this error - how would I fix this please?
>
> I have only used the Application Builder to put the ASP pages together -
no hand coding has been done.
>
> Table 1: Staff Names (Name|Department|Barcode)
> Table 2: Department Names (Department)
>
> The Department field in Table 1 is linked to the Department field in Table
2. When looking at the page for table 1 it all works fine, including the
look up of the department names in table 2. However, when looking at table
2 to edit etc I get the following error:
>
> Form: Grid Department_Names
> Error: [Microsoft][ODBC Microsoft Access Driver] Syntax error (missing
operator) in query expression 'Department Name'. (Microsoft OLE DB Provider
for ODBC Drivers)
>
> Thanks for your help!
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

SteveS

Posts: 41
Posted: 02/27/2004, 6:24 AM

Hi,

Thanks Don, all of my Access 2000 tables have underscores in ie department_names.

Any other ideas as this is getting rather frustrating!

Thanks in advance.

Regards,

Steve.
View profile  Send private message
DonB
Posted: 02/27/2004, 8:01 AM

Someplace you have a space, not an underscore, because the error message
shows it. Select the grid, go to Properties, and click the "..." to
examine the datasource. There is a Review Data button. See whether that
works or gives you the error.

Otherwise maybe a "find in files" to look for "department names" would find
it.

--
DonB

http://www.gotodon.com/ccbth


"SteveS" <SteveS@forum.codecharge> wrote in message
news:6403f532549d9e@news.codecharge.com...
> Hi,
>
> Thanks Don, all of my Access 2000 tables have underscores in ie
department_names.
>
> Any other ideas as this is getting rather frustrating!
>
> Thanks in advance.
>
> Regards,
>
> Steve.
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.