Creating A Database System
Does anyone know of a database system available in which users could establish a user name and password to register products, buy merchandise and access a message board? I have moderate asp skills, but have no idea how to write or where to purchase software to create this database.
View Replies
ADVERTISEMENT
any tutorials about how to create a rating system using ASP and access. I found this one.but it requires you to set-up ODBC and draw up the databse using DSN. I'm using Frontpage and just want to draw from the database directly.
View Replies
View Related
I work for a computer reseller company in New Zealand and I have been given the job to create a system configurator for customers wanting to customise a PC for themselves. I have no idea how to go about this, therefore asking if anyone knows where there is a good tutorial on creating something like this.
I know there is a PHP one called PC Builder, however I'm after a ASP one instead, and so far have found nothing on the Internet. I'm using SQL Server 2000. Our computer company address is www.computerfuture.co.nz for an idea on what we do. I'm doing a major change to this website, and a PC Builder.
View Replies
View Related
I have a news page on a web site that now needs to be seperated in to a number of 'views' (eg. so that each user sees a different set of articles). I would like to stay away from using 20 include files!
I know how to do this with php but this time I don't have the luxury of being in an environment I'm familiar with. I also need to do this without a database, and in the most economical way possible.
View Replies
View Related
i have written a small asp code with backend as oracle.i have created a small database which is accessed by asp. now suppose if i have to move the database to another system along with code what should i do.
View Replies
View Related
I am working on a CMS website which uses a access database.
When a user adds a page a record is added to a table in the database. The user choses the page style from a selection of 7 or 8 layouts.
I have been asked to find out if I can password protect one of those pages??
I have tried a few sites but not found much. The it has been done before is to add a password protected layout and build a login area into the site.
The effect i want is for the user to click the page and a username and password box will apear?
View Replies
View Related
i'm having trouble finding the syntax of the create database..can some give me a link or something??
View Replies
View Related
I want to create a database and its tables and populate it through a web page, using ASP. The database is MySQL on win32 (4.10.13-nt) and the driver is MyOLEDB 3.0.
One thing, to set up the ole-db connection, it seems I have to specify a data source, which is an already existing database.
The Connection works and I actually can create the database, but the code for the table creation generates a 500 server error. The SQL itself is taken straight out of MySQLcc query window, so I know it's all good, syntactically.
(Also, regarding the connection, I can connect to and read from an existing database. It's the table creation that seems to be the trouble.)
I did a response.write to the page to make sure that the code coming out is what went in and that is the case. So, I guess one question is, what could be different about creating tables in a db that would fail, when "create database test_links;" and "use test_links;" both complete successfully (and the newly-created database shows up, just no tables in it).
To test the sql, i made three strings of SQL and executed each of them sequentially. The first two work, the third (table generation) fails.
A second question is, is there a way to capture any error message that might be generated at the MySQL end, rather than having the page bomb out; and then display the error. I tried using a RecordSet object, that didn't work, the page still crashes.
View Replies
View Related
Is it possible to create a database of any sort not only Access using nothing but code?
To this day I still create databases using Access on my hardrive then upgrade them and use code to modify them... would be very convinient if there was a way to just create with ASP code and edit from ASP as well...
View Replies
View Related
i have to do a code in ASP that including this code:
set c=server.createobject("adodb.connection")
c.open "dsn=MyDSN;"
c.execute "create table first_tables(Name char, Tel char)"
and i am geting that error:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E09)
[Microsoft][ODBC Text Driver] Cannot modify the design of
table 'first_tables'. It is in a read-only database.
/1.asp, line 4
what can i do?
View Replies
View Related
I need to create a chart/graph with the following data from my database:
Each record is opened and then closed at a later stage. I then calculate the time it took from when the record was entered to when it was closed.
Now i need a pie chart to display how many records was closed in certain times. for example 10 records was closed within the first 10 minutes, 2 in 20 minutes and so on.
this also is to happen for dates that the user entered. i.e a Weekly report and a monthly report.
Any advice and help will be appreciated. I found alot of examples of hardcoded graphs but none extracting data from database.
So first i need to count the records that fits each section of minutes and then use that data to draw my graph?
View Replies
View Related
I am using a repeated field to bring in to my page repeated records, and I have been able to retrieve values that are entered into text boxes that are associated with these repeated fields. I would like to post these values into a database, but I'm not sure how to set up my table as I know that each employee's values as well as number of fields will be different.
I thought about setting up two tables. One that houses the dynamic question and the other to house the answers, but I'm not sure if that will work. I could really use help as to the syntax to write a loop statement that will insert my returned variables and create the field names dynamically into my database table. I believe this is what i need to do.
View Replies
View Related
I want to create a breadcrumb trail on a site, but instead of being
generated by cookies or a directory structure, it needs to be database
driven. My website details hundreds of products, each belonging to a
category. Each category can belong to a parent category, and so on.
My site will feature master/detail pages, and both need to feature a
trail, e.g.
Books > Hobbies > Sport > Football
The master page will list all items within the current category, and the
trail will allow the user to click to any parent category for a wider
listing.
The detail page will show the item detail, along with a full trail to
the category/parent categories it belongs to.
The category structure will grow over time, and different branches will
have different number of levels so it needs to be maintainable.
View Replies
View Related
I am tryin to create a database of users for my system,each user is given a username based on their own name(surname and first name), however if 2 users with the same or similar name enter their details they will be given the same username,for example john drew would return drewj as thier username, so would jack drew, when a new user is entering their details how do i check that the username generated for them does not already exist,i.e i need to compare the username generated for the new user with all usernames already held in the database,if the username does already exist i want to add a digit to the end of the username how is this done using asp?
View Replies
View Related
I have created a database connection function which I use to open my database connection and recordset and another to close it. Easy stuff I know. The problem is this.
I want to be able to create database conenctions and recordsets specifically when I call the function. For example Code:
View Replies
View Related
I am using an Access database, and for a field called size the client entered some values such as 20" x 20" Unfortunately when I try to print that field to the page, the cursor stops typing at 20 because I'm assuming it considers the first " inside the 20" x 20" to be the end of the string.
I am simply trying to print the whole string <%=(rsProdsUpdate("size1"))%>
Is there a workaround this without having to change all the values in the database?
View Replies
View Related
I am currently developing a final year project which is a web based
tracking system tracking exam questions. I am using IIS as the
server, MS access for the database, and ASP with VBScript for the
scripting side of things.
One of the things I want to do would be to e-mail a user/moderator
whenever a exam question is edited/completed/updated. does anyone have
any previous expierence in this? i don't even know where to start.
View Replies
View Related
What is the asp code variable for System Date and System Time? Are they built-in system variables, or is there some code involved to return the values?
View Replies
View Related
I've created a system DSN called 'accessDSN' for a MS Access DB.
I get an error when running the following.
Code :
<%
Set Con = Server.CreateObject("ADODB.Connection")
Con.Open "accessDSN"
sqlString = "INSERT INTO Products(product_name,product_price) values('Gift Basket',34.54)"
Con.Execute sqlString
Con.Close
%>
Error :
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
/asp/l52.asp, line 5
View Replies
View Related
Since details like database server, login, database etc is stored inside the
DSN do I really need to specify the login while using DSN
My VB programs works without login id but not my ASP programs..
View Replies
View Related
I want to stick with VB on this project. The only problem I have with this is that I might have a problem with printing. The POS system is designed on a small 10-15 computer networked system. They are all good systems so nonone say that it may be a little to intensive for the systems.
Now once the system runs through basic checks: change exchange, enough money to pay, and other smaller features then it has to print the invoice. Now we have a small Epson Thermol (prints like Lazer) printer. How would my VB application send that information to the printer?
View Replies
View Related
Microsoft, in one of its "Help & Support" pages on ADO, says that a System DSN is three times faster than a File DSN. I find that a bit odd for the simple reason that won't it be faster for a script to access a file to get info about the database source than access the same info from the registry which will be the case if a System DSN is used
instead of a File DSN?
View Replies
View Related
I wanna build an email/messaging system whereby all members of a portal can send messsages to each other (internally). An example of this application would be the system available in www.friendster.com whereby all friendster members can message each other. Each member has his/her own inbox, trash, sent messages and so on. Can anyone help me with this? I would be eternally grateful
Secondly, i need help with building a forum as well. So far i'm having difficulties getting one that is easily customisable.
View Replies
View Related
I have been working on a simple eLeave System. I would like to get more advice of my db design. Basically, I have 2 tables here: user and leave_application. I will just put the relevant field needed for leave calculation.
user: date_employment, type, t_annual_entitled, t_annual_actual_taken, t_annual_balance
leave_application: date_leave_from, date_leave_to
There are 2 values under type, E - Executive and NE - Non-Executive.
Example
- If type = E, t_annual = 22
- If date_employment = 7 July 2005, t_workingdays = 187
- So, my formula for t_annual_entitled = (22 * 187) / 365
So, is my db design and my formula okay for this system? Any other better ways?
View Replies
View Related
Created a basic ASP/ADO/Access 2000 Newsletter system using JMail.
Basically client has 300+ subscribers and wants to send 1 newsletter email
to them all every 1 - 2 months.
Missed my client's call to say it wasn't working, but having checked with my
ISP (FastHosts), they have some kind of embargo on the amount of emails that
can be sent every 10 seconds.
View Replies
View Related
how to create a simple rating system just like the ones on Amazon.com? I found a link which i tried and i think it is flawed. No attemp was made to provide the source files
View Replies
View Related
At the beginning of the month,the whole DB server is down because of the change and upload of tables. So naturally the ASP pages would show errors.
I have 1 dbconnect.asp page which gives the db connection information.
How can I display a status.html based on the DB's down period?
View Replies
View Related
I am spawning a process on the web using ProcessInfo and Process classes.
Running on my dev. XP Pro machine all is fine. Running the same thing on w2k3
server I get "Access Denied" on the page. It seems like a security problem
though I don't know how to resolve it. I have tried all sorts of combinations
on directories, vdirs, etc.
View Replies
View Related
Am implementing an alert system that will notify users by mail of activity on a pre-defined date. What function or event can I use to achieve auto-execution of this alert on a specified date without human intervention.
View Replies
View Related
I need to get in classical ASP page color of < Button Face object of
MS Windows. Is there any standard function in vbscript?
View Replies
View Related
I wanna build a mail/messaging system whereby all registered members of a portal can send messages to one another (internally). An example of such an application would be the mail/messaging system at www.friendster.com whereby users can send messages to other friendster users. Can someone help me with this?
View Replies
View Related
i need a rating system on my website were people would be able to vote out of to topics and once say 10 votes have been made it adds up the totals and inputs the result of the topic which won
View Replies
View Related
I am currently working on a site that's hosted on IIS. I need to implement a user login system for multiple members. Basically I need to secure mulitple pages and each member would be directed to a different page once they log in.
For example:
client1 logs in and is directed to /client1/reports.html
client2 logs in and is directed to /client2/reports.html
Also, it would be good to be able to display error message below the form if the username or password is incorrect.
I am new to asp and IIS and am having problems finding something that works easily. Can anyone refer me to a script that I can use? It can even be something retail, I have a small budget to pay for something that works.
View Replies
View Related