Krishan Posted April 27, 2001 Posted April 27, 2001 Hi. Does anyone know how to create 10 unique fields? - so that each single field is unique within the record as well as the database. Thanks!
LiveOak Posted April 27, 2001 Posted April 27, 2001 Are you talking about unique fields or unique data entered into fields? How about a description of what you are trying to do in simple terms. The structure of databases is such that field definitions are common to all records. -bd
Krishan Posted April 28, 2001 Author Posted April 28, 2001 hi.. thanks for your reply. I've trying to create fields for the names of images which users will upload. I'm going to use one ftp folder using Webstar's upload plug-in to allow users to upload images with their message on my message board. On the first page it will allow them to type their message and type the names (in 10 fields) of the 10 images they would like to upload. When this is submitted it will create a new record in my Messages.fp5 database. They will then be taken to an upload page where they can upload the images they named earlier. Using the names of the images I can create a direct URL path to that image. I need the image fields to be unique to that my URL path doesn't get mixed up... I think you can prevent replacement upload of files with the same name using Webstar.... But I have to make sure you can not create a record in the Messages.fp5 database with two image names which are the same. Thanks for your time..... Can you help?
scratchmalogicalwax Posted April 29, 2001 Posted April 29, 2001 You could do this with JavaScript before the page is submitted by adapting a form processing script you can get from the internet try http://www.a1javascripts.com
Recommended Posts
This topic is 8600 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now