Search:

Type: Posts; User: LG

Page 1 of 8 1 2 3 4

Search: Search took 0.21 seconds.

  1. Thread: Access object

    by LG
    Replies
    0
    Views
    358

    Build in Access pop-up menu

    Hi, everybody!
    In Access when you right click on a column, appears a pop-up menu, where you can filter records, change sorting and so on.
    Does anybody know how I can do it in VB. I don't mean to...
  2. Thread: Stored Procedure

    by LG
    Replies
    9
    Views
    685

    1. Did you put rst.MoveFirst before Do...

    1. Did you put
    rst.MoveFirst before Do Until?
    2. I don't understand what you mean "Yet if I use "stemp" = tide(from textbox)"
    3. With this line
    Set rst = objcmd.Execute(, stemp & "%")
    ...
  3. Thread: Stored Procedure

    by LG
    Replies
    9
    Views
    685

    Did you put rst.MoveFirst before Do Until? Did...

    Did you put
    rst.MoveFirst before Do Until?
    Did you copy my code or just modify yours?
    I didn't get any errors on my computer.
  4. Thread: Stored Procedure

    by LG
    Replies
    9
    Views
    685

    Try this With objcmd .CommandText =...

    Try this


    With objcmd
    .CommandText = "sp_description"
    .CommandType = adCmdStoredProc
    .ActiveConnection = cn
    End With

    stemp = txtInfo.Text
  5. Thread: resultset

    by LG
    Replies
    5
    Views
    484

    Hi, there. Could you post exact syntaxes of your...

    Hi, there.
    Could you post exact syntaxes of your stored procedure?
    Did you hard coded 'stemp' in your sp or you used variable?
  6. Thread: resultset

    by LG
    Replies
    5
    Views
    484

    Hi, there. You should use wildcharacters with...

    Hi, there.

    You should use wildcharacters with LIKE:

    'select proddesc from marcprod (index = mydesc) where proddesc like '%stemp%'

    if you are looking for exact word 'stemp', then

    'select...
  7. Thread: Query Result

    by LG
    Replies
    18
    Views
    626

    The string in a where clause should be inclosed...

    The string in a where clause should be inclosed in single quotes.
  8. Thread: Query Result

    by LG
    Replies
    18
    Views
    626

    This line is totally wrong: strCLID = "select *...

    This line is totally wrong:
    strCLID = "select * from tbldigidoc where tbldigidoc.Cl_ID & like & strCLID"

    It should be:

    strCLID = "select * from tbldigidoc where tbldigidoc.Cl_ID like '" &...
  9. Replies
    5
    Views
    449

    Try this: SELECT candidate.*,...

    Try this:

    SELECT candidate.*, candidatehistory.*
    FROM candidate INNER JOIN candidatehistory ON candidate.candidateID = candidatehistory .candidateID
    WHERE candidate.candidateID= 4242424242
    ...
  10. Replies
    5
    Views
    449

    Hi, there. Did you try that: SELECT...

    Hi, there. Did you try that:

    SELECT candidate.*,candidatehistory.* from candidate,candidatehistory where candidateID = 4242424242

    What datatype is candidateID?
  11. Replies
    3
    Views
    392

    It doesn't work this way. SaveSetting alows you...

    It doesn't work this way.
    SaveSetting alows you to access and save YOUR application specifics in ....\Software\VB and VBA applications or something like that. If you want to access any other keys -...
  12. Thread: DB and Combo Box

    by LG
    Replies
    9
    Views
    648

    You can use Space function: cboemail.AddItem...

    You can use Space function:

    cboemail.AddItem ![Name] & Space(5) & ![email_addrs]

    or

    cboemail.AddItem ![Name] & " " & ![email_addrs]
  13. Replies
    4
    Views
    707

    Hi there. DAO and ADO uses different methods...

    Hi there.

    DAO and ADO uses different methods to open recordset. Check Help. There may be other differences as well. Why did you switch libraries?
  14. Thread: movenext

    by LG
    Replies
    9
    Views
    735

    Hi. You don't understand meaning of EOF and...

    Hi.

    You don't understand meaning of EOF and BOF.
    BOF — Indicates that the current record position is before the first record in a Recordset object.


    EOF — Indicates that the current record...
  15. Replies
    6
    Views
    645

    Hi, there. You can try this: Add Microsoft...

    Hi, there.

    You can try this:

    Add Microsoft ADO Data Control 6.0 to your project.
    Put it on your form. Right click on it, choose ADODC Properties. In General Tab check Use Connection String and...
  16. Thread: cristal report

    by LG
    Replies
    1
    Views
    342

    Hi, there. Try this: Open Crystal Report in a...

    Hi, there.

    Try this:
    Open Crystal Report in a Design view, right click on the field you want to change. Choose Format Field. Click Tab Number. Change value in Decimals box to 1.

    Hope this...
  17. Thread: movenext

    by LG
    Replies
    9
    Views
    735

    Hi, smh. First of all monte96 is right, you...

    Hi, smh.

    First of all monte96 is right, you should declare database and recordset in Option Explicit.
    Second - if rst.EOF is true you cannot use .MoveLast ,only .MovePrevious. EOF is not the last...
  18. Replies
    5
    Views
    398

    Hi, Afroide. Try this: 1.Open report in a...

    Hi, Afroide.

    Try this:

    1.Open report in a Design view, Click on the Group Footer or Report Footer (which one you don't want to see) and delete it. Summary information are displayed in a Report...
  19. Replies
    19
    Views
    1,167

    Paul Lewis, Sory to tell you that it will...

    Paul Lewis,

    Sory to tell you that it will never works in general because not every control within a form will have property Value. And that what is triggersd "Invalid use of property mentioned...
  20. Replies
    6
    Views
    1,296

    From Windows SDK: 126 The specified module...

    From Windows SDK:

    126 The specified module could not be found. ERROR_MOD_NOT_FOUND
  21. Regular datacontrol won't work with Access2000....

    Regular datacontrol won't work with Access2000. You have to use ADO datacontrol.
  22. Replies
    6
    Views
    711

    Thom, Check this post....

    Thom,
    Check this post.
    http://forums.vb-world.net/showthread.php?threadid=22135
  23. Replies
    12
    Views
    1,674

    Well Sarun ... on error goto WrongDate...

    Well Sarun ...

    on error goto WrongDate
    MyDate = CDate(AnyString)
    on error gotot 0

    That will work in any cases (including leap year.

    srl !
  24. Thread: Line control

    by LG
    Replies
    1
    Views
    393

    Throw away line control, put Image control, make...

    Throw away line control, put Image control, make it thin as line and you will get a click event.... I think.
  25. Replies
    6
    Views
    600

    It is not about system events, realy. I...

    It is not about system events, realy.
    I uderstand this like:

    VB doesn't have a control over COM port because COM is a sistem device, end servised by system. But VB is notified by OS about any...
  26. Replies
    6
    Views
    600

    Are you working with COM ports? If so then dont...

    Are you working with COM ports? If so then dont foget that COM ports operate asynchronicaly. You are using loop with out DoEvents and you perfom some codes before Waiting 15 msec. You have to be sure...
  27. Replies
    31
    Views
    2,517

    Quite theoretical topic.... In one book (don't...

    Quite theoretical topic....

    In one book (don't remember the name) author called Public variables of the class as "parameter". You like it or not it is quite a nature of public variables. If...
  28. Replies
    4
    Views
    438

    Can not find any info on this subject, Help...

    Can not find any info on this subject, Help !!!!!??????
  29. Replies
    4
    Views
    438

    I don't have that CD but I will check it out....

    I don't have that CD but I will check it out.
    Thaks for direction.
  30. Replies
    4
    Views
    438

    Windows 2000 ..... The standard scheme in W2000...

    Windows 2000 .....
    The standard scheme in W2000 is different from W98 by colors (I can live with that) and default system font.
    System font now is "Tahoma" and the problem is:

    As soon as VB...
  31. Thread: Files

    by LG
    Replies
    12
    Views
    1,056

    kedaman Open Filename For Binary As fnum...

    kedaman


    Open Filename For Binary As fnum
    File = Space(LOF(fnum))
    Get #fnum, , File
    Close fnum
    For some reason File(a) returns empty string all the time.
    What am I...
  32. Thread: Files

    by LG
    Replies
    12
    Views
    1,056

    Looks promissing, I'll give it a tray.

    Looks promissing, I'll give it a tray.
  33. Thread: Files

    by LG
    Replies
    12
    Views
    1,056

    Yes HeSaidJoe, now you got to the problem. You...

    Yes HeSaidJoe, now you got to the problem.

    You see. The dos command is idial, the only thing is that it (shell) runs it asychronicaly. The next action in the application is to read from appendend...
  34. Thread: Files

    by LG
    Replies
    12
    Views
    1,056

    Thanks. I got to this point myself but the...

    Thanks.

    I got to this point myself but the problem still remains.
    The result of DOS commant copy A:*.txt c:\temp.txt is the only file, so maybe the question should be "How to append files"
  35. Thread: Files

    by LG
    Replies
    12
    Views
    1,056

    Thank you , but you are missing my point:...

    Thank you , but you are missing my point: CopyFile does not take a "wild card". Otherwise I would not have a this question.
  36. Thread: Files

    by LG
    Replies
    12
    Views
    1,056

    What would be an equivalent in VB for a simple...

    What would be an equivalent in VB for a simple DOS command?

    copy A:*.txt c:\temp.txt
    del A:*.txt

    Or maybe someone can give me a hand to run such BAT file with help of Shell. the problem with...
  37. Thread: DataBase Problem

    by LG
    Replies
    3
    Views
    460

    Do you refresh recordset after delete?

    Do you refresh recordset after delete?
  38. Replies
    11
    Views
    687

    What is a purpose of doing this?

    What is a purpose of doing this?
  39. Replies
    5
    Views
    429

    And UDT are not objects so:Plugins.cls 'This is...

    And UDT are not objects so:Plugins.cls
    'This is The Plugin Class

    'local variable(s) to hold property value(s)
    Private mvarmnm As PLUGIN_AUTHOR 'local copy
    Friend Property Let Plugs(ByVal vData...
  40. Replies
    5
    Views
    429

    What is wrong with Friend?

    What is wrong with Friend?
Results 1 to 40 of 308
Page 1 of 8 1 2 3 4



Click Here to Expand Forum to Full Width