Hi,
FillAll is not a problem. Only when we edit and save , the updating stored procedure keeps bombarding.
Note: The data gets updated and new records can inserted.
I put a break point @ AfterSave Event. It never fired.
I uninstall the whole strataframe and re-installed
I created another application and started from the scratch.
This is the stored procedure I am using:
CREATE PROCEDURE [dbo].[UpdateBeneficiaryQuestionSections]
@BeneficiaryQuestionSectionID uniqueidentifier,
@BeneficiaryQuestionSectionCode
nchar(3), @BeneficiaryQuestionSectionName
nvarchar(50),@BeneficiaryTypeID
uniqueidentifier,@BeneficiaryQuestionSectionID_ORGPK
uniqueidentifierAS
BEGIN
SET NOCOUNT ONUPDATE [dbo].[BeneficiaryQuestionSections] SET [BeneficiaryQuestionSectionCode] = @BeneficiaryQuestionSectionCode, [BeneficiaryQuestionSectionName]
= @BeneficiaryQuestionSectionName,[BeneficiaryTypeID]
= @BeneficiaryTypeIDWHERE [BeneficiaryQuestionSectionID]=@BeneficiaryQuestionSectionIDand
This is the table
CREATE
TABLE [dbo].[BeneficiaryQuestionSections]([BeneficiaryQuestionSectionID] [uniqueidentifier]
NOT NULL CONSTRAINT [DF_BeneficiaryQuestionSections_BeneficiaryQuestionSectionID] DEFAULT (newid()),[BeneficiaryQuestionSectionName] [nvarchar]
(50) NULL,[BeneficiaryQuestionSectionCode] [nchar]
(3) NOT NULL,[BeneficiaryTypeID] [uniqueidentifier]
NULL,CONSTRAINT [PK_BeneficiaryQuestionSections] PRIMARY KEY CLUSTERED (
[BeneficiaryQuestionSectionID]
ASC)
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY])
ON [PRIMARY]GO
ALTER
TABLE [dbo].[BeneficiaryQuestionSections] WITH CHECK ADD CONSTRAINT [FK_BQBeneficiaryTypeID] FOREIGN KEY([BeneficiaryTypeID])REFERENCES
[dbo].[BeneficiaryType] ([BeneficiaryTypeID])GO
ALTER
TABLE [dbo].[BeneficiaryQuestionSections] CHECK CONSTRAINT [FK_BQBeneficiaryTypeID]