User Profile
Collapse
-
Thank you for responding. Would you please be able to share your information for how you created a loop? I know some VBA but I am a complete amatuer at loops. Loops and arrays are my big fears right now lol. -
Batch Print Access Report to PDFs by Group?
I have a report which is grouped in header and footer. Each report
has the page break set on the group footer. Any way I can write code
or a macro or something that will print my report to a directory as a PDF,
printing each group to its own report, naming such report as it's
header with the report name as a pre-fix?
i.e.
Report1
GroupA
detail
GroupB... -
Thanks! this is all I needed. I kind of feel stupid for not thinking of it. I think I just wasnt sure how it would know I wanted yes and not no.Leave a comment:
-
Supress Update Records Question - Answer Yes?
I have put this code together (from various posts on the web and the help file...)
It loops through a folder of CSVs and imports them into a table, updating a column with the file name. What I am stuck with is that it asks me Yes or No do I want to update the records for the update part. Anyway I can get it to just answer yes?
...Code:Private Sub Command0_Click() Dim strDocPath As String Dim strCurrentFile
-
misscrf started a topic Grouped Statistical Report with a count of a subgroup under certain conditions???in AccessGrouped Statistical Report with a count of a subgroup under certain conditions???
have a report that I am trying to build and I can't figure out how to make Access group and sum/count information to give me a nice statistics report. Basically the database has case information for matters at a law firm. The point is to create this report to group on the attorney. Then for each attorney count the cases where the status (CStatus is the field) is "Open", where the status is "Closed", sum the size of the media... -
Append Reverse Cross Reference?
I have a table that acts as a cross reference to related records. No we can't get different data, no we have no control over what we have, we just need to be able to manage what we have been given. lol
Anyway, what I have created so far is working well. I have a subform on a tab of a main customer entry form. It says "related customers".
My issue is this: When you go to one record, you may see 4... -
Ok, so we have this cross reference table now.
It has the following:
CID cross reference PK
CustomerNumber - the customer's number
RelatedCustomer Number - the numbers related to that customer number
RelatedID - the Customer PK for the related number (so that you can find them on the entry form)
So, on the main customer entry form, there is a combo box, where you can type or scroll...Leave a comment:
-
I ended up getting this to work and now the table is populated. Thank you for your help.
To answer your question a user can have more than one address, if they get an updated address, move or something.
Anyway, now I have a subform with the related IDs for each customer on the customer main form. I have a button on the related record in the continuous subform, which will make the main customer record go to that sub...Leave a comment:
-
Thank you for your work on this. I think this is close. The only problem is that we also have to include Address1 from tblAddress.
A duplicate is formed by CustomerName and Address1 from the tables tblCustomer and tblAddress respectively.
I tried to modify what you created. It just gave me a bunch of PID's in the related table and blank values for the master and related values for each record.
This...Leave a comment:
-
Not exactly. I know what I want, but am having trouble expressing it. I created a query to append what I need, but what I have is only relating each record to itself. lol.
This is what I have:
...Code:INSERT INTO tblRelated ( RMasterCustomerID, RelatedCustomerID ) SELECT Min(tblCustomers.ID) AS MinOfID, tblCustomers.ID FROM tblCustomers LEFT JOIN tblAddress ON tblCustomers.ID = tblAddress.Vendor WHERE (((tblCustomers.CustomerName)
Leave a comment:
-
Thank you for your response. It turns out that we can de-dup in this manner. The cnum is the number that identifies the orders, but since this data is not ours, we got it elsewhere, I made a pk for the table, jsut for posterity sake (way too far in to undo that).
Thank you,Leave a comment:
-
Identify Related Records in a Table
I have received data which contains similar records, where the customers have similar records. A customer, i.e. Jane Doe may have moved, or something, or a change to her account. When that happened she was given a new customer ID, and all future orders were tied to that. So now we have 3 Jane Doe records, but they are really all related.
What I would like to do is identify them as related, so that users can see what records and given... -
Just a thought that may help for this and other troubleshooting . Put a stop in front of each procedure. See which gets hit first.Leave a comment:
No activity results to display
Show More
Leave a comment: