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 » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Empty form textbox on open



 
 
Thread Tools Display Modes
  #1  
Old April 14th, 2008, 02:25 PM posted to microsoft.public.access.gettingstarted
Julia
external usenet poster
 
Posts: 102
Default Empty form textbox on open

Hi,

I restructured my database and now I find that the data in two textboxes
does not display when the main data entry form loads or is in focus after a
different form has been opened.

The data in the textboxes used to be in the table that the form is based on,
however I split this off into another table. The textboxes look up data in
the new table based on the selection in a combobox.

The textboxes are empty when the form loads. If I scroll to the next record
and go back, the textboxes are filled. I have tried to requery or refresh the
textboxes when the form loads or has focus but without success. It is not a
big problem but I think it will look confusing for the users if they load the
form and there is no data for the two textboxes.

Can someone let me know what I am doing wrong?
  #2  
Old April 14th, 2008, 08:49 PM posted to microsoft.public.access.gettingstarted
boblarson
external usenet poster
 
Posts: 886
Default Empty form textbox on open

How are you filling in those two fields, normally?
--
Bob Larson
Access World Forums Super Moderator

Tutorials at http://www.btabdevelopment.com

__________________________________


"Julia" wrote:

Hi,

I restructured my database and now I find that the data in two textboxes
does not display when the main data entry form loads or is in focus after a
different form has been opened.

The data in the textboxes used to be in the table that the form is based on,
however I split this off into another table. The textboxes look up data in
the new table based on the selection in a combobox.

The textboxes are empty when the form loads. If I scroll to the next record
and go back, the textboxes are filled. I have tried to requery or refresh the
textboxes when the form loads or has focus but without success. It is not a
big problem but I think it will look confusing for the users if they load the
form and there is no data for the two textboxes.

Can someone let me know what I am doing wrong?

  #3  
Old April 15th, 2008, 07:49 AM posted to microsoft.public.access.gettingstarted
Julia
external usenet poster
 
Posts: 102
Default Empty form textbox on open

I have this expression in the textbox: =cboSite.column(1)

So the combobox cboSite shows the site name, then column 1 contains the
country that the site is in.

"boblarson" wrote:

How are you filling in those two fields, normally?
--
Bob Larson
Access World Forums Super Moderator

Tutorials at http://www.btabdevelopment.com

__________________________________


"Julia" wrote:

Hi,

I restructured my database and now I find that the data in two textboxes
does not display when the main data entry form loads or is in focus after a
different form has been opened.

The data in the textboxes used to be in the table that the form is based on,
however I split this off into another table. The textboxes look up data in
the new table based on the selection in a combobox.

The textboxes are empty when the form loads. If I scroll to the next record
and go back, the textboxes are filled. I have tried to requery or refresh the
textboxes when the form loads or has focus but without success. It is not a
big problem but I think it will look confusing for the users if they load the
form and there is no data for the two textboxes.

Can someone let me know what I am doing wrong?

 




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 01:57 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.