Viewing 7 posts - 1 through 7 (of 7 total)
If you use Access Project, you try this out.
CurrentProject.Connection.Execute "EXEC sp_password '" & Me.txtOld & "', '" & Me.txtNew & "'"
June 5, 2004 at 8:23 am
You can use IN operator to help. You might check this sp out by testing in Northwind database.
Create Procedure spGetEmployee
@EmployeeIDs varchar(500)
AS
declare @sql varchar(1000)
select @sql...
April 24, 2004 at 8:17 am
You can save the current record to force it to get the auto id.
Just use the code below and see if it works the way you want.
DoCmd.RunCommand acCmdSaveRecord
April 4, 2004 at 11:32 pm
If you use Access Project, you shouldn't have the problem at all.
Anyhow, what field1 in the Create View statement stands for? Or it's a typo?
CREATE VIEW dbo.vwMyView
AS
SELECT field1, name,...
April 4, 2004 at 11:19 pm
Thank you both again.
Here's what I used before posting the question here.
select (
select count(*)from products
as temp
where convert(int,(right(temp.product_id,6)))<
convert(int,(right(products.product_id,6)))
)+1 as no, product_id
from products
I was looking for something else...
August 26, 2003 at 7:59 am
Thank you, Steve.
So life is not that e-z with SQL Server, huh?
Edited by - kaeg on 08/24/2003 11:35:06 PM
August 24, 2003 at 11:13 pm
You have to supply the dayx (I guess it's Integer) to the code and make the sql 1 as a parametered sql like this
sql1 = "PARAMETERS dayx Short; "...
April 25, 2002 at 10:04 am
Viewing 7 posts - 1 through 7 (of 7 total)