CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 old unused URL string

Print topic Send  topic

Author Message
beer-monkey.com
Posted: 03/08/2002, 7:20 AM

I have a site which displays job vacancies, this website will obviously display a record from a database... what i need is that is a record no longer exists on the database that a "sorry this vacancy is no longer available" message appears in its place?

for example: http://www.primetime-education.co.uk/jobs/VacancyView.asp?vacancy_id=42 (this is fine becasue the record exists)

however if you went to: http://www.primetime-education.co.uk/jobs/VacancyView.asp?vacancy_id=1 you get a bizarre blank html template.... how could this be prevented?
Nicole
Posted: 03/11/2002, 4:19 AM

Hello,
you may copy generated sql to temporary sql variable and execute it (form Open event) in order to find whether the record exists. If yes, set any flag var e.g. to 1. Create Custom Show event display table fields or custom message depending on flag value.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.