Hello, I need to add a new hidden field to my add/edit page that will update the table when a new record it added or updated..not sure how to write the SQL stmt to automatically create this hidden field.
The user is required to enter a 6 digit program code, which begins with a letter followed by 5 numbers. So, if the program code is A12345, then I want the hidden field to be an "A"....if the program code is B67891, then the hidden field needs to be a "B"... how would I write this SQL stmt????? Thanks again! __________________________________________________ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists