Aug 13, 2001 #1 FontanaS Programmer May 1, 2001 357 US I WOULD LIKE TO ADD A VALUE TO A COLUMN IN A TABLE. SO FAR I HAVE: TABLE!TBL_ONE.CITY = "LAS VEGAS" BUT I KEEP GETTING AN "OBJECT REQUIRED" ERROR. THANKS
I WOULD LIKE TO ADD A VALUE TO A COLUMN IN A TABLE. SO FAR I HAVE: TABLE!TBL_ONE.CITY = "LAS VEGAS" BUT I KEEP GETTING AN "OBJECT REQUIRED" ERROR. THANKS
Aug 13, 2001 #2 Chance1234 IS-IT--Management Jul 25, 2001 7,871 US where are you trying to add it from , code ? a form ? a macro ? Upvote 0 Downvote
Aug 13, 2001 #3 Chance1234 IS-IT--Management Jul 25, 2001 7,871 US hit enter to soon, if its a form and the form is bound to the data then it would be me.[city] = "las Vegas" Upvote 0 Downvote
hit enter to soon, if its a form and the form is bound to the data then it would be me.[city] = "las Vegas"
Aug 13, 2001 Thread starter #4 FontanaS Programmer May 1, 2001 357 US THE FORM IS NOT BOUND TO THE DATA. I JUST HAVE A BLANK FORM AND A TEXTBOX. I DON'T WANT TO LINK IT TO THE TABLE BECAUSE I DON'T WANT THE USER TO BE ABLE TO VIEW ANY OF THE RECORDS THAT ARE ALREADY IN THE TABLE Upvote 0 Downvote
THE FORM IS NOT BOUND TO THE DATA. I JUST HAVE A BLANK FORM AND A TEXTBOX. I DON'T WANT TO LINK IT TO THE TABLE BECAUSE I DON'T WANT THE USER TO BE ABLE TO VIEW ANY OF THE RECORDS THAT ARE ALREADY IN THE TABLE
Aug 14, 2001 #5 Chance1234 IS-IT--Management Jul 25, 2001 7,871 US you can bound the form and have it as data entry only look in help in Access 97 on hwo to do this or .. dim mydb as database dim myrec as recordset mydb = currentdb() myrec = mydb.openrecordset(TBL_ONE) with myrec .addnew ![city] = me.txtcitybox.value .update end with mydb = nothing my rec = nothing Upvote 0 Downvote
you can bound the form and have it as data entry only look in help in Access 97 on hwo to do this or .. dim mydb as database dim myrec as recordset mydb = currentdb() myrec = mydb.openrecordset(TBL_ONE) with myrec .addnew ![city] = me.txtcitybox.value .update end with mydb = nothing my rec = nothing