Search:

Type: Posts; User: maki

Page 1 of 3 1 2 3

Search: Search took 0.18 seconds.

  1. Replies
    22
    Views
    1,289

    Re: record update problem

    By adding a button to frmform9 and calling RefreshData i get the message "You're either to the first or last record" meaning that rs.BOF = True Or rs.EOF = True. And still no update
  2. Replies
    22
    Views
    1,289

    Re: record update problem

    Sorry for the delay, i was trying to combine your advises and code to make it work.
    Still nothing even when i call the RefreshData sub.
    But i've notice something really strange. After the update i...
  3. Replies
    22
    Views
    1,289

    Re: record update problem

    No sorry, the problem is that the records are not being updated unless i open frmform9 and run the cmd_previous

    Thanks anhn
  4. Replies
    22
    Views
    1,289

    Re: record update problem

    The problem remains, even when the form 9 has not been loaded at all.

    I performed the debugging. Everything seems to work ok. The form_load in form 9 is being executed, then the fillfields sub...
  5. Replies
    22
    Views
    1,289

    Re: record update problem

    I've tried your code and it still doesn't seem to work.

    The "unload me" in the initialiaze_prolog function never runs as long as the connection is ok an as long as it retrieves results. So in my...
  6. Replies
    22
    Views
    1,289

    Re: record update problem

    Thank you very much for your useful advises. I' ll use them to improve my code.

    As for the problrm it still remains even when i use



    Load frmForm9


    or
  7. Replies
    22
    Views
    1,289

    Re: record update problem

    ok. tell me if you need anything else
  8. Replies
    22
    Views
    1,289

    Re: record update problem

    It seems that i have a problem with the file upload limit. Is there any way i can send you the hole project
  9. Replies
    22
    Views
    1,289

    Re: record update problem

    In the .zip file i post the vb code and the database. I haven't posted a .pl file thought because is not the part that i developed. So the programme is not actialy working this way. please tell me if...
  10. Replies
    22
    Views
    1,289

    Re: record update problem

    I get now what you mean about the cursor type. I 've used adLockPessimistic so that should be ok right?

    I call the form_load in oreder to open the specific table from the database.

    When i...
  11. Replies
    22
    Views
    1,289

    Re: record update problem

    When i update the record along with save i call the Form_load routine from the other form which calls the fillfields too but this doesn't seem to work.

    I really lost you in the cursor type. Does...
  12. Replies
    22
    Views
    1,289

    record update problem

    Hello,

    I am facing some problems with records update in a vb6 program which uses ado for the connection with an access database. To create this application i was based to beacon' s tutorial.
    ...
  13. Replies
    7
    Views
    1,229

    Re: .frm loaded as module and encoding problem

    Ok! I ask because there are some greek characters in the code so maybe they created a problem or something (just quesing i don't have a clue).

    I just want to ask is this possible, some of the...
  14. Replies
    7
    Views
    1,229

    Re: .frm loaded as module and encoding problem

    I have a previous version but it is a little old. Is there maybe an encoding that i should select in notepad or another editor that will show the code?
  15. Replies
    7
    Views
    1,229

    Re: .frm loaded as module and encoding problem

    I've done that but the encoding is a mess i can't read anything
  16. Replies
    7
    Views
    1,229

    .frm loaded as module and encoding problem

    Hello,


    I have created a vb6 application and after a system problem i cant't open it in design view. The .exe is running ok but in design view only 2 of the forms are loaded and for the rest of...
  17. Replies
    4
    Views
    731

    Re: [RESOLVED] how to add scrollbar to form

    Hello!

    I've added the above code to my form everything works fine except from one frame that i have added to the form. Is there something special about scrollbars and frames?
  18. Replies
    4
    Views
    448

    Re: find record (combobox problem)

    I changed my code a little bit and now i get an error "Either bof or eof is true, the fuction that you ask for needs a record" Here 's my code:



    Private Sub cmd_Save_Click()

    i = 1
    rs.Find...
  19. Replies
    4
    Views
    448

    Re: find record (combobox problem)

    i tryied the rs.find method

    rs.Find "class='" & Combo1.Text & "'"
    but now i get an error saying that an index or a primary key can't be null.
    I used the above code with textbox and it works...
  20. Replies
    4
    Views
    448

    find record (combobox problem)

    Hello,

    I am using vb6, ms access and ado connection to my application. I have a combobox which is filled with the data from one table of the database. When the user selects one of the values of...
  21. Re: many controls, same function, different management???

    ok guys,

    i've used array controls to resolve this one. the code i've used is the following



    i = 0
    rs.MoveFirst
    Do While rs.EOF = False
    If rs.Fields("true") = True Then
  22. Re: many controls, same function, different management???

    What i want to do is to be able to link each checkbox with a diferrent record from the dataset and i don't want to use a datagrid. Is there a way to create a loop to manage the checkboxes so i won't...
  23. Re: many controls, same function, different management???

    ok sorry, each checkbox represents a single record in the dataset
  24. [RESOLVED] many controls, same function, different management???

    Hello,

    I want to create some sort of calendar using vb6. The user can select from some hours from a database. I' ve used ms access and ado for the connection.
    The selected hours can bee seen as...
  25. Replies
    18
    Views
    1,362

    Re: export ado recordsets to text

    Yes i think it works fine.

    Now i will try to create queries to print complex data from different recordsets and to be able to write to specifiv lines of a text file so i can create a small prolog...
  26. Replies
    18
    Views
    1,362

    Re: export ado recordsets to text

    I also added


    rs.MoveFirst

    before i open the file so all the records will be copied
  27. Replies
    18
    Views
    1,362

    Re: export ado recordsets to text

    Never mind i post the code to the unload sub and it all works fine... or so i think
  28. Replies
    18
    Views
    1,362

    Re: export ado recordsets to text

    Where should i put this code?
    In the initial code that i posted i added a new sub




    Private Sub cmd_Copy_Click()
    'code to create recordset
    Open "c:\rooms.txt" For Append As #1
  29. Replies
    18
    Views
    1,362

    Re: export ado recordsets to text

    I have a question thought, in this way i have to move to every record if i want it to be printed in the file right?
    Can i copy all the records of a table?
  30. Replies
    18
    Views
    1,362

    Re: export ado recordsets to text

    That was so much simpler than i thought!!!

    Honestly i did a lot of research thought the web and i only found complicated code that didn’t even work. I must admit I feel a little bit stupid.
    ...
  31. Replies
    18
    Views
    1,362

    Re: export ado recordsets to text

    I think that i want both depending to each case.

    I want to create small text files each one for the variables of the prolog program and after that i will connect then with prolog code so the data...
  32. Replies
    18
    Views
    1,362

    Re: export ado recordsets to text

    i have used the follwing code from a tutorial from this forum:



    Option Explicit
    Private cn As ADODB.Connection
    Private rs As ADODB.Recordset
    Private booIsAdding As Boolean
  33. Replies
    18
    Views
    1,362

    Re: export ado recordsets to text

    That is correct.

    My database is quit simple. For instance I have the following data:

    Classes
    C1
    C2
    C3

    Professor
  34. Replies
    18
    Views
    1,362

    [RESOLVED] export ado recordsets to text

    Hello!

    I have used vb6 to create the interface of a prolog program that generates a timetable.

    I’ve used ms access to create a database that stores the variables of the prolog program and I...
  35. Thread: JIT debugging

    by maki
    Replies
    6
    Views
    804

    Re: JIT debugging

    Ok thanks a lot!!!
  36. Thread: JIT debugging

    by maki
    Replies
    6
    Views
    804

    JIT debugging

    Hello,

    I am using visual studio 2005 and i want to enable JIT- debugging. In earlier versions of visual studio i've located it under:
    Tools-> Options
    but in vs 2005 i can't find it there.
    ...
  37. Thread: multi post data

    by maki
    Replies
    1
    Views
    724

    multi post data

    Hello,

    I want to make a list grouped by the variable cicle.
    I have the following code

    function add( index, id )
    {
    var vid = getObj(id);

    var el_li =...
  38. Replies
    14
    Views
    897

    Re: copy xml data using php

    You are right. I don't know php. :D

    I will upload some files but i don't think they will help you much. Meny data are in greek.
  39. Replies
    14
    Views
    897

    Re: copy xml data using php

    It stores to archive.xml data more than once
  40. Replies
    14
    Views
    897

    Re: copy xml data using php

    Maybe it is my mistake that i haven't posted the copy course function. Here it is



    function copy_course($source_file, $dest_file, $users_file, $cid) {
    // Open the XML and XSL files
    $source...
Results 1 to 40 of 82
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width