Looking for some help on emailing results using the drop down Label instead of the value
DWMX / SQL / ASP
I have a very simple form... 4 fields
1 - Textbox to enter name
2 - Drop downs to select location and type of issue
1 - Comment box to describe in more detail the issue....
I have notification setup to email the results to the
appropriate person
upon submission.. the issue im having is the following.. the
email will go
to the department that needs to get it based on the Issue
drop down... the
drop down is populate from a table containing 2 fields (
Issue Name and
Email )
My question is how can i capture the label name instead of
the value which
in this case is the email address?
I want the email to be sent to the email address, but i want
the email to
display the label name....
Try this,
<%=(rsCombo.Fields.Item("issue").Value)%>
<%
if recordset("fieldname") then
response.write "Your Lable Name"
end if
%>
Dave
"Daniel" <[email protected]> wrote in message
news:elporq$pd1$[email protected]..
> forgot to add this bit
>
> this is what im using to get the data for that
> <%=(rsCombo.Fields.Item("issue").Value)%>
>
>
>
> "Daniel" <[email protected]> wrote in message
> news:elpns1$o80$[email protected]..
> > DWMX / SQL / ASP
> >
> > I have a very simple form... 4 fields
> > 1 - Textbox to enter name
> > 2 - Drop downs to select location and type of issue
> > 1 - Comment box to describe in more detail the
issue....
> >
> > I have notification setup to email the results to
the appropriate person
> > upon submission.. the issue im having is the
following.. the email will
go
> > to the department that needs to get it based on the
Issue drop down...
the
> > drop down is populate from a table containing 2
fields ( Issue Name and
> > Email )
> >
> > My question is how can i capture the label name
instead of the value
which
> > in this case is the email address?
> >
> > I want the email to be sent to the email address,
but i want the email
to
> > display the label name....
> >
>
>
Similar Messages
-
I'm looking for some help connecting linksys IP Cameras to my home network to monitor my property when I'm travelling. I used to do this with linksys WAPS, but since I've discarded all my old linksys networking and standardized on airport, I can't get these things working. I know that I have to identify my camera through the DHCP table and set up port forwarding and there is the problem.
My network consists of 4 base stations set up in a roaming network - same network name and passwords. I need to do it this way so I don't have to switch network when I move from one side of the house to the other, go to the cabana, or my shop in the barn. The network works pretty well since I went to a roaming set up. Good performance, yata, yata, yata.
However, the roaming network requires the AEBS's to be set up in bridge mode, rather than sharing an ip address. When the AEBS is set to bridge mode, you don't see a DCHP table or have the ability to identify your IP Cam through the AEBS - and hence, no port forwarding.
I am able to identify and set up my Linksys IP Cam by locating the ip address on my FIOS router, even though, it's plugged into an AEBS. I set it up, see the video, remove the ethernet cable from the IP Cam, restart - and I can't get to it from an AEBS. In researching this, it appears, I should be setting up the AEBS to "share an IP Address", going to the DHCP table and identifying the camera's IP address and setting up port forwarding. However, you don't see any of the DHCP or port forwarding options in Airport Network Utility when configuring in bridge mode.
I'm hoping I'm missing something here and that the solution isn't to set it up at the FIOS router level, but I'm beginning to think that's my only hope. What concerns me there is that I should be able to see the IP cam on the network without port forwarding since I'm not coming from outside, and I can't even do this unless it's connected hard wire.
I'd appreciate any insight into this that anyone might have. I've hit the wall with what I know.
Thanks.In a roaming network, your "main" router is the device that would require port mapping/forwarding to be configured in order to access the IP camera from the Internet. This router is also the one that would be provide the private IP address for the camera which you will want to be a static one.
So as you described your network, the IP cameras should be getting an IP address or you assigned it a static one and this is the address that you would enter in the Private IP address (or equivalent depending on the router used) field when setting up port mapping.
If you are not able to access this camera from the local network, then this should be troubleshot first. -
Looking for some help in creating an ItemFilter for a Targeter
Looking for some help in creating an ItemFilter for a Targeter
Need a examples for creating itemfilter and TargeterFirstHi David,
We can integrate Syncfusion with LightSwitch application, if you want to customize column when create a report using syncfusion reportviewer, since I didn't try this third party
extension before, I think you could consider getting help from
syncfusion forum, more syncfusion experts can help you on this issue.
Thanks for your understanding.
Best regards,
Angie
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Evening folks...looking for some help about my iphone microphone
Evening folks....looking for some help.....I have a 3G Iphone and when I phone people they cannot hear me properly...sound like I am underwater....
Any ideas or suggestions gratelfully accepted..I thought that is what the big deal was that people did not know until they opened the box and started using the iPhone 5, that it not only worked with one carrier but several carriers. I did not say it will work with any carrier at one time. I was trying to find out the reason for this and why people were so surprised that the iPhone 5 had this function and the reason for it. As stated in my post, is it there so that after your contract is up and you want to go to another carrier you do not have to purchase a new iPhone, you cna purchase a SIM card that works with your new carrier.
The Otterbox Defender has a tendency to let too much dirt, dust, etc. in the cracks on the case. At least this has been my expereince. I was thinking something more along some of the really durable cases at BallisticCaseCo.com
As far as the iPhone 5 having issues, I have heard that there were more than usual with the first couple of manufactured batches that were shipped. For example the Map App by Apple, the scratches on the backside of hundreds of iPhones, etc. I am hoping these will get to be less and less, but with the recent riot at the one plant in China where the iPhone 5 is assembled is supposed to increase the waiting time. -
HI everyone. Im looking for some help. Im getting the Itunes error 50 and No network connection error. I have a perfect connection. My iphod will not download and my ipad any help would be great.
A lot of people are experiencing it, which suggests that Apple is having issues. If that is the case all people can do is wait it out.
-
Somehow I lost the drop down box to put the e-mail address in for the "Submit by Email" button. How do I get that back?
Awesome. I REALLY appreciate this. Everything you said directed me to do all the right things. Thanks again. It really is nice not to have to type in my e-mail each time I log in to my frequently-visited sites.
-
Paid Project: Looking for some help with the AddressBookUI Framework
I am looking for someone with experience accessing contacts using the AddressBook related frameworks. I am able to call up the contacts modal view using the ABPeoplePickerNavigationController, but am having problems accessing the variables in the "person" "property" and/or "identifier" properties.
I am working from within the shouldContinueAfterSelectingPerson:person:property:identifier method. When the user taps on a phone number or other element in the picker, I want to pass the information as a string to a variable in my program.
If someone knows how to do this, and can help, let me know. I would love free advice, but also don't mind paying for your time. If I can get past this thing, I can move on with the rest of the program.
Many thanks.Looks like I have it covered. Thanks to those that responded.
--Mike -
I'm looking for some help setting up a cross platform work station with Mac/Windows
I've worked with Mac for all CS Suite programs to date, but now need more power for some publishing/editing work - and would like to keep two computers working back and forth for various parts of projects - and a PC desktop is more affordable for an upgrade to my laptop. Can I work interchangeably between platforms with the CS subscription? What are the drawbacks (file integrity) and any device issues that I may need to deal with?
The Cloud forum is not about using individual programs
The Cloud forum is about the Cloud as a delivery & install process
If you will start at the Forums Index https://forums.adobe.com/welcome
You will be able to select a forum for the specific Adobe product(s) you use
Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll -
How do I use one drop down list to refresh the list in another drop down?
I am using a drop down list full of years (i.e. 2008, 2009..etc). When I make my selection from this drop down list (say for instance I select 2009) I want it to update the available data in the second drop down list. I have the query statement set up within the JSP page but it needs to be a dynamic SQL statement based off the value I selected in the first drop down.
String sql = "SELECT GameId, GameDescription FROM Games WHERE Year = " + year;
The variable "year" is the value I need to figure out how to assign. Now this variable is a Java variable (attribute) and Im unsure how to get the value from the previous drop down and assign it to that. Basically I need the JavaScript value from the first drop down assigned to the Java attribute "year".
Anyone able to help me with this???
Thanks,
JedHere are my two drop down lists. As you can see I build the second list dynamically based off the value of the year. I want to be able to assign my year to the value I select in this first drop down. How do I do that?? I only want to show games for the year I select. I currently have the year hardcoded to "2009" as you see below. How can i change that to be assigned to the JavaScript value i extract from the first select box?
<select name="season">
<option value='2009' selected>2009</option>
<option value='2008'>2008</option>
</select>
<select name="gameselect">
<%
try
String year = "2009";
String connectionURL = "jdbc:mysql://localhost:3306/ElmwoodExpos";
Class.forName("com.mysql.jdbc.Driver");
Connection con = DriverManager.getConnection(connectionURL, "root", "thejedster");
String sql = "SELECT GameId, GameDescription FROM Games WHERE Year = " + year;
Statement s = con.createStatement();
s.executeQuery(sql);
ResultSet rs = s.getResultSet();
while(rs.next())
%>
<option value="1"><% out.print(rs.getString("GameDescription"));%></option>
<%
catch(Exception e)
%>
</select>
Thanks,
Jed -
Looking for some help with using Oracle stored procedures in vb2010
First off thank you to whoever lends me a hand with my problem. A little background first I am in a software development class and we are currently building our program using VB (I have no experience in this), and Oracle(currently in a Oracle class so I know how to use Oracle itself just not with VB).
I am using vb2010 express edition if that helps. Currently I have a stored procedure that takes a 4char "ID" that returns a position (ie, salesperson,manager ect). I want to use the position returned to determine what vb form is displayed (this is acting as a login as you dont want a salesperson accessing the accountants page for payroll ect).
Here is the code I have currently on the login page of my VB form
Imports Oracle.DataAccess.Client
Imports Oracle.DataAccess.Types
Public Class Login
Dim conn As New OracleConnection
Private Sub empID_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles empID.Click
End Sub
Private Sub LoginBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LoginBtn.Click
conn.ConnectionString = "User ID = Auto" & _
";Password = ********" & _
";Data Source = XE"
conn.Open()
Dim sq1 As String = "Return_Position" 'name of procedure
Dim cmd As New OracleCommand(sq1, conn)
cmd.CommandType = CommandType.StoredProcedure
cmd.Parameters.Add(New OracleParameter("I_EmpID", OracleDbType.Char, 4)).Value = Emp_ID.Text
Dim dataReader As OracleDataReader = cmd.ExecuteReader
dataReader.Read()
Dim position As New ListBox
position.Items.Add(dataReader.GetString(0)) 'were I am getting an error, I also tried using the dataReader.getstring(0) to store its value in a string but its a no go
If position.FindStringExact("MANAGER") = "MANAGER" Then
Me.Hide()
Dim CallMenu As New Menu()
CallMenu.ShowDialog()
End If
LoginBtn.Enabled = False
End Sub
I have read the oracle.net developer guide for using oracle in vb2010 and have successfully gotten through the document however they never use a stored procedure, since the teacher wants this program to user a layered architecture I cannot directly store sql queries like the document does, thus the reason I want to use stored procedures.
This is getting frustrating getting stuck with this having no background in VB, I could easily do this in c++ using file i/o even through it would be a pain in the rear....Hello,
I am calling Oracle 11g stored procedures from VB.Net 2010. Here is a code sample (based on your code) you should be able to successfully implement in your application.
Please note that you may have to modify your stored procedure to include an OUT parameter (the employee position) if it doesn't have it yet.
Private Sub LoginBtn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LoginBtn.Click
Dim sProcedureName As String = "Return_Position" 'name of stored procedure
Dim ORConn as OracleConnection, sConn as String
Dim sPosition as String, sDataSource as String, sSchema as String, sPWD as String
Dim cmd As OracleCommand
'please provide below sDataSource, sSchema and sPWD in order to connect to your Oracle DB
sConn = "Data Source=" & sDataSource & ";User Id=" & sSchema & ";Password=" & sPWD & ";"
ORConn = New OracleConnection(sConn)
ORConn.Open()
cmd = New OracleCommand(sProcedureName, ORConn)
With cmd
.CommandType = Data.CommandType.StoredProcedure
'input parameter in your stored procedure is EmpId
.Parameters.Add("EmpID", OracleDbType.Varchar2).Value = Emp_ID.Text
.Parameters.Item("EmpID").Direction = ParameterDirection.Input
'output parameter in your stored procedure is Emp_Position
.Parameters.Add("Emp_Position", OracleDbType.Varchar2).Direction = ParameterDirection.Output
.Parameters.Item("Emp_Position").Size = 50 'max number of characters for employee position
Try
.ExecuteNonQuery()
Catch ex As Exception
MsgBox(ex.Message)
Exit sub
End Try
End With
sPosition = cmd.Parameters.Item("Emp_Position").Value.ToString
'close Oracle command
If Not Cmd Is Nothing Then Cmd.Dispose()
Cmd = Nothing
'close Oracle connection
If Not ORConn Is Nothing Then
If not ORConn.State = 0 Then
ORConn.Close()
End If
ORConn.Dispose()
End If
ORConn = Nothing
If UCase(sPosition) = "MANAGER" Then
Me.Hide()
Dim CallMenu As New Menu()
CallMenu.ShowDialog()
End If
LoginBtn.Enabled = False
End Sub
If you need further assistance with the code, please let me know.
Regards,
M. R. -
Looking for some help!! Using the Line In on macbook
I have my xbox 360 connected to my external Dell monitor via the HD VGA cable. Video works fine. Off that cable are the 2 left/right RCA male jacks. Luckily, microsoft includes the Y adapter to a 3.5mm jack. I connected this to my macbook's LINE IN on the side. I then selected Line In via the Sound Controls in Sys. Prefs.....yet, I do not get any sound!!!
In the xbox 360, I have the audio set to digital output (the basic one). All my speakers are turned on, volume is up, yet I have no audio....am I really missing something here? Is the macbook even capable of reading and outputing the audio from the xbox 360 ?
Message was edited by: David MacVicarAll my speakers are turned on, volume is up, yet I have no audio....am I really missing something here?
What audio application do you have open that should be playing the audio for you? The audio won't just "pass through" your MacBook unless you have an application open to receive and play the audio.
In the xbox 360, I have the audio set to digital output (the basic one).
The two RCA jacks on the xbox 360 aren't "digital" ports. I don't have an xbox 360, but what other options for audio out do you have? There should be an analog option for the RCA ports.
-Doug -
Hey guys, I'm really in a bind here and need some urgent help tonite. I would even be willing to pay for some actual help and not some vague information that i may not be able to understand if we could do something via skype or some other way that would be much quicker than a message board. Of course I have to have the project done by tomorow . so I'm new to fcpx, but have succesfully exported 2 other projects. I've also ran into this predicament before (error message not allowing me complete export) and have been able to solve that by converting the files i imported off my camera (canon g20) to a different file type (prores).
so where I'm at now: i have a 13 min short, all shot on my canon g20, imported and converted to prores422 with the brorsoft video converter with all the shots in a single event in fcpx. i'm using fcpx version 10.0.08. I have one main video track in my timeline that is completely full of very fast edits. (all quick 2-5 second clips, sped up shots in 2x, 4x, or 8x, tons of transitions, titles, and a little fx. theres 2 audio tracks, one is narration/speech and the other is an ongoing music track that constantly ducks everytime the subject speaks (tons of ducks/edits). Have you seen mtv cribs? Well i filmed an EXACT replica. So If you've seen one of those episodes, its literally the same exact same thing. I have all of my work completed, everything has been fully rendered, and i have it exactly as I want it.
I'm including all this information in case it may help. my successful projects ive exported in the past were rather simple, and this one is very complex and full of edits. here is what it looks like in the timeline:
Ive tried exporting the master file using almost all the different ways with no luck. My primary objective is to get it on youtube by any means by tommorow for a showing to a potential buyer (long story) and so I've been told using the h.264 is the best format for that. This, along with the other methods give me the same error message:
It think it gives this error message when i reach 24% everytime during export.
So first of all, what is that error message? Do i need to be concerned about the specifics of it, or is there something major that I'm missing? Like i said, i dont care how, but I need to get this video up on youtube tonite for an important viewing tomorrow. Conceptually, I think if i can figure this one out I shouldnt have any more trouble in the future doing something so basic, yet critical, such as exporting my 40+ hours of work for someone to see.
anyway, I apologize in advance for my lack of knowledge with this software, and for my extremely long winded question which will probably have the opposite effect for me as most wont want to take the time to read all this, BUT i figured if i was as thorough as possible it might help actually getting a concrete answer, instead of a "read the manual, exporting is on page 37." or "use the share button on the right of the timeline then just click export master file and it will work everytime."
Cheers everybody, and thank you. Like i said if someone is up, and willing to talk via skype, phone, messanger or any other method that works for you I would be totally down and will compensate you generously for your time. thanks again.
Taphabitboom! that advice was correct and worked. i was able to export the full project as a quicktime movie and it can be uploaded to youtube.
NOTE, theres is definately quite a few noticeable audio glitches/lags/pops that werent there before doing this. I believe, and will test to make sure, that having a project such as this one needs to render before exporting. I'm not sure if the advice requires the project to be unrendered before exporting for a specific reason, because if it will export fine after rendering the project that's the way to go. like i said the edited version i have in my timeline plays back perfectly but this exported version has quite a few noticeable audio glitches (a few video glitches too). I'm going to retry doing the first few steps of your advice, but then at the end render, then export and compare the results...
OK, so this leads to a big question, Is this something that is standard for everyone when trying to export? If its not, what causes this error?
is there any way of preemptively avoiding it in future projects?
thanks again, and hopefully this information will help others as exporting seem to be one of the biggest problems in fcpx. any word on a new patch or firmware update? -
I have been using Dreamweaver for a short time now and
absolutely love it. Okay I've been looking for sometime now and
cannot find what I am looking for not sure if I'm just not looking
in the right place and could use some help and advice. I my
maincontent div area I would like to add something that I can post
news, either weekly or a daily basis I have found alot of weblog
programs, but what I am looking for is something simple. Hopefully
someone will be able to help me out here.
Thanks in advance for any info.>>the beer is optional :-)
Sez You!
Walt
"Nancy O" <[email protected]> wrote in message
news:g4r4d9$76$[email protected]..
> Not sure what you mean exactly.
> 1) Do you want to create and publish RSS feeds which
people can subscribe
> to?
> Or 2) do you want to have other people's RSS news feeds
appear on your web
> site?
>
> If 1)
> How to Create an RSS Feed with Notepad, a Web Server and
a Beer - the beer
> is optional :-)
>
http://www.downes.ca/cgi-bin/page.cgi?post=56
>
> RSS Specifications - everything you need to know about
RSS:
>
http://www.rss-specifications.com/display-rss.htm
>
> FeedForAll - feed generating software for win/mac:
>
http://www.feedforall.com/
>
> If 2)
> Feed Roll - javascript generator for including news
feeds in websites:
>
http://www.feedroll.com/rssviewer/
>
> Google Ajax feedfetcher - requires you to have a Google
API key#
>
http://www.dynamicdrive.com/dynamicindex18/gajaxrssdisplayer.htm
>
>
> --Nancy O.
> Alt-Web Design & Publishing
> www.alt-web.com
>
>
> "jvulga" <[email protected]> wrote in
message
> news:g4r2eu$rjm$[email protected]..
>> I have been using Dreamweaver for a short time now
and absolutely love
>> it.
> Okay
>> I've been looking for sometime now and cannot find
what I am looking for
> not
>> sure if I'm just not looking in the right place and
could use some help
> and
>> advice. I my maincontent div area I would like to
add something that I
>> can
> post
>> news, either weekly or a daily basis I have found
alot of weblog
>> programs,
> but
>> what I am looking for is something simple. Hopefully
someone will be able
> to
>> help me out here.
>>
>> Thanks in advance for any info.
>>
>
> -
New to ID and looking for some help in getting started
Hi there,
New to ID, purchased it the other day. Working through the Adobe Creative Suite, sorted DW, FW, PS & Flash.
I have ID as and would like to do some stationery ie biz cards, letterhead creation etc.
Does anyone have any good video tutorials on this subject they could recommend.
ID 'seems' to work a little differently to how I thought, only had a little go, so think I need a little show time on how to use it.
I find Adobe go's into to much detail, I am just after the basics of stationery creation first then will work my way round to some of the other great features it seems to offer.
Many thanks in advance.Thanks gents,
Like Lynda.com. Had heard of this site but forgot to look there, some very handy stuff.
Hmmm it seems ID is a little more involved than I thought. I thought I could, I may still, get to grips with this as I have done with many other Adobe products ;-)
All I need it for is so 'I' can design and format business stationery so it coordinates with the websites I design, often a request I get asked for. While my printers are very good it can take many emails to get the design message across to them. They use ID so I 'thought' I could do the design using colors and logo's etc that I use in webdesign and then send the template they have provided for them to polish off and then print.
I'm hoping a look into Lynda.com and maybe a book or two will get me sorted with this.
Heck, if I can teach myself DW, Flash and Fireworks I'm hoping ID is no more of a challenge ;-) -
Looking for some help with building insert statements...
Hi, I am using some sql to build some insert statements for me to update a set of tables in our qa environments. The scripts that I have created were working great until someone added a column to some of the tables in the qa env which in turn makes my scripts break because I was simply building the statment to do someting like this...
insert into dest_table (select * from source_table@dblink);
But now when the coumns in the tables do not match it breaks...
This is the dynamic create script I use, can anyone help or suggest a better way to be able to build update statements update to qa tables when the columns are mismatched?
spool insert.sql
select
'insert into ' || table_name || ' (select * from ' || table_name || '@prod );' || chr(10) || ' commit;'
from user_tables
where table_name in
(select * from refresh_tablesl)
any help is greatly appreciated,
Thanks.See my reply to your duplicate post
looking for help building dynamic insert statements...
Maybe you are looking for
-
The Firefox emblem is not there. How do I "get it back".?
I looked at the Getting Started video. When I went to look for the Firefox emblem at the top left of the page, it isn't there on my version. I have a menu bar, tabs, search window - but no Firefox.
-
My site works in Composer preview, but not on the web.
I have just created a site w/ composer(through mozilla) and it works when i preview the index.html in the mozilla browser. So I am now using the fetch demo to ftp transfer my files to my domain(www.swansondesignline.com) which i registered through na
-
Hi ALL, Please let me know which SAP functional transaction code should I use to make the values reflect in USR03.Please be informed that its not happening with SU01. Regards Ravi
-
Messages could not be filtered to folder "inbox". How to handle this?
Upon log in and checking for messages I am receiving an alert which basically state" Messages could not be filtered to folder 'inbox'. Verify disk space and write privileges" Yet I seem to be receiving up to date messages. What can be done to rectify
-
Hi I am trying create sequence of orders , i have created a pricing procedure and in which one condition type should get activated in last order type(thru requirement ) which is 100% discount (condition record) but it is not getting activated Can any