Search:

Type: Posts; User: kemorr; Keyword(s):

Page 1 of 13 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    1,719

    Hi Everyone, I need a little help... I have...

    Hi Everyone,

    I need a little help...

    I have a visual basic 2010 windows application, with a user control in a form, the user control display's data from a database table call sm_tblProduct. ...
  2. Replies
    1
    Views
    474

    Hi Everyone, I am looking for a way to open a...

    Hi Everyone,

    I am looking for a way to open a few thousand letters in preset locations, all have a 6 digit file name. and scan the letter for a specific date then scan the letter for specific...
  3. Replies
    1
    Views
    797

    Hi everyone, I am trying to pass a selection...

    Hi everyone,

    I am trying to pass a selection of parameters to a cursor useing t-sql on MS Server 2005

    I am not sure how to do this, so far I have the following

    DECLARE cur_test CURSOR FOR...
  4. Unfortunately, very few of us are knowledgeable...

    Unfortunately, very few of us are knowledgeable about T-SQL, and even fewer are comfortable with triggers. In principal, you should be able to do what you describe, although I'm a bit fuzzy on some...
  5. Hi everyone, I'm really stuck with this one,...

    Hi everyone,

    I'm really stuck with this one, in my head it seems like a simple task.

    Language T-SQL Platfom: SQL Server 2005

    Background:
    I have read access to a view of a table via a linked...
  6. Replies
    4
    Views
    328

    Why not run an update sql statement? UPDATE...

    Why not run an update sql statement?

    UPDATE [dbo].[tbl_Discharge] SET [Ward] = Left([Ward],CHARINDEX('*',@Ward)-1) WHERE [Download_Date] >= GETDATE()

    Many thanks Hans, Works great.
  7. Replies
    4
    Views
    328

    Why do you use DATEDIFF here? Take a look at...

    Why do you use DATEDIFF here?

    Take a look at the CHARINDEX function.

    Thanks Hans,

    Thats cut down on some code, but I still can't get it to work, it only works if there is only one row that...
  8. Replies
    4
    Views
    328

    Hi everyone, Firstly, Like the new look, very...

    Hi everyone,

    Firstly, Like the new look, very nice!

    I have a table [dbo].[tbl_Discharge] with a column call [Ward] at the moment the column contains data like F1*WSH and PACU*WSH etc, I am...
  9. Create a view with an If Function (SQL Enterprise Manager)

    Hi everyone,

    I am trying to creat a view of a table but include an if function on column 'WARD' the primary table is called tbl_Discharge and the table with exclusions is called tbl_Profile_Detail...
  10. Replies
    4
    Views
    378

    Re: SQL Triggers (SQL Enterprise)

    Thats Great Hans Thanks,

    Is it also possible to put use an UPDATE and INERT trigger in one trigger. i.e. If INSERT THEN do X else if Update then do Y

    Kind Regards
  11. Replies
    4
    Views
    378

    SQL Triggers (SQL Enterprise)

    Hi all,

    I am having a bit of trouble with my trigger (see below), is there a way of identifing any column update i notice
    that * does not work at the point 'IF UPDATE (*) but I have many columns...
  12. Active Directory + SQL + VB / ASP.net (SQL/VB/ASP.net)

    Hi everyone,

    I am not sure where I should post this question so please forgive me if it is in the wrong place.

    I am currently creating a database using SQL and will either be using VB or...
  13. Replies
    9
    Views
    371

    Re: Cloning a record (2003)

    Ok Hans thanks,

    I can't get you a stripped down database to 100kb or less, in the db you have there is a table called tbl_IR, imagine a from that display's that table the form also has a subform...
  14. Replies
    9
    Views
    371

    Re: Cloning a record (2003)

    Hans,

    It's the same a the previous db I uploaded (but I can't find the post) the table is called tbl_IR

    Thanks
  15. Replies
    9
    Views
    371

    Re: Cloning a record (2003)

    Hans,

    Thanks for the reply, you are correct it should I had noticed that after I posted it but this did not fix the problem I get the same problem

    Thanks
  16. Replies
    9
    Views
    371

    Re: Cloning a record (2003)

    Hans,

    Thanks for the reply, DoCmd.Copy is not available so I tried RunCommand(acCmdCopy) and
    (acCmdPasteAppend) but this didn't work either.

    I have gone with using the following but there is...
  17. Replies
    9
    Views
    371

    Cloning a record (2003)

    Hi everyone,

    I have a database that stores current project details, some of these records are recurring events, on the form I have a simple yes/no check box to identify its a recurring event and...
  18. Replies
    4
    Views
    321

    Re: Count problem (2003)

    Hi,

    Thanks Hans, I was definatly making it more complicated than it needed to be! I had found another formular that worked using a sumproduct + sumproduct but your way is much cleaner, thanks
  19. Replies
    6
    Views
    352

    Re: Problem combo box (2003)

    Hi,

    Heres part two this is the backend with the data.

    The form is in the first download and called frm_Dashboard_IA I have highlighted the problem combo in red

    Thanks
  20. Replies
    6
    Views
    352

    Re: Problem combo box (2003)

    Thanks

    Heres part one of the striped down database
  21. Replies
    4
    Views
    321

    Re: Count problem (2003)

    Thanks

    Here you go
  22. Replies
    4
    Views
    321

    Count problem (2003)

    Hi Everyone,

    I am trying to find out how many customers are in the department at any one time, there arrival time being between x and y (15 min blocks) and there departure time being z
    ...
  23. Replies
    6
    Views
    352

    Re: Problem combo box (2003)

    Thanks Hans, I will do. And yes it was helpfull I have only just had time to test it out but works gret now many thanks. Have replied on the original post now!
  24. Thread: Calendar (2003)

    by kemorr
    Replies
    2
    Views
    257

    Re: Calendar (2003)

    Thanks Hans Perfect
  25. Replies
    6
    Views
    352

    Problem combo box (2003)

    Hi All,

    Does anyone know why my combo box is not doing as I expected. I have a form which was created a few weeks ago, and have now decided to add a combo box to this form, the combo box uses the...
Results 1 to 25 of 308
Page 1 of 13 1 2 3 4