This topic is locked
[SOLVED]

 Sending Form Data To A Second Table

5/30/2013 3:58:24 PM
ASPRunnerPro General questions
M
mfred author

When adding a new record, I need to send some of the form data to a second table.

I am using:

Dim dict

Set dict = values

set dal_table=dal.Table("Jobs")

dal_table.JobNumber=dict("JobID")

dal_table.Jobname=dict("Item1")

dal_table.CostCenter=dict("CostCenter")

dal_table.Add()
But the submission results in:

Microsoft VBScript runtime error '800a01a8'
Object required: 'dal.Table(...)'

Sergey Kornilov admin 5/30/2013

Make sure that table "Jobs" is the part of the project. DAL is only generated for project tables.

M
mfred author 5/31/2013

Thanks. That solved it.