• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 201
  • Last Modified:

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

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
daryn
Asked:
daryn
  • 2
1 Solution
 
blue-genieCommented:
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
 
blue-genieCommented:
so what happened here?
0
 
darynAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now