Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2004-04-29
3
Medium Priority
?
193 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
Suggested Courses

715 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