By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,124 Members | 2,208 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,124 IT Pros & Developers. It's quick & easy.

Setting value to a textbox not working

P: 5
Hi

I've been assigned to fix a access form/db app and i've been stumped on simple problem.

I have a table say table1 with column a,b,a1,b1 and a textbox

i want to set the source control of that textbox to a1 and load the value of "a" into the textbox when the form loads using

form_load
me.textbox.value = dlookup("[a]","table1", query)

and once the form is finished, the value stored on that textbox will automatically be updated into the source control which is the colum a1. But I am having problem acheiving this ? THe database simply wouldn't update. Anyone have a suggestion or a better solution to this ?

THanks, Dave
Nov 30 '06 #1
Share this Question
Share on Google+
1 Reply


MMcCarthy
Expert Mod 10K+
P: 14,534
Dave,

I can't see why it wouldn't work.

I would have to see the actual code to be able to tell you more.

Mary
Nov 30 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.