You say there are 27 records. Do you want to pull up the form with a
particular record displayed?
You say you want them to see the information filled in and also show fields
that need to be filled in. That does not make much sense. In any given
record, there are fields. If a record is added to the database and some
fields are filled in, but some are not the record can be saved (unless you
have required the fields). If you have 27 records in your table and each
has some data missing, what do you want the user to see?
You can code your form to jump to a specific record, but you are not making
it clear which record you want.
To have the user see 1 of 27, simply turn off the data entry property and
add code to jump to the first record (number 1) when the form opens.
Note that the record number is not something you should be using to identify
which record you need. Normally you would have some other unique field in
your table to help you identify the appropriate record.
> The response did not help at all. Let's try it again. History - I have
> several forms where I can see 1 record of 28 and I can scroll through and
[quoted text clipped - 18 lines]
>> shows 1 of 1 again. How do I fix this to stay at 1 of 31. I do not have
>> problems with any of the the other forms I have have created.
Yes, I have 27 records and I want the form to display the 1st record - (1 of
27). I want to be able to display the data in the next record (2 of 27). I
have a table that shows a list of employees with monthly payments for Health
Insurance - Oct, Nov, Dec, Jan, Feb- ( Amounts filled in). Mar, Apr, May
(pending payment - blanks, to be filled). I want the user to be able to pull
the form up with the data that they have already entered and fill in the
payment for Mar and then next month pull the form up again (able to see Oct,
Nov, Dec, Jan, Feb, Mar) and filled in Apr, and so on. Not pull up a new
form an type all information over again which creates another entry line and
no data for Oct, Nov, Dec, Jan, Feb, Mar.
> You say there are 27 records. Do you want to pull up the form with a
> particular record displayed?
[quoted text clipped - 38 lines]
> >> shows 1 of 1 again. How do I fix this to stay at 1 of 31. I do not have
> >> problems with any of the the other forms I have have created.
Rick B - 22 Feb 2006 16:49 GMT
I will let someone else jump in here. It sounds to me like your table is
poorly designed. Are you saying that your table has a field for each month
in which a payment should be made? If so, your design is wrong. Your field
names should never contain data (like the name of a particular month).
Maybe I misunderstand though.
To answer your underlying question though, turn off data entry mode. That
way all records will be displayed. In the open event of the form, simply
tell it to go to the first record...
DoCmd.GoToRecord ,,acFirst

Signature
Rick B
> Yes, I have 27 records and I want the form to display the 1st record - (1
> of
[quoted text clipped - 69 lines]
>> >> have
>> >> problems with any of the the other forms I have have created.
Sprinks - 22 Feb 2006 17:26 GMT
Adarr,
I can't comment on your table structure, but I don't think you are
understanding Jay and Rick's recommendation.
Access objects, including Forms and Controls, have Properties that can be
set that affect how the object behaves. Forms have a Data Entry property,
that, if set to Yes, opens with a blank record. To set it to No, which will
let you browse through existing records, open the form in Design View and
choose View, Properties from the menu.
Choose the Data tab, move to the DataEntry field, and select or type No, and
save the form.
Hope that helps.
Sprinks
> Yes, I have 27 records and I want the form to display the 1st record - (1 of
> 27). I want to be able to display the data in the next record (2 of 27). I
[quoted text clipped - 49 lines]
> > >> shows 1 of 1 again. How do I fix this to stay at 1 of 31. I do not have
> > >> problems with any of the the other forms I have have created.