Blank Subform

E

Emma

I have a form with a subform which holds all the loans a client has. How do I
get the information for the first Loan for that client ID to populate the
subform? Right now it's just showing a blank form which needs one field to be
filled in to get Loan ID. The loan ID is a unique index.
 
J

John W. Vinson

I have a form with a subform which holds all the loans a client has. How do I
get the information for the first Loan for that client ID to populate the
subform? Right now it's just showing a blank form which needs one field to be
filled in to get Loan ID. The loan ID is a unique index.

What's the datatype of the loan ID? The field in your table might *have* a
unique Index assigned to it, but an index is not a field!

If the unique ID is an autonumber, it need not (probably should not!) be
displayed on the subform at all; it will increment automatically as soon as
you "dirty" the subform by adding data to any other field. If it's not an
Autonumber you'll need some VBA code to populate it, perhaps in the subform's
AfterInsert event. More details please!
 
E

Emma

When I run the form wizard, sometimes it asks me for the subform other times
it doesn't why is this?
 
J

John W. Vinson

When I run the form wizard, sometimes it asks me for the subform other times
it doesn't why is this?

You'ld have to ask the Microsoft programmers. Why not just create your own
subform? Sometimes the wizards aren't very bright!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

join 4
SubForms 4
Sum Field 1
Crashing 19
Protect data once entered into field 3
Populating Subforms 6
Merging tables 2
Credit Score 5

Top