corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Access Help - Cracked it


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Access Help - Cracked it
Neo
Member

Registered: 20th Feb 07
Location: Essex
User status: Offline
11th Jul 07 at 21:58   View User's Profile U2U Member Reply With Quote

Hello all,

I have a big problem, i need to create a report in access that contains the results from a query.

The query can only return a result if there is something input for the value. How do i make this query ?? Help !!

[Edited on 12-07-2007 by Neo]

[Edited on 12-07-2007 by Neo]
Neo
Member

Registered: 20th Feb 07
Location: Essex
User status: Offline
11th Jul 07 at 22:20   View User's Profile U2U Member Reply With Quote

Help, need it finished by tomorrow night !
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Online
11th Jul 07 at 23:22   View Garage View User's Profile U2U Member Reply With Quote

I'm not clear - you only want to run the report if you have user input?

Give me some sample data / queries.
Neo
Member

Registered: 20th Feb 07
Location: Essex
User status: Offline
12th Jul 07 at 19:07   View User's Profile U2U Member Reply With Quote

Ok an example

I need to create a report (Letter) that looks up the name of a person, and then 2 fields of information (Job Function and Standard Limits). Each user has more than 1 job function, however i want the final report to ignore any job function headings where there is no data in the standard limits field.

Hope thats clear.
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Online
12th Jul 07 at 20:17   View Garage View User's Profile U2U Member Reply With Quote

Give me table structures.

I'm guessing you want an inner join or some sort and perhaps a limit in there somewhere, but I'm still not clear what you want.
Neo
Member

Registered: 20th Feb 07
Location: Essex
User status: Offline
12th Jul 07 at 20:19   View User's Profile U2U Member Reply With Quote

OK update,

I guess its something to do with null values, however i can't make it work.

When i use "is not null" it gives no results.....

any help ?
Neo
Member

Registered: 20th Feb 07
Location: Essex
User status: Offline
12th Jul 07 at 20:25   View User's Profile U2U Member Reply With Quote

Table Structures....You really have lost me somewhat, i google it and its asking to use asp...I'm new to this

I know about inner joins and i think i'm just being stupid. you probably think so to.

I think i have the idea of what to do, just going to put it into play...
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Online
12th Jul 07 at 20:50   View Garage View User's Profile U2U Member Reply With Quote

Show me some data!!
Neo
Member

Registered: 20th Feb 07
Location: Essex
User status: Offline
12th Jul 07 at 21:29   View User's Profile U2U Member Reply With Quote

Its finished now, rang my old college lecturer and he explained how to do it over the phone.


You were right Ian it was an inner join using 2 queries, and i was doing it totally wrong for how it was meant to work...i feel like a fool

Thanks for your help anyway Ian
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Online
12th Jul 07 at 21:30   View Garage View User's Profile U2U Member Reply With Quote

No worries.

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
cars running at 100 degrees sunnyb Help Zone, Modification and ICE Advice 25 1430
20th Jan 04 at 15:36
by ffls
 
Anti-virus thread big eck Geek Day 11 1174
4th Apr 05 at 14:08
by Voyto
 
anyone know for a.. (i.t people) Bart Geek Day 26 2436
5th Apr 05 at 14:41
by Ian
 
iPodz Tas Geek Day 28 2129
18th May 06 at 14:00
by Rebrabuk
 
Question regarding two wireless access points Steve Geek Day 2 1309
25th Feb 07 at 19:00
by Aj.
 

Corsa Sport » Message Board » Off Day » Geek Day » Access Help - Cracked it 29 database queries in 0.0122621 seconds