473,465 Members | 1,960 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Easily go from one data set to another?

Ron
I've set up a front end and link to a back end where all the data is stored
at (sharednetworkdrive)\MyData\data1. On that same back end, I also have
another office's data in MyData\data2. And another's in MyData\data3, etc.
I would have preferred to set it up as one dataset and then just look for
office1ID, office2ID, office3ID, etc but due to reasons beyond my control,
it wasn't possible. I needed to completely separate the data even though
all the offices have the same data structures, reports, queries etc.

I'd like the user to be able to select office 1 off a menu of some sort, do
the work required and "close" that office, then select office 3, do work for
that office, "close" it, then select 2, etc. I'm stumped as to how to do
that within Access so it's easy for the user.

The kicker is an additional feature I'd like to have. If another data file
is added at a later date, say in MyData\Data4, the menu feature would
automatically now show 4 data files and allow the user to select 1 through 4
rather than me having to hardcode it into the menu each time a new office is
added. Possible?

Any suggestions for either? Both? I don't expect anyone to write code for
me, but can you point me to some examples of similar ideas I might be able
to adapt to my particular needs.

TIA
ron
Nov 13 '05 #1
1 1159
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Use the TransferDatabase method of the DoCmd object to link new tables
to the front end (first delete the links to the old tables).

You can fill a ListBox w/ the file names in a folder by using the Dir()
function and the ListBox's .AddItem method (if Access 2000, or higher
version. If an earlier version you can use the example in the Access
Help article on RowSourceType user-defined function).

--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQdBrMIechKqOuFEgEQIvQACguGAXGJEaTJ3yZYIHPOxtBM sxlSgAoPpV
vrTzh0qrrKCSVgGtbzHJ7Bqp
=1GGt
-----END PGP SIGNATURE-----

Ron wrote:
I've set up a front end and link to a back end where all the data is stored
at (sharednetworkdrive)\MyData\data1. On that same back end, I also have
another office's data in MyData\data2. And another's in MyData\data3, etc.
I would have preferred to set it up as one dataset and then just look for
office1ID, office2ID, office3ID, etc but due to reasons beyond my control,
it wasn't possible. I needed to completely separate the data even though
all the offices have the same data structures, reports, queries etc.

I'd like the user to be able to select office 1 off a menu of some sort, do
the work required and "close" that office, then select office 3, do work for
that office, "close" it, then select 2, etc. I'm stumped as to how to do
that within Access so it's easy for the user.

The kicker is an additional feature I'd like to have. If another data file
is added at a later date, say in MyData\Data4, the menu feature would
automatically now show 4 data files and allow the user to select 1 through 4
rather than me having to hardcode it into the menu each time a new office is
added. Possible?

Any suggestions for either? Both? I don't expect anyone to write code for
me, but can you point me to some examples of similar ideas I might be able
to adapt to my particular needs.

TIA
ron

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: NotGiven | last post by:
I have a db that I need to dump into a format that can be easily read my MS Access. I tried the dump with regular PHPAdmin. Then I used the dump to run a query in MS Access. Errors occurred...
4
by: Jonathan Smith | last post by:
I am thinking about attempting a program to help my colleagues at school to write their pupil reports. Each report has two sections: a list of skills with a seies of tick boxes to show the level...
2
by: dave | last post by:
i suspect i know the answer to this already, but here goes anyway.... i have a table that has field of varchar(2048), which once in a blue moon i need to edit the data manually (until a bad...
2
by: Matt | last post by:
When we submit the form data to another page, we usually do the following: <form action="display.aspx" method="post"> will submit the form data and open display.asp in the current browser ...
2
by: Tee | last post by:
Hi, How can we easily detect cookies is enabled? Thanks
3
by: Ken McCrory | last post by:
I have a web form page (.aspx) with 95 label controls that I now need to be text boxes. Is there an easy way to change those to what I want using something like a find and replace or am I stuck...
5
by: pw | last post by:
I'm an experienced Access/VBA programmer, trying to become competent using VB.net. Using base vb.net it seems to me to be an AWFUL amount of work to create data-entry forms similar to what one...
12
by: pw | last post by:
I'm an experienced Access/VBA programmer, trying to become competent using VB.net. Using base vb.net it seems to me to be an AWFUL amount of work to create data-entry forms similar to what one...
1
by: Victor Lin | last post by:
Hi, I'd like to write some class that can help me build reusable formula easily, some simple code like this. # -*- coding: utf8 -*- class OperationResult: def __init__(self, left, right):...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.