ok, now that i post the message i answered my own question. "6" was a string and 6 was an interger. i dim'ed a varialbe as integer and set txtDID.value = to the varialble. now RS("departmentid") = variable works fine.
Thanks for poking me in the right direction.
"Daniel M" wrote:
[Quoted Text] > It shows the following.. > > RS("departmentid") = 6 > txtDID.value = "6" > > so how do i get 6 to = "6" some how i have a type mismatch i think but i > dont know how to fix it. > > "ruralguy via AccessMonster.com" wrote: > > > While looking at the code, click outside the left margin and a dot will > > appear to indicate a breakpoint. Then run the code and it will stop on that > > line. If you hover over the variables, their value will display in a baloon. > > You can single step using the F8 key. > > > > Daniel M wrote: > > >I dont know how to do this, can you give me some help? > > > > > >> Have you tried using the debugger to examine the values? > > >> > > >[quoted text clipped - 20 lines] > > >> > Rs.MoveNext > > >> >Loop > > > > -- > > RuralGuy (RG for short) aka Allan Bunch MS Access MVP - acXP WinXP Pro > > Please post back to this forum so all may benefit. > > > > Message posted via http://www.accessmonster.com> > > >
|