If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
UNION QUERY NOT WORKING
i have created a field in a table that is based on (retrieves data) from two
different fields from two different tables. the table is working fine but the form i have created based on the table fails to work properly with the particular field. the code is: "SELECT [DESCRIPTION] AS [liabilities] FROM [IN-OUT-TBL] WHERE [TYPE]="DEBIT" UNION SELECT [EXPENSES] AS [liabilities] FROM [EXPENSES-MIX-FIX-TBL] the error message i get when working with the form specifies that the code contains punctuation errors and it is too long! but why is the table working then? pls give me a hint! |
#2
|
|||
|
|||
Angie
How did you do that? How did you get Access to retrieve data into one table, based on other tables' data? More info, please... Jeff Boyce Access MVP "angie" wrote in message ... i have created a field in a table that is based on (retrieves data) from two different fields from two different tables. the table is working fine but the form i have created based on the table fails to work properly with the particular field. the code is: "SELECT [DESCRIPTION] AS [liabilities] FROM [IN-OUT-TBL] WHERE [TYPE]="DEBIT" UNION SELECT [EXPENSES] AS [liabilities] FROM [EXPENSES-MIX-FIX-TBL] the error message i get when working with the form specifies that the code contains punctuation errors and it is too long! but why is the table working then? pls give me a hint! |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Form input in query, Union and crosstab query gives error msg | Christian | Running & Setting Up Queries | 2 | November 17th, 2004 05:00 PM |
Here's a shocker | Mike Labosh | General Discussion | 2 | October 26th, 2004 05:04 PM |
Too Few Parameters error Mail Merge Access Parameter Query | Tony_VBACoder | Mailmerge | 3 | September 14th, 2004 12:15 PM |
UNION Query truncating Memo fields | Matthew DeAngelis | Running & Setting Up Queries | 4 | June 10th, 2004 02:17 PM |