If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Database Access

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-26-05, 11:27
Conor Conor is offline
Registered User
 
Join Date: Jan 2005
Posts: 9
Database Access

Hey guys!

I've used databases and ASP for a while now. A customer has asked me to implement something for him, that will let him store info about users (eg. name, date of birth, address, telephone etc.). This would need to be accessible primarily on one computer, but maybe on others as well.

I know that I have an option to create an ASP site, run it on localhost, and let him do it through Internet Explorer. However, you often see (in hairdressers, travel agents, restaurants) kindof like MS-DOS looking programs, (like black screen, plain text) - I think this is what the customer is looking for.

Would I be right in saying that this is referred to as the "front-end"?

I have no experience in this. Could anyone tell me what this kind of technology is/how to develop such a program/where I could get a program like this (freeware or commercial)


Thanks
Conor
Reply With Quote
  #2 (permalink)  
Old 01-26-05, 13:10
DrewM DrewM is offline
Registered User
 
Join Date: Jan 2005
Posts: 36
Yes, that would be described as a font end.

You can do this fairly easily with a db & ASP. Access will be fine so long as you don't have hundreds of co-current users. With heavy use - Access will start to mess up the data because its not really designed for that. For what you describe - Access should be fine.

Typically you would build your access db with all the relevant tables - like Customers for example - a table that contains all the customer info. Then maybe a table 'AdminLogins' - that contains the username / pw for logins.

You'd need the following type ASP pages.

Login - checks username / pw against the database and then directs to the admin page. Set a session variable if login is ok & then check for the session variable on every admin page - if not set - redirect to login. This prevents anybody accessing the admin pages.

Add Customer - inserts a new record in the customer table based off a form input

Edit Customer - updates a customer record - would need a routine to get customer from the db

Each customer should have a unique customer ID in the db. This is how you would reference the customers in your ASP pages.

So, you will need to know SQL to access the db from the ASP pages. You can code SQL into the asp pages as strings, but personally I really don't like that. Access 2000 onwards does allow you to write stored queries. These are kind of like stored procedures in SQL server. You can write your queries in the db and then just call them as routines from the ASP pages.

Hope that helps. What you want to do is certainly very do-able, you'll need to know ASP, SQL and DB creation. Once you get started on it - if you hit problems post here & i'll be happy to help you go in the right direction.
Reply With Quote
  #3 (permalink)  
Old 01-26-05, 15:42
Conor Conor is offline
Registered User
 
Join Date: Jan 2005
Posts: 9
Hi

Thanks for your reply. I know how to connect to databases using ASP pages and running it on a webserver (ie localhost)


Is there anyway I can build a program file that would let me connect to a database?



COnor
Reply With Quote
  #4 (permalink)  
Old 01-26-05, 17:05
DrewM DrewM is offline
Registered User
 
Join Date: Jan 2005
Posts: 36
What do you mean by program file?

You can connect to a db by writing an application in VBasic or C# etc and create an exe standalone program.
Reply With Quote
  #5 (permalink)  
Old 01-27-05, 10:39
Conor Conor is offline
Registered User
 
Join Date: Jan 2005
Posts: 9
Quote:
Originally Posted by DrewM
What do you mean by program file?

You can connect to a db by writing an application in VBasic or C# etc and create an exe standalone program.
OK I am trying to found a basis of understanding

You know if you were anywhere that has a customer database? It's kind of like an MS-DOS looking window, and you use the Function Keys (eg. Press F2 to enter a new record) and it's text based? Do you know the theory of these programs?

All I want is the name of the (probably ancient ) technology. I will be able to look it up on the web.


Thanks
Conor
Reply With Quote
  #6 (permalink)  
Old 01-27-05, 11:46
DrewM DrewM is offline
Registered User
 
Join Date: Jan 2005
Posts: 36
There is no specific name for that technology.

Those type of applications are software. Maybe running on a windows based machine or maybe totally non-windows.
Reply With Quote
  #7 (permalink)  
Old 01-27-05, 11:52
Conor Conor is offline
Registered User
 
Join Date: Jan 2005
Posts: 9
Hi

Do you know any examples of such software, and what programming language would you consider appropiate if I was to build a program?>
Reply With Quote
  #8 (permalink)  
Old 01-27-05, 13:01
DrewM DrewM is offline
Registered User
 
Join Date: Jan 2005
Posts: 36
I don't know of any specific examples - there are probably thousands of them. I'm not sure that finding such an example is going to help you though in terms of creating a new application.

If it's really old - it's probably written in cobol or something like that.

My suggestion, if you want to make something like that is to code it in asp/access or if they want a stand alone app - code it in VBasic / access.
Reply With Quote
  #9 (permalink)  
Old 01-27-05, 13:16
Conor Conor is offline
Registered User
 
Join Date: Jan 2005
Posts: 9
Would Visual Basic provide the legacy "black screen, text only" type of program?
Reply With Quote
  #10 (permalink)  
Old 01-27-05, 13:30
DrewM DrewM is offline
Registered User
 
Join Date: Jan 2005
Posts: 36
I guess it could if you coded it to look like that.

Why are they hung up on the 1970's look?
Reply With Quote
  #11 (permalink)  
Old 02-04-05, 05:02
Dniz Dniz is offline
Registered User
 
Join Date: Oct 2004
Posts: 26
Why do you need to develop a program as you can directly access to your database using ASP with SQL? You can always set a web page's backgroup to black and font to white to accomplish the mission.
Reply With Quote
  #12 (permalink)  
Old 02-04-05, 07:59
Bullschmidt Bullschmidt is offline
Guru
 
Join Date: Jun 2003
Location: USA
Posts: 1,032
And if you do use ASP to connect with an Access database perhaps this may hopefully give you some ideas:

Web Database Concept
http://www.bullschmidt.com/concept.asp
__________________
J. Paul Schmidt, Freelance Web and Database Developer
www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On