I cann't entry data,But i have need it.

meenctg

Learn24bd
Local time
Today, 16:54
Joined
May 8, 2012
Messages
133
I have a main form. In main form i have some field.
InvID (Auto number) (PK)
Name(text)
Pay(currency) (Required)
In main form i have a sub form relation with InvID
lineID (auto num) (PK)
InvID(number) (R)
item name(text)
Price(currency)


Problem: When i entry data InvID and name and when i click on subform for entry data it's show a msg for required field. But i wanna InvID,Name,and fill out subform then i will fill up Pay field.

What can i do ?
Any body help me? please
 
Have you set up a parent child relationship between your main form and your sub form?
 
Have you set up a parent child relationship between your main form and your sub form?

i don't know how to will i do this.
would you tell me,please?
 
The main form record will be saved when you move the focus to the subform. Any form validations or table constraints are applied to the record at this point.

You cannot do what you want unless you change Pay from being a required field.
 
The main form record will be saved when you move the focus to the subform. Any form validations or table constraints are applied to the record at this point.

Actually i wanna the last field of main form Pay (R) will fill at last.
After fill up sub form i wanna fill up Pay field.

It is a Invoice project so user will entry (Pay) when he get the grand total of sub form.
 
Actually i wanna the last field of main form Pay (R) will fill at last.
After fill up sub form i wanna fill up Pay field.

Sorry, as I said above. This simply cannot be done (with Access bound forms) with that constraint in place.

It would work if you removed the constraint from the Pay field.

Alternatively, many invoicing systems will use a separate Payments table. This structure also supports making payments separate from the invoice. Often a junction table will also be used to support allocating payments to multiple invoices.
 

Users who are viewing this thread

Back
Top Bottom