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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Continuous Form and Default Value

Status
Not open for further replies.

Telsa

Programmer
Jun 20, 2000
393
US
I'm trying to have a default value pull into a continuous form.

Using VBA I keyed this:
Me.CDAssembly.DefaultValue = strCDAssembly

But I get the #Name? ... the strCDAssembly does contain the string value (I used debug.print to check) I want to place it in the field for new records.

Am I missing the point??

Mary :)
 
Geez... I do this every time... ask then figure it out in an hour.

Answer, in case anyone wants to know, is that since I'm working with strings, need to even include double quotes. So I made a variable that is the double quote and have it become part of the whole value.

Mary :eek:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top