"No current record" error during export
Updated 2009-09-24 | Filed under Geosync | PDF
Question
When I try to sync my database using Geosync, I get a "No current record" error in my VBA immediate window. It looks something like this:
EQL: Error: export: Access.Application: SaveAsText(2,FORMNAME,...):
(EX) No current record.
What's going wrong?
Solution
This is caused by a bug in Microsoft Access. The bug has been confirmed to exist in Access 2000, 2002, and 2003, at least. The bug causes this symptom if you have a form with no Visual Basic code in it, but which has the Has Module property set to Yes. To resolve it, try disabling that property:
VERY IMPORTANT: Make a backup copy of your database before starting.
Open the form (FORMNAME from the error message) in the Access Form Designer.
Open the Properties window by clicking View | Properties
In the Properties window, click the All tab.
Scroll to the bottom of the list to find the Has Module property.
Set the property to No. If asked to confirm your changes, click Yes.
Save and close the form.
Click the EQL Synchronize button to retry synchronization. Note that you may have more than one form with this problem, so you may need to repeat these steps with the other forms.
Related Articles
- Failed to import form with error "LoadFromText 1045" (0.559632453262)
- EQL Access Geosync - User Guide (0.495563131971)
- OnWeb displays only a blank screen and no forms or other windows (0.493964800652)
- Database design with replication in mind (0.477948529338)
Unrelated Articles
- How EQL OnWeb Works Part 1 (0.119004019902)
- Database Comparisons (0.120775535069)
- How OnWeb Works Part 2 (0.139310558283)
- Supported Access Versions (0.182969504078)