473,387 Members | 1,606 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,387 software developers and data experts.

Unable to open form !!

A particular form - always the same - sometimes becomes corrupt after
saving.
Error msg =
The expression On Open you entered as the event property settings produced
the following error:
A problem occurred while 'DB-name' was communicating with the ole server or
ActiveX controle.

The form has a calendar-controle.
I have eliminated the code in the OnOpen-event but the form stays corrupt!

Sometimes before being corrupt the properties of a particular combobox are
changed.
Column Heads from No > Yes
List Rows from 8 > 25622
The rowsource becomes uneditable ( no ... on the right)

Any help is welcom.

Filip


Nov 12 '05 #1
2 2282
"Filips Benoit" <be***********@pandora.be> wrote in message
news:M4********************@phobos.telenet-ops.be...
A particular form - always the same - sometimes becomes corrupt after
saving.
Error msg =
The expression On Open you entered as the event property settings produced
the following error:
A problem occurred while 'DB-name' was communicating with the ole server or ActiveX controle.

The form has a calendar-controle.
I have eliminated the code in the OnOpen-event but the form stays corrupt!

Sometimes before being corrupt the properties of a particular combobox are
changed.
Column Heads from No > Yes
List Rows from 8 > 25622
The rowsource becomes uneditable ( no ... on the right)

Any help is welcom.

Filip


Check your references. Are any missing? Does compact and repair help?
What about saving a copy of the form with a new name?
If things get really bad, remove all your code from the form and keep it
safe in a text file. Remove the control from the form and save the form.
Create a new database and import all objects. Re-insert the object and
paste your code back in.

For the future you could consider a non-activex control for the calendar.
Many people use an all-Access solution to avoid issues with the calendar
control.

Fletcher
Nov 12 '05 #2
Thanks,

Removing, re-insert the object + code curred the form.

Where can i find a non-activex control for the calendar?

Filip

"Fletcher Arnold" <fl****@home.com> wrote in message
news:bu**********@titan.btinternet.com...
"Filips Benoit" <be***********@pandora.be> wrote in message
news:M4********************@phobos.telenet-ops.be...
A particular form - always the same - sometimes becomes corrupt after
saving.
Error msg =
The expression On Open you entered as the event property settings produced the following error:
A problem occurred while 'DB-name' was communicating with the ole server

or
ActiveX controle.

The form has a calendar-controle.
I have eliminated the code in the OnOpen-event but the form stays corrupt!
Sometimes before being corrupt the properties of a particular combobox are changed.
Column Heads from No > Yes
List Rows from 8 > 25622
The rowsource becomes uneditable ( no ... on the right)

Any help is welcom.

Filip


Check your references. Are any missing? Does compact and repair help?
What about saving a copy of the form with a new name?
If things get really bad, remove all your code from the form and keep it
safe in a text file. Remove the control from the form and save the form.
Create a new database and import all objects. Re-insert the object and
paste your code back in.

For the future you could consider a non-activex control for the calendar.
Many people use an all-Access solution to avoid issues with the calendar
control.

Fletcher

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: soup_or_power | last post by:
The pop up window has several checkboxes. I'm unable to access the checkboxes using the handle from window.open. Any way to do this? var display; function showSugg(but_id, sugg1, sugg2, sugg3,...
5
by: elieli_132 | last post by:
Hi, My problem is the following: Made changes to code in form and closed the form. Now unable to open / design the form. - Tried copying and pasting - the new one does not open /display....
3
by: Susan Bricker | last post by:
Greetings. I have three forms that are open at the same time. They are related and cascading. The first form (frmEventAdd) is the anchor. Each event can have many Trials. The second form is...
6
by: Brad | last post by:
I have a win2003 server workstation with multiple webs, each web has it's own ip address. In VS2005, if I select to open an existing web site, select Local IIS, the dialog correctly displays a...
0
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
0
by: Buddy Home | last post by:
Hello, I'm trying to upload a file programatically and occasionally I get the following error message. Unable to write data to the transport connection: An established connection was aborted...
3
by: Buddy Home | last post by:
Hello, I'm trying to upload a file programatically and occasionally I get the following error message. Unable to write data to the transport connection: An established connection was aborted...
0
by: airwot4 | last post by:
Hi all, I'm sure this is simple to answer but I have built a project exited VB Express. When I go back into VB Express and open the project no files appear (but I can open them manually) and...
0
by: ll | last post by:
I'm working with 'pure ASP upload' script which is designed to redirect to an alert/error message, should a file larger than the set limit be attempted to be uploaded. The problem is that, while...
1
by: sausthav | last post by:
Hi All, I am unable to get the excel open when user select two dates from my code. Previously i was successfully extracting values by selecting year and month values from the webpage. Could you help...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.