ok totally works perfectly now... the problem was that for the array I only had it called for the customername in the form listbox, once i added the event and then modified the array dimension to:
Code:
ev = MyArray(0, 0)
cust = MyArray(1, 0)
it fixed my subsript out of range problems
THANKS TO ALL!!!
Now i am just going to play with if for a bit so that i dont need to do a form...
well i have followed what you have done, and you have done a good job, I see the logic behind this process a little bit better, however, I am stuck on an error that needs debugging: it says user function not defined... when i enter in debug mode it has rs As DAO.Recordset
I fiddled around with this making it a string/integer/recordset but i still haven't been able to correct this error
Leave a comment: