473,396 Members | 1,995 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

newb seeking help with form

I am using Access to store data from a CAD program. We then in turn have
another program pull data from Access to drive computerized saws. In
order to get the data from the CAD program to Access, a report must be
ran within the CAD program. This generates a .rpt comma delim value
file. I have been putting this into excel and then creating a linked
table withing Access out of the excel file.

A simple delete query and then append query does what I need to as far
as removing the data from the "master table" and then replacing it with
updated data after the .rpt file has been re-ran. (See everytime a
change is made in the CAD program)

What I would like to do is this. Creat a form with two combo boxes. The
combo boxes list all of the models that we produce and the four seperate
master tables that we use. The user picks a table from one combo box,
and a model from the other and then hits an execute button. This would
invoke the appropriate delete and append queries for the chosen model in
the chosen table.

I can get the delete and append queries o.k. What I can not sus out is
how to put the combo boxes on a form that control a which event
procedure to run.

Any thoughts or help here will gain the helper many many internet karma
points. Even if your advice is that there is a better way of doing this.

TIA,

Ryan
Nov 13 '05 #1
1 1174
Ryan Case wrote:
I am using Access to store data from a CAD program. We then in turn have
another program pull data from Access to drive computerized saws. In
order to get the data from the CAD program to Access, a report must be
ran within the CAD program. This generates a .rpt comma delim value
file. I have been putting this into excel and then creating a linked
table withing Access out of the excel file.
CSV from CAD? Pah! What's wrong with good ol' Isogen format? <g>
I can get the delete and append queries o.k. What I can not sus out is
how to put the combo boxes on a form that control a which event
procedure to run.


A simple case statement would do, e.g.

select case MyComboBox.Value
case "This"
RunThis
case "That"
Runthat
case else
DoSomethingElse
end select

--
[OO=00=OO]
Nov 13 '05 #2

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

Similar topics

0
by: claudel | last post by:
Hi I have a newb PHP/Javascript question regarding checkbox processing I'm not sure which area it falls into so I crossposted to comp.lang.php and comp.lang.javascript. I'm trying to...
12
by: David | last post by:
I am a full-time freelance writer. I am seeking an established, professional web designer who has designed more than one successful website for freelance writers. The individual needs to be able...
3
by: claudel | last post by:
Hi I have a newb PHP/Javascript question regarding checkbox processing I'm not sure which area it falls into so I crossposted to comp.lang.php and comp.lang.javascript. I'm trying to...
4
by: javascript_noob12 | last post by:
Hi. I am trying to create a CGI script that will use Perl to read a text file to get a list of values, then turn that list into a menu on a website. The menu will be a form with a JavaScript...
6
by: Sean Berry | last post by:
Hello all I have build a list that contains data in the form below -- simplified for question -- myList = ,, ...] I have a function which takes value3 from the lists above and returns...
2
by: Matthijs van Waveren | last post by:
"Your opportunity to be a RECOGNIZED EXPERT in the HPC Community" The SPEC High Performance Group is seeking candidates for a benchmark suite based on Message Passing Interface (MPI)...
1
by: HateSpam | last post by:
Total newb here. I've built a custom library called ClassLib1. I want to use the 3 classes I've got defined in there in a simple 1-form windows app. I added the reference to the .dll to the...
4
by: MLH | last post by:
Seeking code to ID & print all controls on all forms having a ValidationRule property set - but no ValidationText property setting. Perhaps some modification of the following procedure would do...
4
by: SteveKlett | last post by:
I have a subset of form items that I need to perform different operations on (enable/disable, clear values, change style, etc) rather than hard code the IDs or names I would like to recursively...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.