Hi
There were a few thousand records in the table, currently at 5245, I dont know if that could be the reason?
The code i'm currently using is:
string bizFormName = "My_Bizform";
string siteName = "My_Site";
BizFormInfo bfi = BizFormInfoProvider.GetBizFormInfo(bizFormName, siteName);
if (bfi != null)
{
DataClassInfo dci = DataClassInfoProvider.GetDataClass(bfi.FormClassID);
if (dci != null)
{
for (int i = 0; i < Loop_Count; i++)
{
GeneralConnection genConn = ConnectionHelper.GetConnection();
DataClass formRecord = new DataClass(dci.ClassName, genConn);
formRecord.SetValue("FormInserted", DateTime.Now);
//Set other values
formRecord.Insert();
bfi.FormItems++;
BizFormInfoProvider.SetBizFormInfo(bfi);
}
}
}
Thanks,
Tim