RE: Form goes blank if no record in bound query
- From: Kiwi_731 <Kiwi731@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 6 Mar 2009 07:43:01 -0800
Hi again. Quick update.
To get around the no-records situation I have put some code into the form's
Open event handler to check whether the table is empty and append a record
with some default values if it is. I open the table, use .AddNew, .Fields and
..Update. in a VBA multiline With <tablename> statement. This works, sort of.
That is to say, the first time I open the form, it appears blank, but if I
close it and open it again, everything appears as it should.
How can I avoid this undesirable behaviour?
TIA.
Hopeful Kiwi
- References:
- Form goes blank if no record in bound query
- From: Kiwi_731
- Form goes blank if no record in bound query
- Prev by Date: Re: Works in WinXP, not in Vista
- Next by Date: Re: Works in WinXP, not in Vista
- Previous by thread: Form goes blank if no record in bound query
- Next by thread: Checking date difference
- Index(es):
Relevant Pages
|