Solved

synchronisation problem

Posted on 2013-06-02
7
155 Views
Last Modified: 2013-06-19
guys, i have a FE and a BE. when i sync the BE by opening it up and choosing sync from the access application, it's ok. but when i try to sync via code from the FE, i get the problem "The search key was not found"

what can i do?

my FE has no tables and it's just calling the sync ability of the BE to the network database. help help

to me i think that the BE is ok cause there are no problems when i sync by opening the BE and sync. but the FE has problems syncing through code so i'm not sure how to isolate the problem. how do i find the corrupt record?
0
Comment
Question by:developingprogrammer
  • 3
  • 3
7 Comments
 
LVL 75

Assisted Solution

by:DatabaseMX (Joe Anderson - Access MVP)
DatabaseMX (Joe Anderson - Access MVP) earned 250 total points
ID: 39215367
That error almost always means that ... one or more fields in one or more records is corrupted. Usually ... a Compact & Repair on the db will fix this ... usually.

mx
0
 
LVL 12

Accepted Solution

by:
pdebaets earned 250 total points
ID: 39215527
"Search Key was not found in any record"
Probably there are some bad records corrupting the table. Look for "chinese" characters in text fields. You can't delete these records unless you temporarily remove the table indexes, delete the records, replace the indexes.
0
 

Author Comment

by:developingprogrammer
ID: 39261309
k thanks guys. i think i will rewrite the whole app cause it seems like a random error for one team but not for the other
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 12

Expert Comment

by:pdebaets
ID: 39261323
Daily compact and repair may resolve the issue. Also, encourage users to close the application before disconnecting a network cable or pressing the reset button on the computer.
0
 

Author Comment

by:developingprogrammer
ID: 39261339
hrmm yup i think that could be a good way to do things. i gotta research more on C&R through code cause the last time i looked at it if i remember correctly it's quite hard to do it through code in the current database that you wanna C&R right? they were asking for another location that you wanna C&R to ha. and i don't wanna set it such that every single time they close the database it C&Rs. very time consuming
0
 
LVL 12

Expert Comment

by:pdebaets
ID: 39261390
Please see our free Application Starter utility at http://www.peterssoftware.com/aps.htm . With it, you can compact and repair a database when it opens for the first time each day.
0
 

Author Comment

by:developingprogrammer
ID: 39261525
Super cool!! I'll use it!! Thanks Peter!!
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now