navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Getting trickier....

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Getting trickier....
Page: [1]
 
Stuart at Cherry

 

Posts: 121
From: Leeds, West Yorkshire, UK
Status: offline

 
Getting trickier.... - 3/28/2001 20:18:00   
Okay, yesterday I had a blinder. Updated my recruitment site so that it had a back end access database, an asp page which pulled up the vacancies from the database. I also put in an 'admin' section of the site which allowed consultants to post their own jobs. This put the jobs in the database and they are immediately displayed in the vacancies.asp page. Great.

However, I need a 'vacancies administration section' where consultants can amend jobs - say they realised they made a mistake after posting - and where they can remove vacancies once they are no longer open. I've created a page which lists the vacancies in summary form, and have put two buttons next to each - amend, and delete - but now I don't know how to get them work. I'd put up a page similar to the 'post a job' one and populate it with the info originally posted, but how can I be sure when it posts back to database it overwrites the job and doesn't just create another?

And what about the delete? Where on earth do I start with that?

If anyone's interested, you can see what I mean on the test site www.vbcontracts.com if you click on the admin link bottom left of the screen. Oh you'll need a name and password (thanks spooky!) and 'paul' and 'paul' will get you in.

Thanks in advance

------------------
***born to be wild***

Stuart at Cherry

 

Posts: 121
From: Leeds, West Yorkshire, UK
Status: offline

 
RE: Getting trickier.... - 3/28/2001 20:03:00   
Ugh, kind of fixed this now. Gave up on the 'amend' field and left it at add and delete.

Did the delete stuff from a link on this site using a 'deleterecord.asp' with the following in the SQL Statement box:

DELETE DISTINCTROW Job_reference
FROM Vacancies
WHERE (Job_reference='::Job_reference::')

Where the Job_reference had been passed from a delete.asp page. It's a bit clumsy, but it works.

You can still see it on the site per previous post if you're interested.

Thanks again to outfront.net for the info...

------------------
***born to be wild***


(in reply to Stuart at Cherry)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Getting trickier....
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts