Quantcast
Channel: SharePoint Legacy Versions - Using SharePoint Designer, InfoPath and Other Customizations Forum
Viewing all articles
Browse latest Browse all 2319

Complex SQL Query

$
0
0

I'm very new to SharePoint and am having a hard time. I am used to being able to program what I want in ASP, but in this case I don't have any permissions except to an SQL database.

What I am trying to do is take a form and have the user enter in two things (we will call them a and b).  I need to execute a SQL query to find 'a' in one table and then have it insert a new record with a,b, and the looked up item into another table.  I can't seem to get anything to work. 

1) I thought I could use a custom SQL statement but I cant figure out how to pass 'a' in.

2) I thought I could use javascript and pull out a and b and then pass that to another aspx to run the query but I cant get any paramters to pass.

What is the best way to accomplish this very simple task.

Thanks in advance for the help.


Viewing all articles
Browse latest Browse all 2319

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>