Just to prove that I'm not an Access developer, I posit the following:
Is there an equivalent to an SQL Server Stored Procedure in MS Access? Apart from a Stored Query that is.
For example, could the following sproc be replicated in MS Access
Code:Create Procedure Foo as Declare @A int; Begin Transaction Select @A = FieldA From someTable Where FieldB = 'some search cirteria'; If @A is not Null Insert Into someOtherTable Select FieldX, FieldY, FieldB From yetAnotherTable Where yetAnotherTableID = @A If [some more statements] = 'did not work' Begin Rollback Transaction; return End Commit Transaction Return



LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks