473,698 Members | 2,084 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating Custom Report in Access

Hi Everyone,

I need some help!! I'm not sure if you could do this, but I want to be
able to create a report based on one field in the database. This field
contains File Paths like for example:

default.htm
/en/example/aboutus.htm
/fr/example/bonjour.htm
/en/google/help/aboutus/findus.htm

I want to be able to sort in alphabetical order, and display a report
on the root level of the file paths.

So just to show you and example:

CUSTOM REPORT

------------------------------------------------------------------
ROOT

default.htm

------------------------------------------------------------------
EN

/en/example/aboutus.htm
/en/google/help/aboutus/findus.htm

------------------------------------------------------------------

FR

/fr/example/bonjour.htm

------------------------------------------------------------------

And so on and so forth.
I want to be able to seperate them by their root level folder. The
files that have no paths just the filename means it's on the root of
the drive. So, Can I have another header called ROOT which displays all
the files that are actually on the root itself? Then from there, I can
start picking out the root level folder names and displaying them in
seperate rows.

Could anybody give any suggestions on how to go about doing this?

Justin

Oct 31 '06 #1
5 5382
Ralph
Develop the report you want and then add a Grouping/Sorting level
which you assign as "=Mid([path],2,IIf(InStr([path],"/")>0,2,0))"

Add a Group Header
and put a control in that group header with the value
of "=Mid([path],2,IIf(InStr([path],"/")>0,2,0)). "

Kevin C

"Ralph" <ju*********@gm ail.comwrote in message
news:11******** **************@ b28g2000cwb.goo glegroups.com.. .
Hi Everyone,

I need some help!! I'm not sure if you could do this, but I want to be
able to create a report based on one field in the database. This field
contains File Paths like for example:

default.htm
/en/example/aboutus.htm
/fr/example/bonjour.htm
/en/google/help/aboutus/findus.htm

I want to be able to sort in alphabetical order, and display a report
on the root level of the file paths.

So just to show you and example:

CUSTOM REPORT

------------------------------------------------------------------
ROOT

default.htm

------------------------------------------------------------------
EN

/en/example/aboutus.htm
/en/google/help/aboutus/findus.htm

------------------------------------------------------------------

FR

/fr/example/bonjour.htm

------------------------------------------------------------------

And so on and so forth.
I want to be able to seperate them by their root level folder. The
files that have no paths just the filename means it's on the root of
the drive. So, Can I have another header called ROOT which displays all
the files that are actually on the root itself? Then from there, I can
start picking out the root level folder names and displaying them in
seperate rows.

Could anybody give any suggestions on how to go about doing this?

Justin

Oct 31 '06 #2
I'm sorry, I'm not sure what you mean by a grouping/sorting level?

J

Kc-Mass wrote:
Ralph
Develop the report you want and then add a Grouping/Sorting level
which you assign as "=Mid([path],2,IIf(InStr([path],"/")>0,2,0))"

Add a Group Header
and put a control in that group header with the value
of "=Mid([path],2,IIf(InStr([path],"/")>0,2,0)). "

Kevin C

"Ralph" <ju*********@gm ail.comwrote in message
news:11******** **************@ b28g2000cwb.goo glegroups.com.. .
Hi Everyone,

I need some help!! I'm not sure if you could do this, but I want to be
able to create a report based on one field in the database. This field
contains File Paths like for example:

default.htm
/en/example/aboutus.htm
/fr/example/bonjour.htm
/en/google/help/aboutus/findus.htm

I want to be able to sort in alphabetical order, and display a report
on the root level of the file paths.

So just to show you and example:

CUSTOM REPORT

------------------------------------------------------------------
ROOT

default.htm

------------------------------------------------------------------
EN

/en/example/aboutus.htm
/en/google/help/aboutus/findus.htm

------------------------------------------------------------------

FR

/fr/example/bonjour.htm

------------------------------------------------------------------

And so on and so forth.
I want to be able to seperate them by their root level folder. The
files that have no paths just the filename means it's on the root of
the drive. So, Can I have another header called ROOT which displays all
the files that are actually on the root itself? Then from there, I can
start picking out the root level folder names and displaying them in
seperate rows.

Could anybody give any suggestions on how to go about doing this?

Justin
Oct 31 '06 #3
I have a table called ZeroHit with a field in it called ID_Path.

When I put the "=Mid([path],2,IIf(InStr([path],"/")>0,2,0))" value into
the control source of my text field in the header, it returns #Name.

J

Oct 31 '06 #4
If you open your report in design view you can right click on
the top band of the report. One of the options is "Sorting and Grouping"
Select that and in the area where you are asked to enter
a Field or Expression, enter the expression below without
the Outermost quotation marks. (Also substitute the real field name
for the phoney "Path" that is in the expression).
In the Group Properties area change groupHeader to "Yes".
Kevin C

"Ralph" <ju*********@gm ail.comwrote in message
news:11******** **************@ i42g2000cwa.goo glegroups.com.. .
I'm sorry, I'm not sure what you mean by a grouping/sorting level?

J

Kc-Mass wrote:
>Ralph
Develop the report you want and then add a Grouping/Sorting level
which you assign as "=Mid([path],2,IIf(InStr([path],"/")>0,2,0))"

Add a Group Header
and put a control in that group header with the value
of "=Mid([path],2,IIf(InStr([path],"/")>0,2,0)). "

Kevin C

"Ralph" <ju*********@gm ail.comwrote in message
news:11******* *************** @b28g2000cwb.go oglegroups.com. ..
Hi Everyone,

I need some help!! I'm not sure if you could do this, but I want to be
able to create a report based on one field in the database. This field
contains File Paths like for example:

default.htm
/en/example/aboutus.htm
/fr/example/bonjour.htm
/en/google/help/aboutus/findus.htm

I want to be able to sort in alphabetical order, and display a report
on the root level of the file paths.

So just to show you and example:

CUSTOM REPORT

------------------------------------------------------------------
ROOT

default.htm

------------------------------------------------------------------
EN

/en/example/aboutus.htm
/en/google/help/aboutus/findus.htm

------------------------------------------------------------------

FR

/fr/example/bonjour.htm

------------------------------------------------------------------

And so on and so forth.
I want to be able to seperate them by their root level folder. The
files that have no paths just the filename means it's on the root of
the drive. So, Can I have another header called ROOT which displays all
the files that are actually on the root itself? Then from there, I can
start picking out the root level folder names and displaying them in
seperate rows.

Could anybody give any suggestions on how to go about doing this?

Justin

Oct 31 '06 #5
I just sent you an email with some screenshots of what I have done so
far. It doesn't seem to be working. It gives me a back screen?

J

Nov 1 '06 #6

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

Similar topics

1
4363
by: Alan | last post by:
Hi there, Are there Excel charting gurus here?? If so then please read on... Sorry for the cross-post but I'm not familiar with the Excel groups. I've posted to asp.general because if I have to code a solution to this it'll probably be done in ASP on a web server, unless there's a significantly better way. I'm looking for a way to create over 100 Excel *charts* programmatically.
5
3198
by: Alan | last post by:
Hi there, Are there Excel charting gurus here?? If so then please read on... Sorry for the cross-post but I'm not familiar with the Excel groups. I've posted to asp.general because if I have to code a solution to this it'll probably be done in ASP on a web server, unless there's a significantly better way. I'm looking for a way to create over 100 Excel *charts* programmatically.
1
2912
by: longtim | last post by:
I have been having endless difficulty creating reports/queries that set any relevent parameters from controls in forms. I am creating an application under access 2003 but will target access 2000. The access file is in access 2000 format. I have a form that will hold the relevent parameters for the query/report that reports the statistics for all job records that match a certain criteria. These are: - A Customer Name.
1
7363
by: MacDermott | last post by:
I created a report to print labels, and it created a custom page size for the report. When I opened the properties of the printer driver I could see it listed - as Custom. Then I had to change printer drivers. (Long story, rather OT.) When I displayed the report, it was formatted for a full page - not real useful for mailing labels. The list of available page sizes did not include Custom.
2
2295
by: TD | last post by:
I've read several posts here that say global variables are reset whenever an unhandled error occurs. I want to use a custom form property instead of a global variable to store a boolean value. My question is does a custom form property get reset also? Was also wondering if there is any reason one would ever use a global variable since the consensus seems to be to never use global variables?
2
6071
by: Andy | last post by:
Hi guys I having a problem creating a report in Access 2003 project talking to a SQL database through and ODBC connect. After hours of trying things from Access Help, MSDN and Google I still can't get it working. I have a query defined (view) and want the end user to put in a start date and end date to filter a report.
3
1926
by: =?Utf-8?B?R2hpc3Rvcw==?= | last post by:
Hi all, We have a N-Tier framework and we now create a Web Site App to wotk with this architecture. I add reference from my libraries in the project and creating page and controls is very easy, using my objects. But, it's seem that I cannot create report using Crystal Report with my objects. I created classes in the app_Code folder and yes, I can use them but, it's not the way I eant to do it. I want to use my classes from my dlls.
2
19474
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I will be writing this article intended for those who are in the same level, or maybe lower, of my technical knowledge. I would be using layman's words, or maybe, my own words as how I understand them, hoping, you will understand it the same way that...
0
2897
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I will be writing this article intended for those who are in the same level, or maybe lower, of my technical knowledge. I would be using layman's words, or maybe, my own words as how I understand them, hoping, you will understand it the same way that...
0
8600
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9156
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9021
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8892
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4361
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2323
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1998
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.