PC Review


Reply
Thread Tools Rate Thread

Datasheet View Column AutoFilter Error

 
 
Clif McIrvin
Guest
Posts: n/a
 
      31st Jan 2011
A2010, split .mdb, local copy of FE
Form bound to inner join query
Datasheet view
I'm *sure* I've done this before....

I'm getting an error when I click on the column auto-filter of one
field - and I've run out of ideas what to look for.

Error text:
Syntax error (missing operator) in query expression 'Mix ID'.

After I dismiss the error dialog, the auto-filter menu appears, without
the data value select list. The remaining filter options all work (at
least the ones I've tried).

I suspect possibly something has happened in the BE ... unfortunately
the oldest available backup on the file server throws the same error. I
tried several older versions of the FE; all threw the same error. The
error is happening on more than one workstation. I'm pretty sure I used
this auto-filter earlier this morning, without error. The column
(control)'s row source is [Mix Designs].[Mix ID].

Asking for trouble-shooting suggestions....

The form's bound query (several columns ...'d out for brevity):

SELECT [Concrete Tests].PlantID, [Concrete Tests].LotID, ...,
[Concrete Tests].MixID, ..., [Concrete Tests].CommentID,
[Mix Designs].[Mix Name], [Mix Designs].[Mix Description],
IIf([PlasticUnitWt]>0,([DesignWt]-[PlasticUnitWt])/[DesignWt]+0.06,Null)
AS AirContentUW, [Mix Designs].[Mix ID], Comments.Comment
FROM [Mix Designs] INNER JOIN (Comments RIGHT JOIN
[Concrete Tests] ON Comments.CommentID = [Concrete Tests].CommentID) ON
[Mix Designs].MixID = [Concrete Tests].MixID
ORDER BY [Concrete Tests].SampleDate;


--
Clif McIrvin

(clare reads his mail with moe, nomail feeds the bit bucket :-)


 
Reply With Quote
 
 
 
 
Phil
Guest
Posts: n/a
 
      1st Feb 2011
On 31/01/2011 23:21:41, "Clif McIrvin" wrote:
> A2010, split .mdb, local copy of FE
> Form bound to inner join query
> Datasheet view
> I'm *sure* I've done this before....
>
> I'm getting an error when I click on the column auto-filter of one
> field - and I've run out of ideas what to look for.
>
> Error text:
> Syntax error (missing operator) in query expression 'Mix ID'.
>
> After I dismiss the error dialog, the auto-filter menu appears, without
> the data value select list. The remaining filter options all work (at
> least the ones I've tried).
>
> I suspect possibly something has happened in the BE ... unfortunately
> the oldest available backup on the file server throws the same error. I
> tried several older versions of the FE; all threw the same error. The
> error is happening on more than one workstation. I'm pretty sure I used
> this auto-filter earlier this morning, without error. The column
> (control)'s row source is [Mix Designs].[Mix ID].
>
> Asking for trouble-shooting suggestions....
>
> The form's bound query (several columns ...'d out for brevity):
>
> SELECT [Concrete Tests].PlantID, [Concrete Tests].LotID, ...,
> [Concrete Tests].MixID, ..., [Concrete Tests].CommentID,
> [Mix Designs].[Mix Name], [Mix Designs].[Mix Description],
> IIf([PlasticUnitWt]>0,([DesignWt]-[PlasticUnitWt])/[DesignWt]+0.06,Null)
> AS AirContentUW, [Mix Designs].[Mix ID], Comments.Comment
> FROM [Mix Designs] INNER JOIN (Comments RIGHT JOIN
> [Concrete Tests] ON Comments.CommentID = [Concrete Tests].CommentID) ON
> [Mix Designs].MixID = [Concrete Tests].MixID
> ORDER BY [Concrete Tests].SampleDate;
>
>


There seem to be references to MixID without a space and [Mix ID] with a
space. Is this correct? As a matter of principal, I would strongly advise
neverhaving spaces in field names either in tables or in forms. It saves all
the squre brackets. IMO, MixDesigns and ConctreteTests are perfectly
readable. Phil
 
Reply With Quote
 
Clif McIrvin
Guest
Posts: n/a
 
      1st Feb 2011
"Phil" <(E-Mail Removed)> wrote in message
news:ii7ipf$nvk$(E-Mail Removed)...
> On 31/01/2011 23:21:41, "Clif McIrvin" wrote:
>> A2010, split .mdb, local copy of FE
>> Form bound to inner join query
>> Datasheet view
>> I'm *sure* I've done this before....
>>
>> I'm getting an error when I click on the column auto-filter of one
>> field - and I've run out of ideas what to look for.
>>
>> Error text:
>> Syntax error (missing operator) in query expression 'Mix ID'.
>>
>> After I dismiss the error dialog, the auto-filter menu appears,
>> without
>> the data value select list. The remaining filter options all work
>> (at
>> least the ones I've tried).
>>
>> I suspect possibly something has happened in the BE ... unfortunately
>> the oldest available backup on the file server throws the same error.
>> I
>> tried several older versions of the FE; all threw the same error. The
>> error is happening on more than one workstation. I'm pretty sure I
>> used
>> this auto-filter earlier this morning, without error. The column
>> (control)'s row source is [Mix Designs].[Mix ID].
>>
>> Asking for trouble-shooting suggestions....
>>
>> The form's bound query (several columns ...'d out for brevity):
>>
>> SELECT [Concrete Tests].PlantID, [Concrete Tests].LotID, ...,
>> [Concrete Tests].MixID, ..., [Concrete Tests].CommentID,
>> [Mix Designs].[Mix Name], [Mix Designs].[Mix Description],
>> IIf([PlasticUnitWt]>0,([DesignWt]-[PlasticUnitWt])/[DesignWt]+0.06,Null)
>> AS AirContentUW, [Mix Designs].[Mix ID], Comments.Comment
>> FROM [Mix Designs] INNER JOIN (Comments RIGHT JOIN
>> [Concrete Tests] ON Comments.CommentID = [Concrete Tests].CommentID)
>> ON
>> [Mix Designs].MixID = [Concrete Tests].MixID
>> ORDER BY [Concrete Tests].SampleDate;
>>
>>

>
> There seem to be references to MixID without a space and [Mix ID] with
> a
> space. Is this correct? As a matter of principal, I would strongly
> advise
> neverhaving spaces in field names either in tables or in forms. It
> saves all
> the squre brackets. IMO, MixDesigns and ConctreteTests are perfectly
> readable. Phil



Yes, CamelCase is perfectly readable. I have gone back and re-done some
of what was improperly done way back early in the learning curve, but
that task seems hard to find time for, somehow <g>.

Yes, MixID and [Mix ID] (different columns, different data - someday I'd
like to find time to get that renamed) could lead to confusion; but why
would this form work for months and then suddenly stop? That's the part
that has me stumped.

--
Clif McIrvin

(clare reads his mail with moe, nomail feeds the bit bucket :-)


 
Reply With Quote
 
Larry Daugherty
Guest
Posts: n/a
 
      8th Feb 2011
There is a terrific shareware tool named "FindAndReplace" from Rick Fisher
at Rickworld.com. It makes the process of globally renaming objects a piece
of cake.

There are other tools but I haven't tried them. Others have recommended
them in the newsgroups:

Speed Ferret from Black Moshannon Software
another tool also named Find And Replace but it's a commercial product.

Larry

"Clif McIrvin" <(E-Mail Removed)> wrote in message
news:ii96dn$517$(E-Mail Removed)...
> "Phil" <(E-Mail Removed)> wrote in message
> news:ii7ipf$nvk$(E-Mail Removed)...
>> On 31/01/2011 23:21:41, "Clif McIrvin" wrote:
>>> A2010, split .mdb, local copy of FE
>>> Form bound to inner join query
>>> Datasheet view
>>> I'm *sure* I've done this before....
>>>
>>> I'm getting an error when I click on the column auto-filter of one
>>> field - and I've run out of ideas what to look for.
>>>
>>> Error text:
>>> Syntax error (missing operator) in query expression 'Mix ID'.
>>>
>>> After I dismiss the error dialog, the auto-filter menu appears, without
>>> the data value select list. The remaining filter options all work (at
>>> least the ones I've tried).
>>>
>>> I suspect possibly something has happened in the BE ... unfortunately
>>> the oldest available backup on the file server throws the same error. I
>>> tried several older versions of the FE; all threw the same error. The
>>> error is happening on more than one workstation. I'm pretty sure I used
>>> this auto-filter earlier this morning, without error. The column
>>> (control)'s row source is [Mix Designs].[Mix ID].
>>>
>>> Asking for trouble-shooting suggestions....
>>>
>>> The form's bound query (several columns ...'d out for brevity):
>>>
>>> SELECT [Concrete Tests].PlantID, [Concrete Tests].LotID, ...,
>>> [Concrete Tests].MixID, ..., [Concrete Tests].CommentID,
>>> [Mix Designs].[Mix Name], [Mix Designs].[Mix Description],
>>> IIf([PlasticUnitWt]>0,([DesignWt]-[PlasticUnitWt])/[DesignWt]+0.06,Null)
>>> AS AirContentUW, [Mix Designs].[Mix ID], Comments.Comment
>>> FROM [Mix Designs] INNER JOIN (Comments RIGHT JOIN
>>> [Concrete Tests] ON Comments.CommentID = [Concrete Tests].CommentID) ON
>>> [Mix Designs].MixID = [Concrete Tests].MixID
>>> ORDER BY [Concrete Tests].SampleDate;
>>>
>>>

>>
>> There seem to be references to MixID without a space and [Mix ID] with a
>> space. Is this correct? As a matter of principal, I would strongly advise
>> neverhaving spaces in field names either in tables or in forms. It saves
>> all
>> the squre brackets. IMO, MixDesigns and ConctreteTests are perfectly
>> readable. Phil

>
>
> Yes, CamelCase is perfectly readable. I have gone back and re-done some of
> what was improperly done way back early in the learning curve, but that
> task seems hard to find time for, somehow <g>.
>
> Yes, MixID and [Mix ID] (different columns, different data - someday I'd
> like to find time to get that renamed) could lead to confusion; but why
> would this form work for months and then suddenly stop? That's the part
> that has me stumped.
>
> --
> Clif McIrvin
>
> (clare reads his mail with moe, nomail feeds the bit bucket :-)
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Column width in datasheet view terryc Microsoft Access Forms 2 5th Jan 2009 01:09 PM
color column in datasheet view freckles Microsoft Access Queries 8 3rd May 2008 04:54 PM
Yes/No column in Datasheet view mscertified Microsoft Access Forms 3 17th Apr 2008 08:58 PM
Query with Multi Column view ( 8 columns datasheet view) =?Utf-8?B?UEE=?= Microsoft Access Queries 3 8th Mar 2006 03:11 PM
Column order in Datasheet view andrei Microsoft Access 2 30th Nov 2004 10:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:16 PM.