Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can a Table Field Defaut be set to a form Controls contents 1

Status
Not open for further replies.

alr0

Programmer
May 9, 2001
211
US

Hi All,

I want to set the default value of a table field to the contents of a form control. I keep getting an error that the form control cannot be found.

Is this possible or do I need another way to populate the field.

Thanks,

alr

_____________________________________
There is no rule more invariable than that we are paid for our suspicions by finding out what we expected.

Henry David Thoreau
 
You need another way.
Anyway you don't want to edit records directly in the table but in a form, don't you ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Do you now have sufficient data to say that this CANNOT be done?

Setting Table Default as form control?
thread705-1324400
 

Hi PHV,

Actually there are several ways that users can add records to this table and I would like to be certain that this field is populated no matter how records are added.

Can this be done with a public variable or must it be done programmatically after all records are supposed to have been added?

Thanks,

alr


_____________________________________
There is no rule more invariable than that we are paid for our suspicions by finding out what we expected.

Henry David Thoreau
 
there are several ways that users can add records to this table
I'd write a commun validation routine I'd call in each BeforeUpdate event procedures.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top