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

I have a problem w/ calculated field in A97 query...

MLH
MyLocPhone: Format$([LocPhone],"(@@@) @@@-@@@@")

The above expression is a field in a select query. On one XP box
(the dev box, of course). It works fine. On two other XP boxen -
it fails saying "Function isn't available in expressions in query
expression ..." ==> citing the MyLocPhone: Format$([LocPhone]...
as the problem.

The query is evaluated on-click of a command button. If it returns
records, there are things to be done. I have installed the A97 runtime
app onto the 3 XP machines. Of course, the target machines where
it is intended to run as a live app are the one's causing me grief. It
is extremely frustrating - really, it is.

My reference: qryPendingUnprintedOutboundCorrespondenceENF-260ies

Nov 13 '05 #1
10 1404
MLH wrote:
MyLocPhone: Format$([LocPhone],"(@@@) @@@-@@@@")

The above expression is a field in a select query. On one XP box
(the dev box, of course). It works fine. On two other XP boxen -
it fails saying "Function isn't available in expressions in query
expression ..." ==> citing the MyLocPhone: Format$([LocPhone]...
as the problem.

The query is evaluated on-click of a command button. If it returns
records, there are things to be done. I have installed the A97 runtime
app onto the 3 XP machines. Of course, the target machines where
it is intended to run as a live app are the one's causing me grief. It
is extremely frustrating - really, it is.

My reference: qryPendingUnprintedOutboundCorrespondenceENF-260ies


You have a missing or broken reference. Open a code window on the problem PC
and then look at Tools - References. One of the "checked" ones will have the
word "MISSING" after it.

That reference either needs to be removed from the file or fixed on that PC.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #2
MLH
I might also mention that it happens on a Win98 box
that I installed the A97 runtime app onto.
Nov 13 '05 #3
MLH
Very promising. I'll check it out & get back with you. Thx!
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


You have a missing or broken reference. Open a code window on the problem PC
and then look at Tools - References. One of the "checked" ones will have the
word "MISSING" after it.

That reference either needs to be removed from the file or fixed on that PC.


Nov 13 '05 #4
MLH
AnsyrPrint Type 1.0 Library was the one with "missing" beside it.
You hit the nail right on the head.

1) How do I obtain what's missing?
2) Does it require installation procedure more complex than simply
copying a file to a specified location on the target machines?

The machine I tested was the Win98 machine. I won't be able to
examine the others until tomorrow.
Nov 13 '05 #5
MLH
Regarding the AnsyrPrint Type 1.0 Library...

I think it has something to do with the JAWS PDF Editor.
Hell, I don't even want that thing. I have a JAWS PDF
Creator printer device as one of my installed printers. I
must have their editor (at least an expired evaluation
copy) on there too. I'm pretty sure that's the editor. Yep.
Sure enough, I checked my desktop and I have an icon
that launches "C:\Program Files\Jaws PDF Editor\" on
there.

Well. That's it. I'm lost now. Hope you can help. I am
confused as to how A97 latched onto this thing and
tries to ship out references to it along with my runtime
distributions. Oh well. I guess I need to know how to
instruct Access to forget about this thing - forget that
it even exists. Maybe Access is getting its cues from
the OS or something. Gosh, I'm lost.
Nov 13 '05 #6
MLH wrote:
Regarding the AnsyrPrint Type 1.0 Library...

I think it has something to do with the JAWS PDF Editor.
Hell, I don't even want that thing. I have a JAWS PDF
Creator printer device as one of my installed printers. I
must have their editor (at least an expired evaluation
copy) on there too. I'm pretty sure that's the editor. Yep.
Sure enough, I checked my desktop and I have an icon
that launches "C:\Program Files\Jaws PDF Editor\" on
there.

Well. That's it. I'm lost now. Hope you can help. I am
confused as to how A97 latched onto this thing and
tries to ship out references to it along with my runtime
distributions. Oh well. I guess I need to know how to
instruct Access to forget about this thing - forget that
it even exists. Maybe Access is getting its cues from
the OS or something. Gosh, I'm lost.


Just uncheck it.

If you open a new blank A97 file and look at the references you will see the 3
or 4 default ones. In my opinion, those are the only ones you should ever have
set in an app that needs to be distributed to other users.

Additional references can get checked when you are experimenting with various
things duriong development. It is always a good idea to periodically check them
and eliminate any extra ones.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
Nov 13 '05 #7
MLH
Thanks a lot, Rick. I'll have a go at that.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Just uncheck it.

If you open a new blank A97 file and look at the references you will see the 3
or 4 default ones. In my opinion, those are the only ones you should ever have
set in an app that needs to be distributed to other users.

Additional references can get checked when you are experimenting with various
things duriong development. It is always a good idea to periodically check them
and eliminate any extra ones.


Nov 13 '05 #8
MLH
Yes, well now, that did the trick. I installed a temporary copy
of Access 97 onto the Win98 box on which the runtime app
was installed and I put a copy of the SOURCE mdb file on
there too. Opening the mdb and one of its modules, Tools,
References revealed the problem.

So I went back to the development box, opened the SOURCE
mdb, unchecked the problematic reference, rebuilt the mde
file, copied the newly created mde to the Win98 box runtime
appdir - overwriting the old. I opened it - problem gone. I do
appreciate that.

Of course, dbl-clicking the runtime application icon on the
desktop now results in MS Access 97 splash screen being
displayed during the launch. That will go away after I remove
the copy of A97 I installed onto the Win98 box, I'm sure. But
I really would like to know how to circumvent this behavior,
as it catches me by surprise sometimes when I install a runtime
app onto a customer machine already having A97 installed.

My application icon Target: string looks like this...
"C:\Program Files\TowPack\TowPack.mde"
and its Start In: string like this...
"C:\Program Files\TowPack"

I'm certain the installation of A97 changed the file association
for mde files to be launched with A97's msaccess.exe in
C:\Program Files\Microsoft Office\Office\ instead of whatever
it was using before. So, how could I modify my runtime app's
Target: string to launch the way it was launching before I
installed A97 last night?
Nov 13 '05 #9
MLH wrote:
Of course, dbl-clicking the runtime application icon on the
desktop now results in MS Access 97 splash screen being
displayed during the launch. That will go away after I remove
the copy of A97 I installed onto the Win98 box, I'm sure. But
I really would like to know how to circumvent this behavior,
as it catches me by surprise sometimes when I install a runtime
app onto a customer machine already having A97 installed.

My application icon Target: string looks like this...
"C:\Program Files\TowPack\TowPack.mde"
and its Start In: string like this...
"C:\Program Files\TowPack"

I'm certain the installation of A97 changed the file association
for mde files to be launched with A97's msaccess.exe in
C:\Program Files\Microsoft Office\Office\ instead of whatever
it was using before. So, how could I modify my runtime app's
Target: string to launch the way it was launching before I
installed A97 last night?


Unless you go to some length to prevent it you won't have two separate instances
of the MSAccess.exe file on the machine. The runtime installer will not install
the runtime if Access 97 is already present and the Office 97 installer will use
the same folder and file that the runtime created if the runtime install is done
first.

What you need is the /Runtime command line argument in your shortcut if you want
the app to run in the "runtime environment" even when a fully licensed copy is
present.

If you place your own BMP file in the same folder as your mdb and give it the
same name as your mdb (other than extension) then it will display that when you
app is opened instead of the Office splash screen.

As stated previously you need to recreate your setup package and use the options
provided for a proper shortcut to be created. It should not simply be a
shortcut pointing at the mdb file.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com


Nov 13 '05 #10
MLH
<censored>
Yeah, you're right. I've gotta do that. I'll get around to it this
weekend hopefully. Have a good 4th.

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

As stated previously you need to recreate your setup package and use the options
provided for a proper shortcut to be created. It should not simply be a
shortcut pointing at the mdb file.


Nov 13 '05 #11

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

Similar topics

2
by: Manfred | last post by:
Hi Would like to add a new Field to Table which is 75 % (or another Percentage) higher than the Value in another Field in same Table.Is this possible with Expression or would I have to enter the...
1
by: Miguelito Bain | last post by:
hi everybody. i'm trying to find out what you can and can't do with/in calculated fields. any help, pointers, and/or advice would be greatly appreciated. i'm a newbie, but i want to learn, and...
5
by: John Bahran | last post by:
I am trying to use calculated fields in my query but all the results are zero ven when they're not. Please help. Thanks.
1
by: Norbert Lieckfeldt | last post by:
MS Access 2002 here. I am just trying to set up a simple database for a friend who's an optician. Basically, all clients with address details, date of last eyetest and a drop-down combo box to...
2
by: Norbert Lieckfeldt | last post by:
I am setting up a database for a friend who's an Optician, using MS Access 2002. All seems to be working well, but I have hit a snag. There's a calculated field both in a form and a query which...
5
by: Henrik | last post by:
The problem is (using MS Access 2003) I am unable to retrieve long strings (255 chars) from calculated fields through a recordset. The data takes the trip in three phases: 1. A custom public...
2
by: jcf378 | last post by:
hi all. I have a form which contains a calculated control ("days") that outputs the # of days between two dates (DateDiff command between the fields and ). However, when I click "Filter by...
9
by: Haas C | last post by:
Hi all! Is there anyway I can override a value in a calculated field on a form? For example: I have a form which displays the following fields based on a query: Premium Due field has the...
3
by: myemail.an | last post by:
I use Access 2007 and create queries with a number of calculated fields/expressions (I'm still a novice so please forgive me if my wording is imprecise...), like: MyCalculation = Field1 - Field2. ...
2
by: mkbrady | last post by:
I have a query that includes calculated fields that generate numeric results. I have wrapped conversion functions CLng() and CDdl() around the calculated fields to ensure the data types are...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: 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
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...

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.