Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where to start...databases and ASP

Status
Not open for further replies.

neillovell

Programmer
Aug 27, 2002
560
GB
Hello,
I have a database that I've just copied to a network folder. I have a form which I've saved as a data access page, with the view to input and display data. Unfortunately this is not working due to the limitations of Data Access Pages.

What I think I'll need to do is to write some .asp pages that can

1) display certain records based on the current user
and
2) allow data entry



Where do I start? I've done very very little asp programming, and this project has to be completed ASAP - can anyone help?
 
assumingly you have IIS to run the ASP pages
seeing as I have no idea where you really are here's some links in the stages you need to perform to connect to the DB and then show the data and modify it.

the connection string

view the records and input data

did you have anything started? or a spot in the process you are stuck on that we can focus on.
A language that doesn't affect the way you think about programming is not worth knowing.
admin@onpntwebdesigns.com
 
The project is almost finished but this one sticking point is the problem. In my queries I use CurrentUser() to filter only those records that have the current user's name in them. Unfortunately when you surf to a data access page and it runs the query to get the data, the function CurrentUser() is not defined according to the browser. If I set the query to return all records where name = 'neil-lovell' it would work, but because I use CurrentUser() it fails every time.

The database has been copied to a network folder and works perfectly, apart from this bit.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top