Recent content by mike2000

  1. M

    Button to copy listbox values to new listbox

    Thanks for the reply, ill give it a go and let you know how i get on.
  2. M

    Button to copy listbox values to new listbox

    I found this great bit of code on here. It copies the 1st item (column) of a list box to another list box. The problem is i need it to copy more than one of the columns, about 4 or 5. I'm not VB literate, so i woundered if someone could help me out, if its possible to do it. Many Thanks in...
  3. M

    DLookup doesn't pick up string if there is a space in it

    JCA, thanks very much. That's solved my problem.
  4. M

    DLookup doesn't pick up string if there is a space in it

    Somebody kindly helped me with a DLookup Function, it works but sometimes a code (string) will get entered and a space will appear in it, which stops the DLookup from working. eg SL6K6 may get entered as SL 6K6. The code is scanned in so i can't uses a filter. Is there any way around this...
  5. M

    remove non integers from a string

    Milo thanks for that it works great, i had to remove the Not from IsNumeric as it was leaving me with only the text and i actually wanted to remove this and keep the numbers. Raskew thanks for your function havn't had time to play with it yet but ill try it out later. Thanks for your help...
  6. M

    remove non integers from a string

    help calling the function I'm having a bit of difficulty as im new to functions. How do i call it? I need to apply the function to the string on the Before update of a text box. Thanks for your patience.
  7. M

    remove non integers from a string

    Thanks for the reply, i'll try it out and let you know how i get on.
  8. M

    remove non integers from a string

    Could someone please help me put together some code to check a string for non integer characters, and delete them if present. Thanks
  9. M

    copying subform syntax error

    I'm copying the contents of the subform to another subform. This is happening, which is confusing why it comes back with an error.
  10. M

    copying subform syntax error

    Its the contents of the whole subform im copying, i thought that was the control?. The subform is based on a query, i tried that name , but i guess it was wrong as it also came up with the same error message. I'm a little confused as to what the control is if i'm copying the subform. :confused:
  11. M

    copying subform syntax error

    I wonder if someone could spare a minute to help me with my syntax error, i have tried all the variations i can think of, but i still get a 'runtime error 2465' access can't find the field 'forms' refered to in your expression. the code still copies the data over, so would it be ok to just...
  12. M

    Requery a subform syntax

    Got it Thats worked, thanks very much.
  13. M

    Requery a subform syntax

    still notworking Thanks for the reply, but its still coming up with the same error. Do i requery the subform name or the query it is based on?
  14. M

    Requery a subform syntax

    I wonder if someone could spare me a moment to help me with a syntax ( i think) error. I have a text box on a subform, which it's after update event will requery a subform on the same form. The main form is called Orders the subform is called Order details. The data that has been entered in the...
  15. M

    Code to copy from subform to subform?????

    how to select sub form items to be copied over I have a similar problem, however i need to be able to select various items from the sub form to be copied over, is this possible?. I was thinking of using a combo but can you copy from a combo to a sub form?
Back
Top Bottom