Search:

Type: Posts; User: Nosrej

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Thread: Cyrstal Report

    by Nosrej
    Replies
    0
    Views
    401

    Cyrstal Report

    Masters,
    I am new to VB and Crystal Report. I am currently creating a report. I got a problem in the DETAILS section of the report because when i drag a field (ItemCode) into the details section, it...
  2. Replies
    53
    Views
    2,733

    Re: Update database

    Doogle, i am sorry for being so hard..i do really appreciate your advice and am following everything that you have said. It's just that i am new with VB6 (more or less 3 weeks) that i sometimes...
  3. Replies
    53
    Views
    2,733

    Re: Update database

    doogle, if only removing the 'vbModal, Me' in loading the frmSearch inside the cmdSearch click event solved the problem, why is it that nothing happens in mine as what i am expecting..

    please if...
  4. Replies
    53
    Views
    2,733

    Re: Update database

    doogle please..please..you will be a good help to me.. :(
  5. Replies
    53
    Views
    2,733

    Re: Update database

    doogle, aside from removing the 'vbModal, Me', what else did you do? Please help me..I am really desperate now :(
    And can you please post here again an attachment of the project were you have edited...
  6. Replies
    53
    Views
    2,733

    Re: Update database

    doogle, do you mean i will remove 'vbmodal, me' in my search click event?


    Private Sub cmdSearch_Click()
    frmSearch.Show vbModal, Me

    End Sub

    i have to remove that 'vbModal, Me'???...
  7. Replies
    53
    Views
    2,733

    Re: Update database

    im going out now
  8. Replies
    53
    Views
    2,733

    Re: Update database

    please compile it in one folder
  9. Replies
    53
    Views
    2,733

    Re: Update database

    i chopped it into forms and modules..please compile it :(
  10. Replies
    53
    Views
    2,733

    Re: Update database

    ok..got no choice..i just dont want to spread this project because it's a confidential one..but i am desperate..i am going to attach it here..but can i delete it soon as we solved it?

    but my...
  11. Replies
    53
    Views
    2,733

    Re: Update database

    would you like to see my whole code??? hehe
  12. Replies
    53
    Views
    2,733

    Re: Update database

    doogle, i remove the unload me..yet still the same :(
  13. Replies
    53
    Views
    2,733

    Re: Update database

    yes that's right :)
    this is my code in double clicking my list view:
    Private Sub lstRecords_DblClick()

    If Not (lstRecords.SelectedItem Is Nothing) Then

    frmMain.cmbLine.Text =...
  14. Replies
    53
    Views
    2,733

    Re: Update database

    exactly...that is what i am doing.i want ID 290 to be updated..so i double click the record ID 290. then it shows it's LineNo in the main form. then i'll change it to another line no. again, it...
  15. Replies
    53
    Views
    2,733

    Re: Update database

    nothing has changed? no..it has changed. i mean if i click a record having Line = M1, then i can change it to whatever i want. ex. i change it to M2..it successfully changed/updated but not on it's...
  16. Replies
    53
    Views
    2,733

    Re: Update database

    i still have 3 records in my DB. these are the ID's: 289, 290, 292
    i put MsgBox SQL in my code..and it says: update tbldPSR set lineNo = "'M2' where (((ID)=289))
    by the way, in my LineNo, it is a...
  17. Replies
    53
    Views
    2,733

    Re: Update database

    yes it's unique. i make it AutoNumber in my DB using aCCESS
  18. Replies
    53
    Views
    2,733

    Re: Update database

    it is still the same :( it overwrites int the first record again not the correct record :(
  19. Replies
    53
    Views
    2,733

    Re: Update database

    P.S.
    In the first code above, i did not continue adding the subitems because it's too long.hehe
  20. Replies
    53
    Views
    2,733

    Re: Update database

    ok.
    this is for calling my records in my listview from Search Form;


    Public Sub ListRecords()
    Dim rsData As ADODB.Recordset

    Set rsData = DBConn.Execute("SELECT ID, LineNo, Shift,...
  21. Replies
    53
    Views
    2,733

    Re: Update database

    or email me here first if you dont want then i'll send it as a reply.
    fatherBO@gmail.com
  22. Replies
    53
    Views
    2,733

    Re: Update database

    can i ask your email add? i will send it there..please
  23. Replies
    53
    Views
    2,733

    Re: Update database

    hehe it says "Inavlid Key"

    and if i make

    With frmSearch.lstRecords.ListItems(frmSearch.lstRecords.SelectedItem.Text)
    it says "No element found"
  24. Replies
    53
    Views
    2,733

    Re: Update database

    doogle, i followed it but it says "Invalid Qualifier"..
  25. Replies
    53
    Views
    2,733

    Re: Update database

    can you please tell me how am i going to solve this?
  26. Replies
    53
    Views
    2,733

    Re: Update database

    Doogle, so what does that mean?
  27. Replies
    53
    Views
    2,733

    Re: Update database

    To Doogle:
    Sorry if i make you confused.hehe..i am using a listview..not a listbox.sorry
  28. Replies
    53
    Views
    2,733

    Re: Update database

    To DataMiser:
    I am really i am new to vb6. I dont know how to follow the "Debug Window in the IDE"..is this when i run my project and go to Debug Menu? sorry :(

    To Doogle:
    I think i am using a...
  29. Replies
    53
    Views
    2,733

    Re: Update database

    To Tyson:

    What do you mean by Database not mentioned in my select?
    And tblDPSR.ID is a unique. The name of my database is DB and tbldDPSR is my table.

    To DataMiser:

    I dont know how to use...
  30. Replies
    53
    Views
    2,733

    [RESOLVED] Update database

    Masters,

    I got a problem in updating my database..
    This is the scenario:

    I'll go to my search form, then i have a ListBox showing all my records. If i double click any record, it will go to...
  31. Replies
    2
    Views
    539

    Icon cannot be changed!!!!

    Please help me..This is urgent if it's ok.
    I already followed the forums in changing the icon. However, it appears to be "INVALID PICTURE" as i chose my icon. my icon is 16x16 and 32x32..both are...
  32. Replies
    0
    Views
    489

    code to link Crystal Report

    Masters,

    I have created my Crystal Report. And i want my "Print Preview" button to link to my report.



    Private Sub cmdPrint_Click()

    what code should i put here????
    End Sub
  33. Replies
    8
    Views
    26,057

    Re: If statement combo box has a value

    I mean the values of my combo boxes are strings:

    cmbLine: Line1, Line2, Line3, Line4

    cmbShift: 7am-8pm, 8pm-7am

    cmbPrepared: name1, name2, name3

    This is my pseudo code:
    If...
  34. Replies
    8
    Views
    26,057

    If statement combo box has a value

    Masters,

    What is the correct If Statement for this:
    I have 3 combo boxes, (cmbLine, cmbShift, cmbPrepared).
    If one or more of the combo boxes has no selection, it wont save in the db.
    But if...
  35. Database - How can I work with dates correctly?

    please help me with this..please tell what is wrong here..here is my code;
    Private Sub cmdSave_Click()
    Dim db_file As String
    Dim statement As String
    Dim conn1 As ADODB.Connection
    Dim ctl As...
  36. Replies
    2
    Views
    1,144

    Re: DTPicker Extension

    I have already used the .Value. Here is my code:

    Private Sub cmdSave_Click()
    Dim db_file As String
    Dim statement As String
    Dim conn1 As ADODB.Connection
    Dim ctl As Control
    ...
  37. Replies
    2
    Views
    1,144

    DTPicker Extension

    Good day,
    I need a help again vb masters..
    I have a DTPicker named DTCalendar. Now I want to save the date in my database. But my question is what is the extension i am going to use.
    Example, in...
  38. Replies
    6
    Views
    3,960

    Re: Automatic Refresh Combo Box

    oww oww oww..i got it already!!!
    Thanks a lot INCIDENTALS and 4X2Y!!!

    What I did was, I followed the UpdateData method. And I added .Clear in my combo box inside UpdateData.

    Salamat again :)
  39. Replies
    6
    Views
    3,960

    Re: Automatic Refresh Combo Box

    To 4x2y,

    I followed your suggestion. It did update. However, another problem exist!!! After i add new item in form2, the data in my combo box were duplicating..And it does so every time I add new...
  40. Replies
    6
    Views
    3,960

    Re: Automatic Refresh Combo Box

    please what is the code to repopulate the combo box?
    i am still new with vb 6..
    please help me :(
Results 1 to 40 of 42
Page 1 of 2 1 2



Click Here to Expand Forum to Full Width