create notes page
hi,
how can i create a notes page which can be added to the database multiple times with a date and time stamp for a single client sale?
the notes should be non editable so once added cant go back and change.
thanks
hi,
how can i create a notes page which can be added to the database multiple times with a date and time stamp for a single client sale?
the notes should be non editable so once added cant go back and change.
thanks
Just create a separate notes field in the database with a field that you can use to associate it with the orderID and another field with the userID. Then only allow inserts into that table. When you want to display the associated notes you can filter the table with the orderID and join in the user details with the userID and display it in a repeated region to show all of the notes.
hi ray by following your instructions will this insert it the one field?
i would want it so it would looke like this:
Readable only
date by user
Details of the notes
Readable only
date by user
Details of the notes
then an insert button to add a new note to the list?
thanks
I would probably insert into three fields, UserID, InsertDate, NoteText
so when you say notes field do you mean a column in the clients table or a seperate table called notes?
thanks
I'd probably use a separate table called notes.
any specific columns? i gather i will need a colum in it to create a relationship from userid to this?
many thanks
That is correct... you would use as many columns as you wanted... most likely a autonumber NoteID, a NoteText field to contain the actual note text, and then one or more fields to allow you to associate the note to one or more other tables. Associate notes to users, orders, or anything else by creating columns that allow you to filter the results when you display them.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.