Search results

  1. D

    Problems executing code

    Thanks everybody, AncientOne, your advice worked a treat. Thanks again Mark
  2. D

    Problems executing code

    Thanks for your reply, I have dumped the kbrackets and still no joy. The SAC_SOrg_Temp.Period field is a text field. Thanks Mark
  3. D

    Problems executing code

    Hello to anybody who can help, I am trying to update a table by using the code below, i know that it works without the criteria but as soon as i use the 'Where' things go wrong. I currently get a type mismatch failure, if i change the = to like it runs without error but does not update the...
  4. D

    passing control (AGAIN)

    Hi, have you tried using me![network data info source].setfocus Hope this helps Mark
  5. D

    Row source

    I have a list box and I want to set the record source within VBA using SQL. I have a query and its SQL code, what I would like to know is if the SQL code I have got can be used as I would like or if it cannot, what can I do to change this? Thanks to anyone who can help. The code is as follows...
  6. D

    Call function problems

    Thanks to both of you for your help, I moved the code into a seperate module and called it from the main form and then the popup and found that the code did not work when called from the popup form. I have rectified the code and everything is now o.k. thanks again Mark
  7. D

    Call function problems

    Thanks Axa, but it still doesn't work. I have tried calling the procedure a number of different ways but it either does nothing or brings up an error message depending on which way I try and call it.
  8. D

    Call function problems

    Hello, I have a form with a command button on it which requeries a load of controls on my form. I also have a popup form which I open from the main form, this popup form contains a list box. My problem is that I would like to call the command46_click (main form) procedure when I click on the...
  9. D

    Requery from a pop up form?

    Because I would like them to be null and then populated by information when everything has requeried. If there is nothing to find I want the fields empty rather than populated by the previous selection.
  10. D

    Requery from a pop up form?

    Hi, I have a pop up form which contains a list box. When I click on the list box it populates a text box on the main form and sets other boxes to "". My problem is that i cannot get the controls on the list box to requery the text box each time I select a different record from the list...
  11. D

    VB beginner having problems with a function

    Thanks for your help aswell Doug Mark
  12. D

    VB beginner having problems with a function

    Thanks Drew Everything works great! Keep up the good work! Mark
  13. D

    VB beginner having problems with a function

    Hi again Drew, Thanks for this, it works perfectly. But I have one more question. How do I get it to check for double spaces and replace them with a single space? Thanks and sorry to bother you again Mark
  14. D

    VB beginner having problems with a function

    Hi Drew It came back with the subscript out of range again. Maybe it is something I am doing wrong I will try again in the morning Thanks Mark
  15. D

    VB beginner having problems with a function

    Hi Drew, I just tried it and it came back with a runtime error 9 Subscript out of range I have to go now but I will try anything else in the morning. Thanks again Just a straight replace with a space is fine. I am just going to try it now. Mark Mark [This message has been edited by...
  16. D

    VB beginner having problems with a function

    Hi Drew I clicked on the definition but it did not bring any code up. If you could help I would be very grateful, if not thanks for trying anyway. Mark
  17. D

    VB beginner having problems with a function

    Hi Drew, sorry but this is all i have. This is what i thought initially but as i don't know much VB i just thought he knew better. Thanks Mark
  18. D

    VB beginner having problems with a function

    Here is my problem:- I need a function to check for unwanted characters in a field (for example ("," " ",""") and then replace them with a single space. I think I have found a piece of code from an old employee which was designed for this purpose, but being a total beginner I do not understand...
  19. D

    Runtime Error 7794

    Can anybody help? I am trying to preview a report but when I click on the button it comes up with Runtime Error 7794, the tool bar "CSprint" is not available. I have other reports that preview fine and cannot find any information about what could be causing this. Thanks to anybody that helps.
  20. D

    Import routine

    Thanks David for your help
Back
Top Bottom