Link to home
Start Free TrialLog in
Avatar of Destiny947
Destiny947Flag for United States of America

asked on

What causes an Access form to grey out when it opens?

I have form that was completely functional yesterday. Today when I opened it, the entire form is greyed-out in Form/Layout views. All the details can been seen in design view.

Tried decompile/compact/repair... exporting to a blank database... still the same.

Didn't find anything like this in searching EE, or the internet... any ideas?

Thanks.
greyed-out-form.bmp
Avatar of Jim Horn
Jim Horn
Flag of United States of America image

First thought, the RecordSource of the form returns zero records.
Second thought, you're using Access 2007, so who the heck knows..
Go to the property of the form and click on the data tab. If you don't have any data in your record source you have to have "Allow Addition" set to "yes".

What are you using as record set a query or a table
<<Second thought, you're using Access 2007, so who the heck knows.>>

made my day jimhorn....thanks!
OM Gang
Avatar of Destiny947

ASKER

Hi Jim,

>Access 2007.... :) exactly how I feel.

sb9

I'll check my properties, even though I haven't worked on this form in a couple of weeks...

brb
ASKER CERTIFIED SOLUTION
Avatar of Scott McDaniel (EE MVE )
Scott McDaniel (EE MVE )
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi sb9,

Yep... Allow Additions is set to yes...

Lovely, 2007... so very unpredictable...
Hi LSM,

I am developing on a laptop with 2007 setting at 2002-2003. And I have countless backups...

This does seem like corruption.
Also... thanks for all of your fast responses!
Hi LSM,

Is using 2007 with the default file format set at 2002-2003 is what you meant?
<Is using 2007 with the default file format set at 2002-2003 is what you meant?>

Not really, although it's better that using the .accdb format. 2003 is much more stable than is 07, which is why you would be better off developing in 2003, even if your endusers will be using 2007.
Hi LSM,

Thanks again for your input. Develop in 2003 only. That's what I need.

As far as the corruption issue. Do you suspect that this will continue to occur until I change from 2007 to 2003?
Working in 2007 with the 2003 format seems to give me more problems than other configurations. Granted I don't use 07 a lot, but I have a couple of clients who have moved to 07 and I do like to finish up those code sessions in Access 2007 just to be sure.

If you must work in 07, then build a new blank database in 07 (in the .mdb format) and import everything to it. This seems to work better than anything else for reduce the chances of corruption.
Hi LSM,

Had to think real hard on that one... :-)  And am going to do just that.

LSM... I think that is going to work!

Thanks so much!