INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

HANDLE


PASSWORD
Remember Me
Forgot Password?

Come Join Us!

  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

E-mail*
Handle

Password
Verify P'word
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Member Feedback

"...This was the ONLY place that I could find information that I could use to resolve the problem. So thanks once again to member TomSark and the SQL forum!..."

Geography

Where in the world do Tek-Tips members come from?
itsuit (IS/IT--Management)
21 Jan 09 11:38
I use an Access 2000 report to create checks based on information in an external ODBC database. I'd like to have the user alerted if a check number in the report is skipped (the check number comes from a field in the external view and is stored as a number).

Any help is appreciated.
Tek-Tips Forums is Member Supported. Click Here to donate.
pwise (Programmer)
21 Jan 09 11:53
Create A numbers table
1 field digitid
with numbers from 1 to .......

create a query AllChecknums

CODE

Select digitid
from numbers
inner join (Select min(Checkno)mincheckno,max (checkno)     maxcheckno
from ExternalTable)
on digitid between mincheckno and maxcheckno
your recordsource on the report should be

CODE

Select digitid from AllChecknums
left join ExternalTable
on ExternalTable.checknum = AllChecknums.digitid

on the report add text box with this control source

CODE

=nz(ExternalTable.checknum,AllChecknums.digitid)+ " is missing in ExternalTable"


 

Start A New Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Promoting, selling, recruiting and student posting
are not allowed in the forums.
Posting Policies

LINK TO THIS FORUM!
(Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum)
TITLE: Microsoft: Access Reports Forum at Tek-Tips
URL: http://www.tek-tips.com/threadminder.cfm?pid=703
DESCRIPTION: Microsoft: Access Reports technical support forum and mutual help system for computer professionals. Selling and recruiting forbidden.