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.

 
Go Back  dBforums > PC based Database Applications > Microsoft Access > Data shows without input

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-13-06, 09:33
mustish1 mustish1 is offline
Registered User
 
Join Date: Jul 2006
Posts: 149
Data shows without input

If i remove the "LastValidTech.Account1=[Forms]![frmDHG]![Cbo_AccountNum]" query shows the values but if i put an input and then pass value thru it then it not shows any thing. I dont know what is a problem their.

SELECT tbl_PPVResearch.TicketNum, LastValidTech.Account1, tbl_Events.txt, tbl_Events.PPVVOD_Amt, LastValidTech.Account2, LastValidTech.Account3, LastValidTech.Account4, LastValidTech.LstVldTech, tech_id.TECHCONT
FROM ((LastValidTech INNER JOIN tbl_PPVResearch ON LastValidTech.TicketNum = tbl_PPVResearch.TicketNum) INNER JOIN tbl_Events ON tbl_PPVResearch.TicketNum = tbl_Events.TicketNum) INNER JOIN tech_id ON LastValidTech.LstVldTech = tech_id.TECH
WHERE (((LastValidTech.Account1)=[Forms]![frmDHG]![Cbo_AccountNum]) AND ((Val(Left([LastValidTech].[Account1],5)))=[tech_id.corp]));

Data with input no values
[Forms]![frmDHG]![Cbo_AccountNum]
07836-047003-01


DATA WITHOUT INPUT
-----------------
TicketNum,Account1,txt,PPVVOD_Amt,Account2,Account 3,Account4,LstVldTech,TECHCONT
004275,"07836-047003-01",IJKLMNOP,$0.00,00000-00000-00,078651234514,00000-00000-00,123,Fox
004275, "07836-047003-01",ABCDEFGH,$0.00,00000-00000-00,078651234514,00000-00000-00,123,Fox

Thanks.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On