CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Sivar

Search: Search took 0.05 seconds.

  1. Replies
    3
    Views
    802

    Forms Authentication

    Thanks for the reply

    You are not at all used Forms.Authenticate method in the sample and you are using Session("Security"). I am pretty new to ASP.Net. Sorry I couldn't understand the example....
  2. Replies
    3
    Views
    802

    Forms Authentication

    Hi,

    I have a table contains Username and Password, I have to use this table to implement Forms Authentication. So instead of mentioning each user name and password in the Web.Config I wanted to...
  3. Replies
    6
    Views
    896

    Re: Query Modification

    Hello,

    I would like to make clear on my previous post that when using null on select statement computation it will show a warning message for using null, but at the mean time it will not take...
  4. Replies
    5
    Views
    1,511

    Re: Help with tool tip text in a MSFlexgrid

    Hi,

    Since I am busy with the project i couldn't reply.

    x is having value of current mouse position and .Colpos(i) will return starting value of i th Column.

    If .ColPos(i) <= x Then
    ...
  5. Replies
    6
    Views
    896

    Re: Query Modification

    Yes cjard,

    it will return warning message while working with QA, but it will return correct result.

    Regards

    Sivar
  6. Replies
    5
    Views
    1,511

    Re: Help with tool tip text in a MSFlexgrid

    Hi,

    you can do it through MouseMove event

    Private Sub msfmat_MouseMove(Button As Integer, Shift As Integer, x As Single, y As Single)

    With msfmat
    For i = 1 To msfmat.Cols - 1
    If...
  7. Replies
    7
    Views
    1,095

    Re: using BETWEEN in SQL2005

    Hi,

    Yes, It is my mistake, I would come soon with same kind of trick.

    This could satisfy the criteria I hope.

    CONVERT(NVARCHAR, D.Spd_deldateans, 101)
    between @date1 AND...
  8. Replies
    6
    Views
    896

    Re: Query Modification

    Hi Pankaj,

    Just try this. I hope it will work.

    add this piece of code in your query for both fields.

    avg(case when Time = 0 then null
    else Time end)
  9. Replies
    6
    Views
    896

    Re: Query Modification

    Hi,

    As per your question you can add the conditions in the where clause itself.

    or

    are you trying to use summarised values in the condition i.e AVG(TIME)? you can go with Having Clause
    ...
  10. Thread: Update a Table

    by Sivar
    Replies
    4
    Views
    994

    Re: Update a Table

    Hi,

    Just add From Clause with you statment.

    Update OrgMember Set OrgMember.LeftPaid=CopyMember.LeftPaid FROM COPYMEMBER Where OrgMember.UserID=
    CopyMember.userID


    Regards
  11. Replies
    7
    Views
    1,095

    Re: using BETWEEN in SQL2005

    Hi,

    This is just an alternative idea.

    CONVERT(NVARCHAR, D.Spd_deldateans, 101) between @DATE1 AND @DATE2 or CONVERT(NVARCHAR, D.Spd_deldateans, 101) > @DATE1 OR CONVERT(NVARCHAR,...
  12. Replies
    4
    Views
    1,874

    Re: How to debug a dll file

    Hi,

    Hope you already created the dll file.

    Make the following change in the dll project. In the project properties Dialog box Component Tab set Version Comapatibility to Project...
  13. Re: Passing Main Query Field value to the Sub Query...?

    Hi,

    A subquery can refer the column of outer query. This is called as correlated subquery. So for each value of outer query the sub query will be executed.

    what you are mentioned is...
  14. Replies
    15
    Views
    13,540

    Re: How to find the n-th record ?

    Hi,

    This is another method, I hope this will be good in performance compare with what you said.

    set rowcount 1
    SELECT TOP n field FROM table ORDER BY field ASC

    Here no two TOP...
  15. Replies
    22
    Views
    5,940

    Re: how to filter data

    Hello

    You are wrong here

    .Filter "PartNumber LIKE ' strName * '"

    change it as the following

    .Filter "PartNumber LIKE '" & strName & "%'"
  16. Replies
    1
    Views
    545

    Re: can 2 different database merge?

    Hi yhung82,

    Microsoft Access provides Import function to import data from other databases, through ODBC, etc.,

    See File -> Get External Data menu in the Mircorsoft Access.

    ...
  17. Replies
    3
    Views
    697

    Re: Access 2000 module access coding problem

    Hi Amarjit,

    Set dbs = OpenDatabase("d:\amarjit\access\testdb.mdb")

    You change the above statement with the following one

    Set dbs = Currentdb


    Regards
  18. Replies
    22
    Views
    5,940

    Re: how to filter data

    Hi

    Here put filter statement first instead of requery

    adodc1.recordset.filter = ""
    adodc1.recordset.requery

    It will work.
  19. Replies
    1
    Views
    748

    Re: code for downtime calculation

    Hi vckiran83,

    The description is not clear. As per your statement Non_working working hours should not be considered for downtime calculation.

    Your statment is this for same date
    ...
  20. Replies
    3
    Views
    680

    Re: Object Arrays

    Hi Laurel

    Have you tested the code that you have written?

    It is working fine,

    I used to do the same method

    Sivar
  21. Thread: Alter Column

    by Sivar
    Replies
    2
    Views
    675

    Re: Alter Column

    Hi Chandru,

    Altered column cannot be text, image, ntext, or timestamp data type
    in the ALTER TABLE statement

    Enterprise Manager allows you to change the datatype from text to ntext datatype,...
Results 1 to 21 of 21





Click Here to Expand Forum to Full Width

Featured