PC Review


Reply
 
 
MikeS
Guest
Posts: n/a
 
      30th Jul 2008
I recently created a form which consisted of simply a couple of labels, one
"Refresh" button and the three subforms. The 3 subforms display hour by hour
data of number of units produced. To populate the subforms, I use a query
that displays line number, date, and an expression that extracts the hour
from the date field (DatePart). A second query summarizes the first query to
show units produced per hour. This form worked fine yesterday, however,
today when I opened it, it was completely blank. When I switched to design
view, everything was there. The only thing that might be a clue is the fact
that one of the subforms did not have any data to display. It wasn't until
that line/subform had a record to display that the form returned to normal.

Can anyone explain why this happened?

Thanks in advance,

Mike
 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      30th Jul 2008
The form goes blank if:
a) there is no record to be added, and
b) no new record can be added.

More details in:
Why does my form go completely blank?
at:
http://allenbrowne.com/casu-20.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"MikeS" <(E-Mail Removed)> wrote in message
newsAD71B65-5909-4C2D-AAF4-(E-Mail Removed)...
>I recently created a form which consisted of simply a couple of labels, one
> "Refresh" button and the three subforms. The 3 subforms display hour by
> hour
> data of number of units produced. To populate the subforms, I use a query
> that displays line number, date, and an expression that extracts the hour
> from the date field (DatePart). A second query summarizes the first query
> to
> show units produced per hour. This form worked fine yesterday, however,
> today when I opened it, it was completely blank. When I switched to
> design
> view, everything was there. The only thing that might be a clue is the
> fact
> that one of the subforms did not have any data to display. It wasn't
> until
> that line/subform had a record to display that the form returned to
> normal.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
In a fill-in-the-blank form, how can I make a blank space close up Becky Microsoft Word Document Management 1 27th Mar 2008 08:46 AM
apending data to table from unbound form when form field blank =?Utf-8?B?QXJub2xkIEtsYXBoZWNr?= Microsoft Access VBA Modules 2 16th Aug 2006 09:31 PM
Remove a sub form from main form if sub form has blank fields =?Utf-8?B?V2F5bmUgVmlsZXM=?= Microsoft Access 1 3rd Apr 2006 12:23 PM
Created form in design, switched to form view-page is blank =?Utf-8?B?QmlsbA==?= Microsoft Access Forms 2 22nd Feb 2005 04:43 PM
Setting Form RecordSource property returns blank form when no data matches SQL query tina Microsoft Access 0 8th Aug 2003 05:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:19 AM.