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

How? Use DLookup text box to enter records, not view only 1

Status
Not open for further replies.

etalent

Programmer
Jun 9, 2003
23
0
0
US
Forms!frmPentaling!txtSyn = DLookup("[fldSpaSyn]", "tblVoc", "[fldVocID] = " & Me!fldVocId)

----------------

This is the code that works perfectly as far as viewing, but I still need to be able to enter new records. This code doesn't give me that.

The text boxes on the main form, in this case "txtSyn", is unbound presently. They have no record source, so I suppose I have to give them a record souce, or would I dimension a record set?

Please tell me what to do with the "Antonym", "Synonym", and "Example" text boxes on the main form, so that I can use them to enter new records too, not just view existing records.

-Thanks
 
How are ya etalent . . . . .

This is all very vague & open . . . [blue]Be more specific about your needs![/blue]

Calvin.gif
See Ya! . . . . . .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top