Help with subform

R

Rick's News

I have a table for demographics and a table for journal entries.
I have a main form built on the Demographics table and a subform built on
the journal entries.
What I would like to do is update the journal entries based on a checkbox on
the subform and update the record on the main form with the journal entries.
The info in the checkbox code need to call stuff from both tables... Is that
possible?
I get a debug error because it can't find the field...
How do I call the info in the different forms???

tblDemo
tblEntries
both tie together using the [ssn] field.


on current record...

if checkbox01= true then
tblEntries.623Entry = "A sample of text that I would like it to add" &
[tblDemo].[a field from the main form] & [tblEntries].[a field from the
subform] & "more text bla bla bla....
end if
end sub

Thanks in advance...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top