Actuarial Outpost
 
Go Back   Actuarial Outpost > Actuarial Discussion Forum > Software & Technology
FlashChat Actuarial Discussion Preliminary Exams CAS/SOA Exams Cyberchat Around the World Suggestions


Reply
 
Thread Tools Display Modes
  #1  
Old 05-02-2002, 11:06 AM
Dirk Diggler Dirk Diggler is offline
 
Join Date: Sep 2001
Posts: 22
Default Access Question

I make a query that combines two tables. (just a select query)

For simplicity, let's say that it only has two fields, each coming from a different table.

I now want to make another query based on this first one, where I want to select all the records where the two fields are equal. (I know I could have done this in the first one, but my situation is more complex)

In design view it looks like this:

Field: Table1.Field1
Table: Query1
Criteria: [Query1]![Table2.field1]

When I try to run it, I get the following error message:

"Invalid bracketing of name '[Query1]![Table2.field1]'"

Does anyone know what my problem is? I really don't understand as I wrote my criteria using the "Build..." function.

Thanks to anyone who can help.
Reply With Quote
  #2  
Old 05-02-2002, 11:21 AM
Dirk Diggler Dirk Diggler is offline
 
Join Date: Sep 2001
Posts: 22
Default

Nevermind, I found my problem.

It is because my two fields had the same name.

If I rename them differently in my first query, I won't have that problem.

Thanks anyways.
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

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


All times are GMT -4. The time now is 10:22 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
*PLEASE NOTE: Posts are not checked for accuracy, and do not
represent the views of the Actuarial Outpost or its sponsors.
Page generated in 0.12606 seconds with 7 queries