473,387 Members | 1,766 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.

Help!! Absolutely baffled ...

Hi all ...

I have an Access XP application that works fine at 8 separate locations.

The 9th location however has all sorts of strange things happening.

For example, as a test, I created a new database and made one form with 2
textboxes. I added the following functions behind the form:

Function SetBack()
Me.ActiveControl.BackColor = 8454016
End Function

Function ReSetBack()
Me.ActiveControl.BackColor = -2147483643
End Function

In the two textboxes gotfocus events, I've added =Setback(). In the
lostfocus events, I've added =ResetBack()

The functions are called as expected, however 'after' the backcolor has been
successfully changed, I then get an error:

"The expression On Got Focus you entered as the event property setting
produced the following error: The expression you entered contains invalid
syntax. * The expression may not result in the name of a macro, the name of
a user-defined function, or [Event Procedure]. * There may have been an
error evaluating the function, event, or macro."

Can anyone clue me in on what's wrong? I've tried installing/uninstalling
Access. This same code works fine at ALL the other locations.

Your help is greatly appreciated.
--Terry
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/23/2003
Nov 12 '05 #1
3 4272
By the way, it's running on Windows 2000 Server machine which is also
running Terminal Services. The problem occurs regardless of whether I'm
running from a Terminal OR logged in as Administrator at the server.

Thanks again,
--Terry
Hi all ...

I have an Access XP application that works fine at 8 separate locations.

The 9th location however has all sorts of strange things happening.

For example, as a test, I created a new database and made one form with 2
textboxes. I added the following functions behind the form:

Function SetBack()
Me.ActiveControl.BackColor = 8454016
End Function

Function ReSetBack()
Me.ActiveControl.BackColor = -2147483643
End Function

In the two textboxes gotfocus events, I've added =Setback(). In the
lostfocus events, I've added =ResetBack()

The functions are called as expected, however 'after' the backcolor has been successfully changed, I then get an error:

"The expression On Got Focus you entered as the event property setting
produced the following error: The expression you entered contains invalid
syntax. * The expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure]. * There may have been an
error evaluating the function, event, or macro."

Can anyone clue me in on what's wrong? I've tried installing/uninstalling
Access. This same code works fine at ALL the other locations.

Your help is greatly appreciated.
--Terry
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/23/2003

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/23/2003
Nov 12 '05 #2
Terry,

Check the verions of the references on the one of the computers that
works vs the one problem machine. You can check the references by
opening a module and clicking on the "Tool" menu then references. My
guess is you have a newer/older or missing reference library. Find
which one, then copy it to the machine with the trouble.

Hope this helps!
Mark

"JustMe" <te******@sasktel.net> wrote in message news:<vn************@corp.supernews.com>...
Hi all ...

I have an Access XP application that works fine at 8 separate locations.

The 9th location however has all sorts of strange things happening.

For example, as a test, I created a new database and made one form with 2
textboxes. I added the following functions behind the form:

Function SetBack()
Me.ActiveControl.BackColor = 8454016
End Function

Function ReSetBack()
Me.ActiveControl.BackColor = -2147483643
End Function

In the two textboxes gotfocus events, I've added =Setback(). In the
lostfocus events, I've added =ResetBack()

The functions are called as expected, however 'after' the backcolor has been
successfully changed, I then get an error:

"The expression On Got Focus you entered as the event property setting
produced the following error: The expression you entered contains invalid
syntax. * The expression may not result in the name of a macro, the name of
a user-defined function, or [Event Procedure]. * There may have been an
error evaluating the function, event, or macro."

Can anyone clue me in on what's wrong? I've tried installing/uninstalling
Access. This same code works fine at ALL the other locations.

Your help is greatly appreciated.
--Terry
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/23/2003

Nov 12 '05 #3
Hi Mark ...

THanks for your reply. Unfortunately that wasn't it. I've already checked
the references (even copied known good copies from one working machine to
this machine) with no success.

Any further ideas?

THanks,
--Terry
"mgoodrum" <mg******@aol.com> wrote in message
news:69**************************@posting.google.c om...
Terry,

Check the verions of the references on the one of the computers that
works vs the one problem machine. You can check the references by
opening a module and clicking on the "Tool" menu then references. My
guess is you have a newer/older or missing reference library. Find
which one, then copy it to the machine with the trouble.

Hope this helps!
Mark

"JustMe" <te******@sasktel.net> wrote in message

news:<vn************@corp.supernews.com>...
Hi all ...

I have an Access XP application that works fine at 8 separate locations.

The 9th location however has all sorts of strange things happening.

For example, as a test, I created a new database and made one form with 2 textboxes. I added the following functions behind the form:

Function SetBack()
Me.ActiveControl.BackColor = 8454016
End Function

Function ReSetBack()
Me.ActiveControl.BackColor = -2147483643
End Function

In the two textboxes gotfocus events, I've added =Setback(). In the
lostfocus events, I've added =ResetBack()

The functions are called as expected, however 'after' the backcolor has been successfully changed, I then get an error:

"The expression On Got Focus you entered as the event property setting
produced the following error: The expression you entered contains invalid syntax. * The expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure]. * There may have been an
error evaluating the function, event, or macro."

Can anyone clue me in on what's wrong? I've tried installing/uninstalling Access. This same code works fine at ALL the other locations.

Your help is greatly appreciated.
--Terry
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/23/2003

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/24/2003
Nov 12 '05 #4

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

Similar topics

1
by: Phil Powell | last post by:
<? class ErrorMsgCollection { var $name; var $mandatory; var $emptyErr; var $maxLength; var $maxLengthErr; var $minLength; var $minLenghtErr;
4
by: Mark Thomas | last post by:
Hi I do not understand why the following does not compile under Visual C++ 7.1. It is just a simple "Hello, World" program. // Hello World Application. Why does this fail? #include <iostream>...
2
by: \ | last post by:
Hi...I found your group on the search engine...First you have to know that I'm on a webtv unit.....I am really desperate.. I'm not much on tech terms as most of my pages are found and reworked...
4
by: Steve K | last post by:
While I'm no css guru by any stretch, I thought I knew more than this, guess not. I'm trying to come up with a style for a few lines of text that are secondary to the text above them, so I want...
13
by: s_m_b | last post by:
I'm building a suite of online forms for insurance. These have been stripped down from messy MS Word templates, and two of the six, substantially identical, are misbehaving with the .js page that...
0
by: Christopher Ambler | last post by:
This is long, but it's driving me nuts. I need some adult supervision :-) (and I'm not above bribing for help) I have a stored procedure that I call that returns XML to me. The SP returns 3...
4
by: Tim Robinson | last post by:
Hi, I generally consider myself competent with the complexities of quoting but I can't figure out postgres at all. I've read the manual and it looks very straightforward but that doesn't accord...
1
by: Philipp Lenz | last post by:
I'm completely new to ASP.Net 2.0 and I'm baffled about what to do to get this to work. FYI, I'm not new at this, I've used asp.net 1.1 for allmost 4 years now. I'm running a development...
17
by: sheldonlg | last post by:
I need to do some modifications on some code I just inherited and that code has me baffled. On one page, caller.php, with method get there is an anchor with href="foo.php?bar=123". On foo.php,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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
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?
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...

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.