Search results

  1. C

    error sumbitting IE form

    Hello I am downloading data from the the web, and sometimes I get an error, I suppose from the browser when clicking a button : ie.Document.getElementById("btn-search-header").Click the alert box error says : "error submitting form" is there a way to disable this message error . If I manually...
  2. C

    Extract email address from string

    The function works great, thank you all for the help
  3. C

    Extract email address from string

    Hi, I am trying to extract the email address from webpage source code, that I previously passed into a string variable (webStr) : I am only pasting part of the string wich is way too long : inc38_columns1_col_bg_2" rel="inc38_container1"></div><div class="wp_column inc38_columns1_col_1"><div...
  4. C

    Record has been changed by another user ????

    Now I got it . my form, and my code are competing to edit/save records. No sql server or bit fields but, Isaac's idea works like a charm Thanks for the great help
  5. C

    Record has been changed by another user ????

    Dim db As Database Set db = CurrentDb() strSQL = "UPDATE tblEmpresas " _ & " SET ActividadeID = " & zz & ", categoriaID =" & z2 _ & " WHERE metadados = '" & meta & "'" db.Execute strSQL Me.Form.Requery After I run the query a messagebox "This...
  6. C

    remove special characters from string

    I will probably have to store in a table, the characters that my function cannot deal with,and do match with ChrW(). Thanks for your help
  7. C

    remove special characters from string

    Hi, I ve been using the following function to remove special characters, specific to some languages: Public Function TiraAcento(sTexto As String) As String 'Retorna o texto sem acentuação Dim Carac_esp, C_especial, C_subst As String Dim F_tam As Integer, F_pos As Integer Dim conta_letra As...
  8. C

    dlookup with multiple criteria

    you are right the single quotes were not the correct character, and also the extra quote after the second AND now everything is working fine Many thanks
  9. C

    dlookup with multiple criteria

    Hello, I do have this Dlookup function that works, in case that [win] is a control in my form : =Nz(Dlookup("[apostaid]";"tblApostasTemp";"[bookieID]=" & [Forms]![frmApostas]![bookerID] & " AND [jogo]= '" & [jogo] & "'" & " AND [resultado]= '" & [win] & "'");"X") I want to change it because...
  10. C

    delete query not working

    the query is not read only, so I did what you suggested and ... it works great, thanks a lot !!!
  11. C

    delete query not working

    Hi, I want to run a delete query like this : DELETE tblApostasTemp.*, tblDatasJogos.data FROM tblApostasTemp INNER JOIN tblDatasJogos ON tblApostasTemp.jogo = tblDatasJogos.jogo WHERE (((tblDatasJogos.data)<Now())); None of the joining fields are primary keys in each table...
  12. C

    dmax #error syntax

    the DMáx is correct, wich is automaticaly corrected by Access according to the portuguese version of Ms Access I am working with the issue was realy what Mickjav mentioned, wich were the spaces before and after tblPlacardTodosAvg I.E. " tblPlacardTodosAvg " that is what happens when I choose...
  13. C

    dmax #error syntax

    hello, I would like to retrieve a value with the DMax function , from a form, a cant figure out the right syntax =DMáx("[plaganha]";" tblPlacardTodosAvg ";"[bookieID]=" & [Forms]![frmApostas]![bookerID] & " AND [jogopla]= """ & [jogo] & """") the field [bookieID] is an integer the field...
  14. C

    dlookup part of field value

    Thank you all for your help, everything is working fine ;)
  15. C

    dlookup part of field value

    thanks for your code. I was trying to avoid the DAO. recordset, mainly because by finding the first match would be just fine. I just cant find out how to do it with dlookup DLookup("[distritoID]", "myTable", "left([cPostal],4) = """ & fString & """")
  16. C

    dlookup part of field value

    so, dlookup wont find any records ?
  17. C

    dlookup part of field value

    myTable has a field called cPostal with these records : 2560-999 2399-142 2870-182 2999-600 I do have a dlookup that finds a match, but in case there is no match I would like to find a partial match for the first 4 characters, so let ´s say I am looking for the string 2870-000 since there is...
  18. C

    Get value from webpage

    Definetly your suggestion would be my first choice if posible. I ll check into that Thanks a lot for your help
  19. C

    Get value from webpage

    by the way, another possibility, would be to download the image and store it in my database, so instead of having the field PhoneNumber as a string it would be an image, plus the phone number is not relevant as a search string do you believe this would be a solution ? taking into account that my...
  20. C

    Get value from webpage

    humm, bad luck Thanks anyway
Back
Top Bottom