
Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
Thank you for your very speedy reply!
I have a fixed number of columns, but a variable number of rows.
Unfortunately it is essential to keep this format. My brief is to replicate
the functionality currently provided by a spreadsheet, and keep the
spreadsheet-type presentation of the data for part of the application. This
makes sense from the users' point of view because there are many many
records, and it is intuitive to think about them as a "table".
One possibility that crossed my mind it to tray and embed an Excel window in
the application and get the best of both worlds: the presentation of the
data as a matrix where required (from Excel), and the advantages of
normalization, extensibility etc. (from Access).
I'd be most grateful for your thoughts on the best approach to this, and
maybe a pointer to an appropriate web resource/sample code if you are aware
of anything.
rb
> While you presumably could create a table with field names corresponding to
> a, to do so would violate database normalization principles.
[quoted text clipped - 35 lines]
> >
> > runnerbean
Douglas J. Steele - 11 Jun 2007 13:35 GMT
Trying to embed Excel into Access would actually be a fair bit of work (if
in fact it's even possible: you might have to get a 3rd party ActiveX
control to be able to do it). Easier would be to export the data to Excel,
open Excel separately, let your users make their changes and then reimport
the data to Access.
Putting the data into a temporary table for update purposes and then
transforming it back to the proper format for storage purposes (keeping
everything in Access) might actually be easier. You could use a cross-tab
query to populate the temporary table, and then a series of queries to store
the data "properly" again. (If you're going to do this, consider using a
temporary database for the temporary table to minimize the bloat of your
front-end. Tony Toews has an example of this at
http://www.granite.ab.ca/access/temptables.htm)

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
> Thank you for your very speedy reply!
>
[quoted text clipped - 70 lines]
>> >
>> > runnerbean
Peter Hibbs - 11 Jun 2007 16:08 GMT
RunnerBean
A Flex Grid Control will probably do what you want. Have a look at -
http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='Flex%20Grid%20D
emo.mdb'
for some examples.
Peter Hibbs.
You can find more info on the Flex Grid control (as well as other
Active X Controls) at :-
http://msdn2.microsoft.com/en-us/library/aa338166(vs.60).aspx
>Thank you for your very speedy reply!
>
[quoted text clipped - 56 lines]
>> >
>> > runnerbean
runnerbean - 12 Jun 2007 16:33 GMT
Peter and Douglas,
Thank you both very much for this. It will take me a few days to figure out
how to use the suggested solutions, but just wanted to acknowledge your time
and effort in answering my question in the meantime.
rb
> RunnerBean
>
[quoted text clipped - 70 lines]
> >> >
> >> > runnerbean