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

May I print a recordset or filled on a form

222 100+
Dear experts,



I would like to print a record set or fill all data on it on a specific report that I made

Suppose that my record set is RS, I do have RS![customername] and RS![account]
Report Name : Customer balance
Form : Customers
May I print the report required filled by all data from the recordset?


My goal is to change the recodset criteria so I can print many reports in one in place of making many reports

Best regards;

Thank you in advanced



Wassim
Mar 27 '08 #1
4 1464
PianoMan64
374 Expert 256MB
Dear experts,



I would like to print a record set or fill all data on it on a specific report that I made

Suppose that my record set is RS, I do have RS![customername] and RS![account]
Report Name : Customer balance
Form : Customers
May I print the report required filled by all data from the recordset?


My goal is to change the recodset criteria so I can print many reports in one in place of making many reports

Best regards;

Thank you in advanced



Wassim
What criteria are you wanting to change on the report, is there more than the two fields that you've explained in your example. I need more information as to what and why you're wanting to do what it is you want to do?

I would be able to make suggestions based on what it is you're want to accomplish here.

Looking forward to hearing from you,

Joe P.
Mar 29 '08 #2
wassimdaccache
222 100+
What criteria are you wanting to change on the report, is there more than the two fields that you've explained in your example. I need more information as to what and why you're wanting to do what it is you want to do?

I would be able to make suggestions based on what it is you're want to accomplish here.

Looking forward to hearing from you,

Joe P.
Dear Joe.

I do have 3 separated tables each one contains 8 fields

1st is := Invoices
2st is = Payments
3rd is := customers

what they asked me for is a statement of account of a every customer merge by the payments for example

Date invoice_amount Payments Account customer ID
1/1/1998 200 0 200 1
1/2/1998 0 100 100 1
1/3/1998 100 0 200 1

What I was trying to do is to fill all the data in 1 recordset so I can sort this record set by date and print out ????


NB: I didn't save the customer account any place.. is my logic true ? is there any better way to do it ? Do I have to change table relation? I was wondering if payments field must be in the same table as invoice?


Kindly I would like to have any comments that can help me to proceed on this reports




I am waiting for your reply,


WASSIM S DACCACHE
Mar 31 '08 #3
PianoMan64
374 Expert 256MB
Dear Joe.

I do have 3 separated tables each one contains 8 fields

1st is := Invoices
2st is = Payments
3rd is := customers

what they asked me for is a statement of account of a every customer merge by the payments for example

Date invoice_amount Payments Account customer ID
1/1/1998 200 0 200 1
1/2/1998 0 100 100 1
1/3/1998 100 0 200 1

What I was trying to do is to fill all the data in 1 recordset so I can sort this record set by date and print out ????


NB: I didn't save the customer account any place.. is my logic true ? is there any better way to do it ? Do I have to change table relation? I was wondering if payments field must be in the same table as invoice?


Kindly I would like to have any comments that can help me to proceed on this reports




I am waiting for your reply,


WASSIM S DACCACHE
Ok Wassim,

Instead of re-inventing the wheel again, less simplify this situation a great deal.

If all this items from Customer, Invoices, and Payments are all in tables, then you simply need to create a query, that will show the items that you need in the report, without having to go through creating a Recordset. Recordsets are only if you're programming in VBA and you have no need at this point to do that.

This a very simple query that you can write in the Query Designer in Acccess.

Simply show the three tables that you're talking about, and create the relationships between them, by dragging the key value from the Customer table to the Primary Key of the Invoices, and then Dragging the Customer ID number to the customer ID in the Payments Table so as to show what payments where made by the customer.

Then simply select which fields you want to display, and sort as needed, and when creating your report, just select the query you created as the datasource for the report.

Then that way you'll have all the information that you need.

Hope that helps,

Joe P.
Mar 31 '08 #4
wassimdaccache
222 100+
Dear joe;


Wish that u are OK man.


I would like to ask u something about my relationship cz still have a duplication in my query

my relationship for those tables
1st is := Invoices
2st is = Payments
3rd is := customers
are :

customerid is primary key on table customers connected to customerid in invoices and connected to customerid in payments ( customerid in both table invoices and payments aren't a primary key )


does my relationship is true ?


please any suggestion to proceed with query cz still not execute to me what i really need


Thank you in advanced.


WASSIM S DACCACHE
CCE
Apr 27 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: belacyrf | last post by:
Here's the code: ------------------------------------------------------------------- accessID = request("accessID") strSQL = "SELECT * From PendingAccRequests Where AccessID = "&accessID ...
1
by: weiwei | last post by:
HI I am having a problem with print friendly function with asp, I have download some code regard with print friendly, it works fine with static html information, however, I have the dynamic pages...
16
by: John Baker | last post by:
HI; I feel like a fool..I put CUTE FTP in my last request for help --it should have been CUTE PDF! I have FTP on my mind because I have been working on a web based application, and somehow my...
3
by: JingleBEV | last post by:
Hi all, I am trying not to use global variable to maintain data consistency. Some procedures and functions will require to pass the recordset object for processing and functions may also return...
2
by: yugo | last post by:
Hi there, this is my first post but i've been reading and finding good solutions here for more than 6 months. Now its my turn to have some problem with access. I have a form with a button that when...
2
by: damezumari | last post by:
I use Access 2003 and WinXP. I have a recordset declared: Dim regValuation As Recordset Later, I may, or may not, fill it (for a certain csql string) like this: Set regValuation =...
3
by: Garmt de Vries | last post by:
On the website of the Dutch Jules Verne Society (www.jules-verne.nl), we have several forms that visitors can use to order something, or to apply for membership. Of course, a form's primary purpose...
5
by: mankolele | last post by:
Hi all. I need to have a print button on the page where I have a form. The form is filled in and sent to the database at the same time the information must be filled to the document to print (a word...
1
by: troy_s11 | last post by:
I have vba code calling a word document and printing it. I need to merge some data from an access table to the word document before it prints. This needs to happen for a large list, so the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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.