In a form, Is it possible to select certain records that I want, somewhere on the form where I could specify what records I want... from a table with many many records) and put that on a report?
Scroll down to CosmoKramer's post where he lists the code. It is quite a unique way of allowing the user in a free format to select multiple records for a report/query. Bob Scriver
There are a number of other solutions. Before we continue what were the problems that you experienced with the code that I recommended?
How many records are being selected at a time? Are we talking about a large number and are they identified by a certain code or record type. You see we could use a ListBox of all of the records in the table and have you select the records that you want.
Provide me with some of the specifics of your needs. Bob Scriver
Hi Bob,
The problem is that the modules code didn't work at all. Maybe because I didn't know how to set it up but someone else in another forum who had a look at my DB recommended not to use modules for my project because of something called runtime error (what is that? I have no idea).
I want to select certain records from tblTransaction and be able to view that in a report.
I want to specify WHICH record (to put on the report) somewhere on the form frmFax.
Each record has a unique TransactionID.
RECAP: In frmFax, I should be able to enter a list of all the transactions I want (by entering the transaction IDs) and then be able to view this in a report called rptFax.
Just a quick one. What would be the max. or upper limit of the number of transaction ID's that you would request for the report? Just give me a feel for the volume here. Bob Scriver
there wouldn't be a max/upper limit for the transaction ID.
What would happen is that I would write down a list of transaction IDs. I then want to enter this into the frmFax and then the report should show ONLY these IDs.
The IDs are ordered (i.e. start from 1 and go up serially).
I may want to enter stuff like 1-15,17,19,20-22,24
That kind of thing.
I think I've come up with my own solution.
I seem to understand that the most.
I was wondering whether you could shed a bit of light on that matter.
Here is what I intend to do...
1 Create a new table with just 1 field called "ReferenceNo" which will be linked to the field "ReferenceNo" from orginal table "tblTransaction" via a query which shows only records that match in BOTH tables.
2. I will create a form of this new table. Here I will be able to enter which records I want and then the query should return only these records from the original table that match ReferenceNo s entered in the form.
Now my question is:
1. Assuming I haven't entered any ReferenceNo s in the new table, is it possible to have ONLY 1 text box in the form? And when I enter the 1st ReferenceNo here, another textbox automatically appears? And then another appears when I enter the 2nd ReferenceNo.... and so on...
Many many thanks...
If I get the answer to this question... I think my system will work...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.