Once it's initally setup, it won't change too often. I could write an update query, but I don't want to change the data in the table. I'd rather just use a select query to change the representation of the values I deem needing to be changed.
Also, the query values need to be found using a...
Hi,
I'm looking to to rename values returned in my MS Access query.
Example table data:
Companyname
Juice Inc
Juice Incorporated
Juice Corporation
Juice Corp
Heat Ltd
Focus Corporation
I thought I could use the Switch function:
Switch([Raw Data]![Companyname] Like "*Juice*","Juice...
Thanks cmmrfrds.
I still can't get the iff fuction to work. It tells me the expression is too complex.
How do you use the Switch function in a select statement. Sorry, I don't know much about access programming.
Thanks for the help. What if I want to use more then 2 expressions.
eg.
idiscounttypeid=104193,'Yes'
idiscounttypeid=102441,'No'
idiscounttypeid=102442,'Half'
idiscounttypeid=102443,'Full'
Help!
I'm trying to run the following query in MS Access SQL, which I wrote in MS SQL Sever Transact Query Analyzer.
select CASE qd.idiscounttypeid
when 104193 then 'Yes'
when 102441 then 'No'
END as 'Selected', qd.tirecordstatus
from quotedetail qd
It works fine in Query Analyzer, but...
Hi,
I'm trying to do a simple query with a value substitution.
In the table the value 'yes' is stored as an integer of 1 and the value 'no' is stored as an integer of 2.
select responded from test
If you run the query above here are the results:
responded
---------
1
2
1
1
How would I...
Hi everyone, I need help with a select statement.
records in the details section should have either the iactionid value 117 and 129, or 117 and 37.
A sample looks like this:
icampaignid iactionid
10 117
10 129
11 117
11 37
12...
Given the table below:
iprofileid iownerid(pk) isurveyid
10 9 10
12 9 35
55 1 10
56 1 35
how would one write an update statement so that the iprofileid's are the same for the...
I am trying to update part of an vchaddress1 field. An example is the following:
125 17 av NW
I want to correct the "av" to "Ave" and keep all the rest.
So it should look like:
125 17 Ave NW
Is there anyway I can do this without manually going in and changing each...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.