Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Business Applications Business Applications
Search Search
Search for:
Tech Support Guy > > >

Access 2010 Web Macro – HELP!


(!)

Santude's Avatar
Santude Santude is offline
Member with 4 posts.
THREAD STARTER
 
Join Date: Jul 2012
28-Jul-2012, 02:58 PM #1
Access 2010 Web Macro – HELP!
Hello,

I am writing a WEB Access 2010 application and I have just discovered that I cannot use a SQL SELECT statement within my Query. The SQL STATEMENT creates a new column called CondPrice within [CFLHPtbl] populated with a lookup and match from a comparison between [EQPPrice] CFLHPtbl. The SQL SELECT below works GREAT, but I can NOT publish it to SharePoint. I am new to Access 2010 Web DB, can anyone show me how to accomplish this within a Web Macro?


(select eqpprices.price from eqpprices where productnum = cflhptbl.condmodel and eqpprices.profilenum = testval ) AS CondPrice

*Please note that “testval” is just placed there for testing. I want to be able to replace the “testval” with a selected value from a combo box.


Thank you in advance for any help or suggestions.
OBP's Avatar
OBP OBP is offline OBP is a Trusted Advisor with special permissions.
Computer Specs
Trusted Advisor with 18,545 posts.
 
Join Date: Mar 2005
Location: UK
29-Jul-2012, 10:01 AM #2
Sorry I can't help with the Web issue.
Does the SQL query work in the database?
Santude's Avatar
Santude Santude is offline
Member with 4 posts.
THREAD STARTER
 
Join Date: Jul 2012
29-Jul-2012, 03:32 PM #3
Yes...It works great with the SQL Statement....
OBP's Avatar
OBP OBP is offline OBP is a Trusted Advisor with special permissions.
Computer Specs
Trusted Advisor with 18,545 posts.
 
Join Date: Mar 2005
Location: UK
30-Jul-2012, 04:36 AM #4
OK, why not use it for an Append or make table and use the table on the sharepoint.
Santude's Avatar
Santude Santude is offline
Member with 4 posts.
THREAD STARTER
 
Join Date: Jul 2012
30-Jul-2012, 09:06 AM #5
Can I use an SQL statement in a Table on the Web portion of Access 2010?
OBP's Avatar
OBP OBP is offline OBP is a Trusted Advisor with special permissions.
Computer Specs
Trusted Advisor with 18,545 posts.
 
Join Date: Mar 2005
Location: UK
30-Jul-2012, 11:46 AM #6
In Access you can either Append the data to a table that is already there or create a table with a Make Table query.
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
WELCOME TO TECH SUPPORT GUY!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.


(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑