?
Solved

using a asp-imported variable in something other then a dynamic text box??

Posted on 2004-04-29
3
Medium Priority
?
201 Views
Last Modified: 2010-04-03
Hi.. I want to draw in variables from an asp page, then using these variables, open a text file.
seems simple enough, right?

sadly, it's not.

the filename I wish to open is determined by a variable that I draw from the database.

ie:

filename="s"+sid+"q"+questionid+"l"+lid+".txt";

but the sid, questionid and lid are variables drawn from a database and the only way i can reference them is to use them in a dynamic text box. thus,
the filename variable becomes sql.txt which is brassin me right off.. arrgghh!!

could any one help please?

ta

Daryn
0
Comment
Question by:daryn
  • 2
3 Comments
 
LVL 39

Accepted Solution

by:
blue-genie earned 400 total points
ID: 10957120
Hi, i don't know what you mean by you can only reference the variables using a text box - i don't agree, are you sure you are pulling in your variables correctly?
0
 
LVL 39

Expert Comment

by:blue-genie
ID: 11654826
so what happened here?
0
 

Author Comment

by:daryn
ID: 11661071
thanks but i stumbled my way through it.. :)

honestly didnt have time to get back to you, my apologies, so just played about and hit the answer. (cant honestly remember what it is, i'm sorry to say, it's the project before the last project and it's clean out of my mind!)

Ta
0

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to how to record live broadcast.
Suggested Courses
Course of the Month4 days, 15 hours left to enroll

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question