Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)

  • RE: MS Access programming advice needed...

    If you use Access Project, you try this out.

    CurrentProject.Connection.Execute "EXEC sp_password '" & Me.txtOld & "', '" & Me.txtNew & "'"

     

     

  • RE: passing parameters to Store Procedure

    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...

  • RE: ADO Find

    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

  • RE: SQL Server 2000 linked to Access 2000

    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,...

  • RE: ROWNUM in MS SQL Server?

    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...

  • RE: ROWNUM in MS SQL Server?

    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

  • RE: Help with SQL string that works but not in VBA

    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; "...

Viewing 7 posts - 1 through 7 (of 7 total)