|
-
Oct 23rd, 2003, 06:09 AM
#1
Thread Starter
Addicted Member
access reports UNRESOLVED!
are crap
im using access 2000
and the reports decide to work or not.
is there any way to make them stable?
Last edited by Bazzlad; Oct 28th, 2003 at 04:56 AM.
-
Oct 23rd, 2003, 09:21 AM
#2
Lively Member
How are they working and then not? What is the behaviour you are seeing manifest? What are the conditions that the report is operating in? Where is the report being run?
-
Oct 23rd, 2003, 10:29 AM
#3
Thread Starter
Addicted Member
I'm running a report which draws its information from a query, the query draws its information from a form
Code:
SELECT DISTINCT [tblin].[Make], [tblin].[Phone Model], [tblin].[IMEI], [tblin].[Cost], [tblin].[Sold?], [tblin].[Sale Number], [tblin].[Price], [tblcustomer].[Customer Name], [tblcustomer].[Customer ID], [tblcustomer].[Company], [tblout].[Date]
FROM tblcustomer, tblout, tblin
WHERE ((([tblin].[Sold?])=Yes) And (([tblin].[Sale Number])=[Forms].[frmsale].[sale number].value) And (([tblcustomer].[Customer ID])=[Forms]![frmsale]![Customer ID].value) And (([tblout].[Date])=[Forms]![frmsale]![datebox].value));
It'll work 50% of the time and the others it'll say
access can't find the field FORMS reffered to in your expression
or
the open report action was cancelled.
It's driving me insane.
-
Oct 23rd, 2003, 12:21 PM
#4
Lively Member
Have you run a compact & repair on this DB? Also since you said the query is BASED on an OPEN form, when you run this report that form is running correct (just trying to eliminate the obvious stuff ...)?
-
Oct 27th, 2003, 04:10 AM
#5
Thread Starter
Addicted Member
Have run a compact.
Form running correct?
Je ne pas comprende!
The Data is there and the form is open....
any ideas whats wrong?
-
Oct 28th, 2003, 10:58 AM
#6
Frenzied Member
Originally posted by Bazzlad
It'll work 50% of the time and the others it'll say
access can't find the field FORMS reffered to in your expression
or
the open report action was cancelled.
Exactly, look at this in your sql statement:
Code:
[Forms].[frmsale].[sale number].value
Should be:
Code:
[Forms]![frmsale]![sale number].value
-
Oct 28th, 2003, 11:04 AM
#7
Thread Starter
Addicted Member
Changed it but it still is throwing strops....
If you look here
http://www.vbforums.com/showthread.p...hreadid=265684
You can find a link to Download and have a look if you like...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|