Ask a Question related to ASP Database, Design and Development.
-
Joe #1
join problems (duplicate data returned)
Greetings,
I am having some trouble with a join (I think that is what I need to
be using)
I have one table 'PPData_Fusion' that contains customer info. I have
another table 'FusionResults' that contains submitted form data along
with a column that is found in both tables 'pick_pull'
I have a mouseOver code that displays fields from the PPData_Fusion
table which is why I have the PPData_Fusion table in the equation. I
could easily just query the FusionResults table for null and not null
filed values but I need a bit more than that.
I want to join both tables where PPData_Fusion.pick_pull =
FusionResults.pick_pull and I also want to only grab the records from
the FusionResults table a dateRcvd is null.
I am getting a few duplicates when I perform this query because I have
a few records in PPData_Fusion that have the same pick_pull value.
My main criteria is that I return all the records from the
FusionResults table where the dateRcvd field is NULL.
My code:
MySQL = "SELECT FusionResults.*, PPData_fusion.salesperson,
PPData_Fusion.dateEntered, PPData_fusion.orderDate,
PPData_fusion.accountName, "
MySQL = MySQL & "PPData_fusion.clientContact, PPData_fusion.email,
PPData_fusion.billingDate FROM FusionResults, PPData_fusion WHERE
FusionResults.pick_pull = PPData_fusion.pick_pull"
MySQL = MySQL & " AND FusionResults.dateRcvd IS NULL"
Thanks all!
Joe
Joe Guest
-
HTML Returned in Data provider as XML
I have an HTTPservice returning xml, one of the xml elements contains html "<A href='example.com'>test</a>", when i am returning plain text the flex... -
How to set the value of a variable to some data returned from a query
Hi everybody, After I make a query and get results back, is there an easy way to do something like: <cfset some_var = "a value from the xth... -
Unreliable data being returned via ASP
Hi I originally posted this cry for help in the general discussion forum...but no one replied....I have since noticed that this forum seems to be... -
Limit Data returned to table
Hi I have a number of large fields of data being returned and would like to limit the amount of each one that is put to my table for viewing.... -
Data types returned by web service
I'm trying to figure out how to architect web services, and am running into problems with incompatible namespaces. Here is the scenario: I have a...



Reply With Quote

