Search:

Type: Posts; User: luca90

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    6
    Views
    131

    Re: speed up Parametrized Query

    added original query in the first post.
    Tks in other case.
  2. Replies
    6
    Views
    131

    Re: speed up Parametrized Query

    added original query in the first post.
    Tks in other case.
  3. Replies
    6
    Views
    131

    speed up Parametrized Query

    I use this code in vb6 and DAO:


    ...
    DoEvents
    Set QRY = DB.QueryDefs("AGG_ALBERO1")
    QRY.Parameters("[DATA_OPE1]").Value = Format(DATA_OPE, "DD/MM/YYYY")
    ...
  4. Re: portable tool to migrate sql server database to access database

    tks!

    But is really Portable app?
  5. Replies
    1
    Views
    95

    peraph Dsum..???? in query

    Have 2 table:
    table_total and table_single.

    all tables have field Account, Amount and Cod

    i need to summ all value in Amount in table_single, based the match/join Account>Account and Cod>Cod...
  6. Replies
    1
    Views
    100

    CHECK data file by date

    I need to check if \\myserverdir\database.mdb is newest of c:\midir\database.mdb, how to???

    in effect i update a recordset in \\myserverdir\database.mdb and before to copy and overwrite in...
  7. portable tool to migrate sql server database to access database

    Exists a a free PORTABLE tool to transfer sqlserver database to access database...???
  8. Replies
    3
    Views
    132

    Re: array in "one shot" in a field

    tks.
    But i work with vb6 classic and access database...
  9. Replies
    3
    Views
    132

    array in "one shot" in a field

    I justs have an array:

    myArray('aaa',bbb','ccc'.eccc) note: Are approx 23.000 elemnts into the arry.

    i use ado jet 4.0/vb6 classic and just have a conn active.

    is possible to insert into a...
  10. Replies
    4
    Views
    169

    Re: out of memory during a loop of txt file

    ok tks!!!!

    but in wich part of code i can loop "line by line" the array.... similar:

    Dim X As Long

    For X = LBound(MyArray()) To UBound(MyArray())
    temp = MyArray(X) 'Is the; current; Line...
  11. Replies
    4
    Views
    169

    out of memory during a loop of txt file

    I use this routine to read txt file line by line...

    i loop approx 123 files each file are of 45/80 MB. (approx 358.000 line per file)

    i use (pseudo code):

    ...
    for each file in my dir
    ...
  12. Re: SPEED UP time of copy from local to server dir

    I friend...
    the point 6 on the web suggest this command lne:

    fastopy.exe C:\Windows "C:\Program Files" /to="D:\Backup Folder\"

    is this correct to use in vb6 classic?

    But the exe file is a...
  13. Re: SPEED UP time of copy from local to server dir

    How large is the file?
    857.789 mB
    How long does it take?
    7 Mins
    What speed is the network?
    i dont know, how to?
    How much traffic is on the network?
    i dont know, how to?

    tks in other case...
  14. SPEED UP time of copy from local to server dir

    I have a .mdb file in c:\mydir\ i need to copy in \\server1\dir\ i used file copy and other command but the time of trasfering file is very very big!!!!
    Have other solution???

    note:
    I need to...
  15. Replies
    6
    Views
    215

    Re: Transa tion and with stement

    Hi tg now all. Is clear...
    But i need to loop 133 txt files to get part of string line and put into the recorset.
    I need to open an close the conn for each
    txt file readed or i can to reconnect...
  16. Replies
    6
    Views
    215

    Re: Transa tion and with stement

    if i have undesrtand:

    rs.open....,3,3,cmdtable (is a good idea 3,3,???? in other case)

    DISCONNECT CONN TO NULL

    for x....

    Rs.addnew
  17. Replies
    6
    Views
    215

    Re: Transa tion and with stement

    hi Tg.. example based:

    get your recordset... disconnect it... add to it with the new data... then re-connect it and use an .UpdateBatch
  18. Replies
    6
    Views
    215

    Transa tion and with stement

    Example of my code:
    With rs
    For x= 0 to nn
    ..addnew
    .fields("a").value='gg'
    .fields("b).value='ff'
    .update
    Eccc..
    Next
    End with
  19. Replies
    12
    Views
    375

    Re: vb6 dao and begintrans & committrans

    Sensible and reserved data are into the code, i can send in pvt?
  20. Replies
    12
    Views
    375

    Re: vb6 dao and begintrans & committrans

    not sure to understand .... i loop 123 ".txt" files in dir and use for all the same code:-(

    perpahs i need to close connection and rset for each .txt file elaborate in to the loop and reopen...
  21. Replies
    12
    Views
    375

    Re: vb6 dao and begintrans & committrans

    yes!!!!

    a part of that...

    is possible to call directlly via vb6 code a query with the same connection disponible?

    naturally via vb6 code and DAO object.

    tks.
  22. Replies
    12
    Views
    375

    Re: vb6 dao and begintrans & committrans

    Spoo... tested your code, work fine...but strange behavior

    example, for each 100 or 200 records interted into the table code go slow.. attemp 2 or 5 seconds and after run normally, WHY?????
  23. Replies
    12
    Views
    375

    Re: vb6 dao and begintrans & committrans

    I sPOO TKS!

    But i need to close also the rs91 and set this nothing, or when i close the connection all object are destroied?
  24. Replies
    12
    Views
    375

    vb6 dao and begintrans & committrans

    :mad:I have a old project with VB6 and DAO ( i have no time to modify this in ADO Jet:-(:sick:

    To speed up rs.addnew (during import a value from a text file, approx 224.000 lines) i need:


    for...
  25. Replies
    1
    Views
    154

    compact & repair

    To be clear-...

    when is strictlkly necessary to compact & repair acess db:
    when update recordset or insert recordset or read recordset, or ....

    ???

    i use vb6 and ado jet 4.0 in this project
  26. Replies
    1
    Views
    198

    select distinct on a lot of data

    I need to select distinct value from a Date Filed named DATA1.
    The field DATA1 is indexed.
    i have tested a query with Select Distinct or Group by, but the result in other case, are very slow!

    I...
  27. POSSIBLE to create a View table in access databas

    I work with ado and vb6 classic.
    i need to create a Select distinct (or group by) from Table1 the filed data into Field1 and store data filtered in View1filed filed2, how to?
  28. Replies
    3
    Views
    341

    Re: NEW Mysql Server prob to insert query date

    OK!!!


    FIRST STEEP RESOLVED, TKS.!!!!!!!!

    but to insert date is correct the format yyy-mm-dd and hh:mm:ss

    if yes how to insert this two element in a vb6 string query?

    with #" ...."#...
  29. Replies
    3
    Views
    341

    NEW Mysql Server prob to insert query date

    SQL = "INSERT INTO UTENZE ([APRI], [USER] , [A_ORA], [NOMINATIVO]) VALUES (CURDATE(),'" & _
    VETTORE & "',CURTIME(),'" & UTENTE_CORRENTE & "')"
    CONN.Execute SQL, , adCmdText +...
  30. Replies
    2
    Views
    255

    Re: wow!!!! listview lost position

    NO....
    Can i send you in private?
    The code contain reserved data:-)
  31. Replies
    2
    Views
    255

    wow!!!! listview lost position

    To speed up to fill a istview I use:

    listview.visible=false

    ..code to fill

    listview.visible=true

    but when the code go to listview.visible=true the listview lost the original position and...
  32. Replies
    1
    Views
    234

    clear me please!

    With a big amount of recorset data warth is the best in order of performance, with Acces data base?

    Set RS = New ADODB.Recordset
    RS.CursorType = adOpenKeyset
    RS.LockType =...
  33. Replies
    1
    Views
    209

    LISTVIEW big problem

    97747In my Pc home have Office 2007
    In my Pc office have Office 2007

    when i open a vba project where i have a Listview in userform, in my pc home all is correct an see regualar the Listview......
  34. Replies
    3
    Views
    221

    sort file name based date

    in dir c:\mydir\ have a variuos .txt file(only this format)

    the single file name have this structure:

    aaa0_01-05-2013
    aaa1_02-05-2013
    aaa1_02-06-2013
    aaa1_01-05-2013
    aaa2_01-05-2013
  35. Replies
    0
    Views
    211

    Update min max date with join

    I have 2 tables CONT and CUMU, the two table have the same field named RAPP(txt property)

    In CONT have a filed named DATA (as date short)

    In CUMU have a field DAL (FROM in english) and a field...
  36. Thread: From ADO to DAO

    by luca90
    Replies
    2
    Views
    294

    Re: From ADO to DAO

    nice!!! tkx.

    i'm new with DAO...
    but this tips really spoeed up the query exceution directlly the Query in Acces databse? or exists other way?

    note:
    I want to migrate the project to ADO but...
  37. Thread: From ADO to DAO

    by luca90
    Replies
    2
    Views
    294

    From ADO to DAO

    I need to trasform this ADO code for DAO, i spossible?
    tks.



    ...
    Set objCommand = New ADODB.Command
    With objCommand
    .ActiveConnection = CONN
    .CommandText = "AGG_ALBERO1"
  38. Replies
    0
    Views
    191

    Change property in field as date short

    i a table named Tab1.
    i need to chenge the txt property of field F1 in date short....
    how to with vb6 classic and database access

    naturally via vb6 code.

    tks.
  39. Replies
    0
    Views
    173

    Lock resizing listview column in userform

    Possible to no permit the rezsizin of column in a listview in a userform?
  40. Replies
    0
    Views
    173

    speed up to select distinct

    I use the tipical ado connection and VB& to set an Access MDB.



    Public Sub CHECK_CONNESSIONE()

    ENVIOR = ""
    ENVIOR = VBA.Environ("COMPUTERNAME")

    If CONN Is Nothing Then
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4