zblakroz
|
| Posted: 08/16/2002, 4:58 PM |
|
Hi,
I am real new to data driven sites...forgive me if these are really stupid questions....
:)
I am trying to set up a field in a classified listing that will automatically show with the user login in order to track who creates what ads....I cannot figure out how to do this...
I am also trying to set up a field that will show a date expired field that will calculated the date +30 days... This is accomplished in the DB already, I just do not know how to display that information on the webpage. Please help!
|
|
|
 |
Alex Alexapolsky
|
| Posted: 08/17/2002, 5:09 AM |
|
You can get user id like this in Form/Before Insert event :
fldusername = session("UserID")
CC automatically creates variables for form/database fields.
They contain field values that you can feel free to change.
"fld" is a standard prefix for cc field variable. For instance
if field name is price then corresponding cc variable is named fldprice.
You can manipulate them through events.
|
|
|
 |
|