Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 1 / May 2008

Tip: Looking for answers? Try searching our database.

HELP: need query to convert separate records into the one

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Clinton M James - 04 May 2008 15:42 GMT
Hi All,

I have set up an access database that I communicate with through Excel and
VBA.

The purpose is to do auditing of staff.

Because there are several audits, each audi has differing criteria to mark
on, therefore the vba program I have made is dynamic in that the user can
construct as many marking criteria as needed.

Thing is, the data gets stored as individual records for each criteria
marked with a column that carries the linking number to refer it back to the
criteria to which it applies then this criteria is linked to the audit
itself.

Because the porgram is dynamic in that it allows the user to have as many
criterias as they link is there a code that allows me to grab the records
that represent the full criteria for the audit and then dump them into one
row or will i have to just get all the data and construct code in vba to do
it for me?

Your assistance is appreciated and thank you in advance.

Regards,
Clint
Marshall Barton - 04 May 2008 21:58 GMT
>I have set up an access database that I communicate with through Excel and
>VBA.
[quoted text clipped - 15 lines]
>row or will i have to just get all the data and construct code in vba to do
>it for me?

Not sure I understand, but cimbining values from multiple
records does require some code.  There's a good Function to
do that at:
http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='Generic%20Funct
ion%20To%20Concatenate%20Child%20Records
'

--
Marsh
Bob Quintal - 05 May 2008 01:57 GMT
> Hi All,
>
[quoted text clipped - 22 lines]
> Regards,
> Clint

A crosstab query sounds like what you need. The crosstab transposes
rows into columns in a row, The Excel Pivot Table can do similar
things, and may even be better for your purposes.  

Signature

Bob Quintal

PA is y I've altered my email address.
** Posted from http://www.teranews.com **

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.