Re: 1 Subform feeding into 2 tables
From: EMS (EMS_at_discussions.microsoft.com)
Date: 12/18/04
- Next message: Steve Schapel: "Re: Combo box concatenation of fields"
- Previous message: Henry: "Re: External .mdb inside Forms"
- In reply to: John Vinson: "Re: 1 Subform feeding into 2 tables"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 17 Dec 2004 16:07:02 -0800
As far as the link, this is the error message that comes up:
ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in
conflict with one another.
/Otherdownload.asp, line 32
As far as the rest goes. Yes I know that a subform works using a
master/child link field and I know that it requires No vb code. I'll try
explaining how i have this set up.
tblMain
pk-SRID
DateSurveycompleted
etc.
tblInitial
pk-SRIID
fk-SRID
Q1-50
tblLong
pk-SRLID
fk-SRID
Q51-130
Then here is the form situation:
frmMain (includes all fields from tblMain)
frmLong (using a select statement in the recordsource property I include ALL
fields from both tblInitial and tblLong, including the SRID from both of
those tables). So what I tried to do was do a double master/child link where
the SRID from tblMain was linked to both SRID fields (on the form). I hope
that I have explained this well enough.
Thanks again for all your help on this.....
"John Vinson" wrote:
> On Thu, 16 Dec 2004 09:45:05 -0800, EMS
> <EMS@discussions.microsoft.com> wrote:
>
> >Thank you for your response John. Yes, I remember being told the same as
> >you're telling me now about survey db's and how they should be normalized. I
> >just had a hard time wrapping my mind around the whole concept. I tried to
> >find the sample database with the link that you supplied, but for some reason
> >it is not working. Your continued help in pointing me in the right direction
> >is much appreciated!
> >
> >Oh, also in response to the latter part of your post. No it is a subform,
> >it is not a pop-up. And yes, I began trying to figure out some code to work
> >through this but have had a difficult time figuring out the whole
> >recordsetclone and bookmark concepts. Yes, i have minimal understanding of
> >vb programming, but I know that I am very much a beginner is several respects.
>
> A Subform works using its Master/CHild Link Field. It requires *NO*
> VBA code at all. What is the structure of your form? What are the
> Recordsource queries of the three forms? What are the Master/Child
> Link Fields?
>
> As for Duane's demo database, the link works for me; I connected to it
> and copied the link directly to my message. What problem are you
> having with it?
>
> John W. Vinson[MVP]
> Join the online Access Chats
> Tuesday 11am EDT - Thursday 3:30pm EDT
> http://community.compuserve.com/msdevapps
>
- Next message: Steve Schapel: "Re: Combo box concatenation of fields"
- Previous message: Henry: "Re: External .mdb inside Forms"
- In reply to: John Vinson: "Re: 1 Subform feeding into 2 tables"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|