473,396 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Issues with SEEK on Split Database there has to be a better way.

zmbd
5,501 Expert Mod 4TB
OK,
This drives me nuts... I spend all of this time in development. Typically I start out with an all-in-one database. Creating the forms and so forth is all quite straight forward (well, now :-) ).
While I doing all of the development, and for those little databases I use at the desktop, I use the SEEK method on my indexed tables and all is well...

then, I split the database.

Of course, everywhere I've used the SEEK method on a table that is now linked, now fails. So typically I use one of the three options I’ve found:
1) OpenDatabase method on the back end
2) Re-write the code to use the Findfirst method
3) Re-write the code to use one or more of the domain functions such as Dcount/Dlookup etc...

Although I prefer the fist option, I've a few issues:
1) Password protected backends. The password is in the code... just waiting for someone to back engineer the code to pull it out.
2) it just seems so, well, redundant to have both linked tables to the backend so that the bound forms will work and then to have to open the backend on a recordset so that I can use the seek method and it doubles the number of connections to the backend.
3) It causes all sorts of other issues if a second user is also trying to work within the same table at the same time (which happens more often than I like) and starts searching for a record. Frankly, I end-up with option 2 or 3 just to get around the table conflict.

What am I missing here?
Dec 17 '12 #1
2 1599
TheSmileyCoder
2,322 Expert Mod 2GB
I have always used .FindFirst and its suited my needs just fine so far. Reading a bit up on Seek (As I have never used it) I see that it might take greater advantage of indexes then the FindFirst. However I have not yet run into a issue where the performance of FindFirst has not been satisfactory.
Dec 17 '12 #2
NeoPa
32,556 Expert Mod 16PB
As Smiley says, I believe DAO typically expects to use SEEK when dealing with tables directly. I wasn't aware this did not extend to use on linked tables. That's something I've just learned from you. However, Using Find... instead should be as efficient as you could do anyway in the circumstances. If you want to use linked tables, and I suggest you should, then simply bear in mind that you need to develop in future with that limitation in mind. Tables can always be opened as a query even when local, so you should always be able to use that approach.

Simple rule, only ever use SEEK when dealing with tables that will always be local. In my experience, these are almost always very small and won't benefit from any difference in performance, but avoid using it for BE tables.
Dec 17 '12 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: Corey Burnett | last post by:
I have a client that has a split database (front-end/back-end). They are also using Access security - MDW file. The front end MDE file, the back end MDB file, and the MDW file are all located on...
1
by: bborden51 | last post by:
I'm surprised that when I go to File-->Backup Database within Access only the front end is backed up. Surely I'm missing some setting that I have to select so Access backs up both front end and...
2
by: raydelex | last post by:
I have a split database (Access 2003). Now I need to port the database to the end-users' computer for a demonstration. When I try to start up the database on the other computer, it tells me...
11
by: Daveo | last post by:
Hi there, Since splitting my database, one form in particular takes about 10 times as long to load and refresh, compared to the unsplit version on the server. The code behind it contains 36...
4
by: carriolan | last post by:
Hi I have managed to secure a split database. Both frontend and backend share a common workgroup, common security groups and common users and permissions, but as in all good stories there is a...
0
by: kaosyeti | last post by:
hey... is it possible to add a command button to email the back half of a split database using sendobject or some other method? if not specifically targeting the back half of the db, can a...
2
by: AAOO (Sean) | last post by:
When I try to access the back end of a split database, I get the error message, that it's not trusted by access, and that I should move it to my computer, or an accessible network location? What...
3
by: najimou | last post by:
Hi everyone I will be having a split database, running on 2 computers via mapped drive. computer "A" will have one front end and the back end located in c: \mydatabse 2 tables have links to...
3
by: theProfessor | last post by:
We are using a shared split database with all users currently using Access 2003. The back end is on a shared drive of a state wide WAN. Each user has a copy of the front end on their local...
8
by: hedges98 | last post by:
There is probably an easy solution to this but I'm paranoid about making any changes to the database in case I do something that can't be reverted back. Basically, I have a split database -...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.