Max Right
2010-03-18 00:42:29 UTC
Hello
I'm having problem with the subform not displaying after upsizing
access backend db to sql 05.
I have an access FE and I upsized my BE to sql 05, the table structure
and data transfered flawlessly.
I have 4 forms referencing 4 tables. the tables have PK autonumbers
and foreing keys relating to each other.
<a href="http://tinypic.com" target="_blank"><img src="http://
i43.tinypic.com/ehkghg.jpg" border="0" alt="Image and video hosting by
TinyPic"></a>
The main(frmMain) form has 1subform(frmLdata), and my secondary
form(frmGdata) also has one subform(frmGCdata).
The secondary(frmGdata) form displays data dependant on the
main(frmMain) form and subform(frmLdata).
after migrating and linking the 4 tables to SQL 05, my main(frmMain)
form and subform(frmLdata) display the data correctly and tables are
updated accordingly in sql. when I open my secondary(frmGdata) form,
the form data shows up and its table reflects the changes/additions,
the subform(frmGCdata) also shows up but only for existing entries.
When I try to make a new record in the secondary form(frmGdata), I'm
able to do that, but the subform(frmGCdata) disappears.
The secondary(frmGdata) form is opened by a cmd button with link
criteria frmMain![Mindex]
my record source for the secondary subform(frmGCdata) is:
SELECT tblGCdata.Mindex, tblGCdata.Gindex, tblGCdata.Lindex,
tblGCdata.aField FROM tblLdata LEFT JOIN tblGCdata ON
tblLdata.Lindex=tblGCdata.Lindex WHERE (((tblLdata.Mindex)=Forms!
frmMain!Mindex));
the child and parent fields linking the subform(frmGCdata):
Gindex;Mindex
my FE works flawlessly if I link the tables back to the access
backend.
could this be because sql has a different way of creating/writting/
updating records???
I am quite new to SQL...so I might be missing something that may bee
quite obvious.
I'm having problem with the subform not displaying after upsizing
access backend db to sql 05.
I have an access FE and I upsized my BE to sql 05, the table structure
and data transfered flawlessly.
I have 4 forms referencing 4 tables. the tables have PK autonumbers
and foreing keys relating to each other.
<a href="http://tinypic.com" target="_blank"><img src="http://
i43.tinypic.com/ehkghg.jpg" border="0" alt="Image and video hosting by
TinyPic"></a>
The main(frmMain) form has 1subform(frmLdata), and my secondary
form(frmGdata) also has one subform(frmGCdata).
The secondary(frmGdata) form displays data dependant on the
main(frmMain) form and subform(frmLdata).
after migrating and linking the 4 tables to SQL 05, my main(frmMain)
form and subform(frmLdata) display the data correctly and tables are
updated accordingly in sql. when I open my secondary(frmGdata) form,
the form data shows up and its table reflects the changes/additions,
the subform(frmGCdata) also shows up but only for existing entries.
When I try to make a new record in the secondary form(frmGdata), I'm
able to do that, but the subform(frmGCdata) disappears.
The secondary(frmGdata) form is opened by a cmd button with link
criteria frmMain![Mindex]
my record source for the secondary subform(frmGCdata) is:
SELECT tblGCdata.Mindex, tblGCdata.Gindex, tblGCdata.Lindex,
tblGCdata.aField FROM tblLdata LEFT JOIN tblGCdata ON
tblLdata.Lindex=tblGCdata.Lindex WHERE (((tblLdata.Mindex)=Forms!
frmMain!Mindex));
the child and parent fields linking the subform(frmGCdata):
Gindex;Mindex
my FE works flawlessly if I link the tables back to the access
backend.
could this be because sql has a different way of creating/writting/
updating records???
I am quite new to SQL...so I might be missing something that may bee
quite obvious.