This topic is locked

Insert Record Into New Table

2/5/2009 11:34:32 AM
ASPRunnerPro General questions
H
huffharper author

After add....I want to enter 'myText' as a default value for the new record, this is a different value than my default on add page but it will be the same for every record created through this function - Of course the dict ()'s pass properly.
dal.Events.ProjectID = dict ("ID")

dal.Events.StartDate = dict ("OriginalBidDate")
dal.Events.Event = "myText"
dal.Events.CreatedBy = session("userid")

dal.Events.CreatedDate = now()

dal.Events.Add()

H
huffharper author 2/5/2009

dal.Events.value("event") = "myText"