A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to assign data to a text box that is bound to a table field



 
 
Thread Tools Display Modes
  #1  
Old October 3rd, 2006, 05:08 PM posted to microsoft.public.access.forms
redrover
external usenet poster
 
Posts: 41
Default How to assign data to a text box that is bound to a table field

I have a text box bound to a record in a table. On my form I want to take
string data that I've created and assign it to this text box. I get an error
message when I try to set the value of my text box to "" or Null. How do I
get the text box to accept the string data?
  #2  
Old October 3rd, 2006, 05:15 PM posted to microsoft.public.access.forms
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default How to assign data to a text box that is bound to a table field

I'm missing something...

You have a form. On your form, you have a textbox control. That textbox is
bound to a field (not a record) in a table ... the SAME table that your form
is bound to, right?

If you pull up a record on your form, the value in the field bound to the
textbox should show in the textbox.

Regards

Jeff Boyce
Microsoft Office/Access MVP


"redrover" wrote in message
...
I have a text box bound to a record in a table. On my form I want to take
string data that I've created and assign it to this text box. I get an
error
message when I try to set the value of my text box to "" or Null. How do
I
get the text box to accept the string data?



  #3  
Old October 3rd, 2006, 06:09 PM posted to microsoft.public.access.forms
Klatuu
external usenet poster
 
Posts: 7,074
Default How to assign data to a text box that is bound to a table field

Check to see if the field (not a record) bound to the text box is a required
field and whether is allows nulls.

"redrover" wrote:

I have a text box bound to a record in a table. On my form I want to take
string data that I've created and assign it to this text box. I get an error
message when I try to set the value of my text box to "" or Null. How do I
get the text box to accept the string data?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:53 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.