Dynamic Variable Generation
If I have 5 variables "SUB_1, SUB_2, SUB_3, SUB_4, SUB_5" and I assign them values from a SQL2005 database..
SUB_1 =(UPDATE.Fields.Item("SUB_1").Value)
SUB_2 =(UPDATE.Fields.Item("SUB_2").Value)
SUB_3 =(UPDATE.Fields.Item("SUB_3").Value)
SUB_4 =(UPDATE.Fields.Item("SUB_4").Value)
SUB_5 =(UPDATE.Fields.Item("SUB_5").Value)
I have a WHILE LOOP generating a dynamic table from a different database table
Code: ....
View Replies
ADVERTISEMENT
Does anyone know a script out there or a component that will generate a PDF file dynamically? I want to make a report from a database available online in PDF....
View Replies
View Related
a way to view the contents of a variable. But That variable could be one of several variables. So, I would like to pass in the name of the variable as a string into a function, and pull out the contents of that variable.
View Replies
View Related
I have a spare parts database that I am working on. All that needs to be stored is the part description, what it goes to, and the quantity in stock.
Since that's all that I need, I want to be able to allow the user to edit the quantity right on the results page, through a textbox. Just change the number in the textbox for each part, press the button, and voila, it's all saved to the database (and is redisplayed for your convenience.)
However, there is no set amount of part rows. Right now, I'm creating the text boxes using the id of the item (i.e., name="quantity<%=RS("partID")%>"), but I'm not certain how to call the variables to put in an insert.
What is the syntax for dynamic/variable variables (if they even exist in ASP)?
View Replies
View Related
I would like to read the dynamic contents of an asp page and set these in a variable.
In php I can do it with the help of include, but include is not exactly the same in asp.
Any clue?
View Replies
View Related
I'm having a brain fart at the moment. Can someone tell me how to dynamically create variable names based on a loop counter?
for i = 1 to Num_Cart_Items
Item_Name & i = Request.Form("item_name" & i)
Item_Number & i = Request.Form("item_number" & i)
next
Desired result:
Item_Name1 = Test Product
Item_Number1 = 1234
Item_Name2 = Test Product 2
Item_Number2 = 2345
The problem is with the Item_Name & i..I used to know how to do this, but I can't remember or find any code that I did this with.
View Replies
View Related
i want to generate bill for a user which needs to be in pdf format. so, i came across fdf toolkit......but i am not able to understand how to use it....i looked at the 15seconds.com sites.....also but no help. so, if anybody can give a nice tutorial for this, i would be very thankful.
secondly, is it better to use this fdf toolkit or third party pdf generating tools like asp-pdf from persits inc, aspeasy pdf...etc. if yes, then which tools are the best.
my requirements is that the pdf file should be generated from the database and also from the form....both.
View Replies
View Related
Is there any way to generate a pdf document dynamically using ASP?? My client want a letter to be generated in pdf. I am able to generate the letter in rtf. So a method to convert the rtf to pdf is also fine. Is there any way to generate it using a library function or built in object (with out using Third part toolkit). Even if using any object library.
View Replies
View Related
I want to do it with an external stylesheet. I know I could do this using an internal stylesheet and if I can't crack the problem soon, will end up doing so.
Basically, I have a database table with site information, for example the site logo. What I would like to do is something along these lines: Code:
View Replies
View Related
Does anybody know How can I generate Images from ASP?
View Replies
View Related
.CSV File Generation in ASP Hello, I am able to convert recordset into .csv file and download it. My problem is how I can display message to user that file download complete.
View Replies
View Related
Ok, I currently have an ASP application. In this application, an administrator will need the capacity to print reports of the data stored in a MySQL database.
Let me note now that this is a college project, and I can only basically do what I am allowed to, rather than having full control over the server and making any necessary changes.
The problem is, I don't have permission to write files from my application. How dumb is that? Anyway, I need an alternative way. Are there any ASP PDF converters or any similar that I can query the DB, get the necessary data then present it as a printable document?
A temporary .txt file would have been sufficient, but now that that is ruled out, I need to find another way of doing this.
View Replies
View Related
I'm trying to sort a list of 10 people into two groups--RANDOMLY. I've gotten as far as to generate a random number and assign a name to it. I just need to know how to generate 9 more numbers, making sure no numbers/names repeat. Code:
View Replies
View Related
In a form that is supposed to work online, my user would enter values in say 15 fields. Now when I click "Submit" button, this should create a table at runtime.Next,whenever this button is clicked,this table should be re-generated.
View Replies
View Related
Is there any way to create automatic generation number like, INW001.......INW002.... ans so on without using any code in ms-access using "autonumber" type with default value.
or
Can you give me the code for creating automatic generation of numbers for a column IDNO , using alphanumeric.
Eg: INW001 , Next should be INW002 ,....... INW010 and so on
View Replies
View Related
Can anyone offer advice on how to make session ids not as predictable as usersession = session.sessionid?
View Replies
View Related
How do I generate an email through outlook? My program now needs to send out an email to an outlook distribution list. Unfortunately, I neither know how to send an email through ASP let alone sending it via Outlook.
View Replies
View Related
Can anyone here suggest me a solution to solve my follwoing problem?
1) I got a .aspx page and on that page i got a combo box and a command button.
Combo box displays records from the database.
I wanted to generate a report which is based on the record that user selects from the combo. The report is designed using crystal report correctly and saved in Inetpub
folder... Code:
View Replies
View Related
What's a way to do a: Page generated in X.XXXXXXXXX seconds.
View Replies
View Related
while i'm munching on my thai green chicken soup i wonder if anyone can suggest any good code generator out there for producing asp code from microsoft access tables?
View Replies
View Related
I want to create a random number where it concatenates with the "day counter" as explained below and name of the person inorder to generate a unique id.
by day counter i mean. there are 365 days in a year and today is the 18th day of the yeat. so the counter generated shud be 18&Smilesmita. How do i do this in ASP ?
View Replies
View Related
Is it possible to generate crystal reports using the "Push" method? Can I retrieve data records from a database and then push that information out to a crystal report through an ASP interface?
View Replies
View Related
I'm working with a client that runs an ASP based site, and we are running into some roadblocks.
First off, I don't know which ASP-friendly blogging platform to go with. I want something similar in functionality to Wordpress if possible. I've looked at Forest Blog, Presstopia, .Blog, and now Community Server. Which is best in terms of creating search friendly URL's and overall functionality?
Also, we are looking for a sitemap generation script that runs on the server. It seems as though all of the off-site generators are choking and only generating 260 URL's out of 15000. I'm not sure if it's a crawling problem, but if you know of any good sitemap generator for large ASP sites that would be helpful.
View Replies
View Related
I'm working on converting a php script I had written over to asp. It's purpose is to generate a registry file from information stored in an MSSQL database. It's not actually creating or changing the file I have specified, but it's not giving me errors either. It's almost as if it's stuck in an infinate loop and I cannot figure it out.
Here's the code I am using for creating/updateing the file:
View Replies
View Related
We developed a software for dynamic Flash movies generation from XML.
You prepare XML with movie content description and use ActiveSWF component to generate movie. Hope, this software will be very useful for creating rich media content at server-side using data from any sources(DB, Web services, RSS, etc...) Code:
View Replies
View Related
I have a SQL database. I want to make the report form using ASP script. In my script, if i click the report button, i want to see the data that print into word document file with 2 or 3 columns. For that case, i 'm trying to export the data from SQL to MS Access datdabase and from Access database, can i merge these data into word document?
View Replies
View Related
The code to show how long it took the page to generate in seconds ?!?, if you get onto the main page of this site, www.tgplus.net and loom at the left had side, it tells you how long it took the page 2 generate.
View Replies
View Related
I'm pretty sure this is possible in ASP, something about making CPU time markers and then taking the difference and switching it into seconds/minutes I just don't recall how to go about doing it.
View Replies
View Related
I code that creates a calendar for each month and then it displays events from that month that are stored in a db. I need to loop through my recordset and display all the events, but I can't quite figure out how to do it. I am thinking I need to do an array. But I am not really sure.... any ideas. Here is where you can view the calendar. Code:
View Replies
View Related
I'm turning my application into a "DLL". Everything worked fine untill I try to do a "While" in my asp code. Then I recieve an error like this:
"Object variable or With block variable not set"
My vb code look like this.....
View Replies
View Related
is there any way of passing a javascript variable over to a asp variable so
i can write it to my database.
View Replies
View Related
How do I convert an ASP variable to a Javascript variable?
View Replies
View Related
Ok, I have a Javascript ASP and in it I have a dynamic repeating table with certain attributes to people. If one of these attributes is old or invalid, i want to change the color of the text (and maybe make it flash, blink, change size, something) so that it's easy to read.
View Replies
View Related