I have this posted in the forms section as well, but the more I think about it, it's really a query question.
I have a question wrt the underlying recordsource of a sub form.....but I'll start with what I found with a standard form linked to 50000 records. From the testing I've done with a command such as
stLinkCriteria = "[CustOrderID]=" & Me![CustOrderID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
The access form needs to load all of the records (or there indexes) into memory before the form actually opens with the one record I was looking for. The form actually opens faster if I don't specify a particular record.
Lets say a subform is also tied to a table of 50000 records. If I link the master & child fields, does it also have to load all 50000 records before it actually does the search for the say 5 records my main form may be linked to? Does anyone happen to know? If it does, is there an alternate way? I've experimented using a list box which does give me the speed I want.....but I can't seem to format / justify the fields the way I want.
Speed on a database server is my issue where I'm using the Access forms as a front end and Sybase as the database.
I have a question wrt the underlying recordsource of a sub form.....but I'll start with what I found with a standard form linked to 50000 records. From the testing I've done with a command such as
stLinkCriteria = "[CustOrderID]=" & Me![CustOrderID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
The access form needs to load all of the records (or there indexes) into memory before the form actually opens with the one record I was looking for. The form actually opens faster if I don't specify a particular record.
Lets say a subform is also tied to a table of 50000 records. If I link the master & child fields, does it also have to load all 50000 records before it actually does the search for the say 5 records my main form may be linked to? Does anyone happen to know? If it does, is there an alternate way? I've experimented using a list box which does give me the speed I want.....but I can't seem to format / justify the fields the way I want.
Speed on a database server is my issue where I'm using the Access forms as a front end and Sybase as the database.