Writting Data onto Table from Code

espua

Registered User.
Local time
Tomorrow, 00:11
Joined
Sep 15, 2005
Messages
11
Hi,

I wish to explicitly write a value onto a data field upon some events on a form with syntex below

Table1.Field1=100

But I'm getting error message saying object is needed. What shall I do?
 
espua,

Docmd.RunSQL "Insert Into Table1 (Field1) Values (100)"

Wayne
 

Users who are viewing this thread

Back
Top Bottom