473,395 Members | 1,652 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,395 software developers and data experts.

how to take input to our application

hello............

i am developing access application

in that my application should take input database for every operation..

how to implement this

the method should be user friendly.....

i dont want to use inbuilt import database method of access


for ex:

i have access application . in that i have written queries and vba which extracts data needed from input database,.....


after extraction from input database(access table) data is calculted and reports are generated....


but for every operation input table is different . how can my application access external database table....


how should i implement this.
what technique i should use so that my application will be able to use different database table for every time.
how to design this proble .


gus please help me i am in urgent need
Aug 27 '12 #1
6 19376
TheSmileyCoder
2,322 Expert Mod 2GB
I can't make clear from your question whether your application just reads different tables in the SAME database, or different tables in different database files.

Is this A)
Read table1 from Database1
Read table2 from Database1
Read table3 from Database1
Read table4 from Database1


or is this B)
Read table1 from Database1
Read table1 from Database2
Read table1 from Database3
Read table1 from Database4


or C)

Read TableX from Database1
Read TableY from Database2
Read TableX from Database3
Aug 27 '12 #2
third case that is c)


plese help me urgently
Aug 27 '12 #3
TheSmileyCoder
2,322 Expert Mod 2GB
Of course you just had to choose the most complicated one! :)

Do you in advance know the location of the database files as well as the table names?

Or does the user need to be able to select both files and tables "on the fly"? If so we are really approaching trying to build something that the access interface allready has (the import wizard)
Aug 27 '12 #4
yes user know location and name...

please tell me
Aug 27 '12 #5
TheSmileyCoder
2,322 Expert Mod 2GB
I would use VBA to ask the user for the database path (Use a filedialog) and then promt them for the table name.

You can then (by vba) write a query and execute from VBA, or store the query as a QueryDef and then execute it.

The syntax would be something like:
Expand|Select|Wrap|Line Numbers
  1. SELECT * FROM [Table Name] IN 'C:\TestFolder\testDatabase.mdb' INTO [Temporary Table Name]
You could as said, parse the query string together using vba and then execute it. I can't really provide you with more details, because you information you have have provided is very vague and general.
Aug 27 '12 #6
zmbd
5,501 Expert Mod 4TB
Parasad,

TheSmileyCoder has provided you with a course of action that you can build on to solve the question asked.

Please make an attempt and post back your code.

-z
Aug 27 '12 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: wildchild | last post by:
Hi, I am new to grpahics progamming in/under Borland C. I have included the "graphics.h" header file but i am unable to take input on the screen. if i try to move my cursor to a specified...
1
by: ashton | last post by:
Hello, this is been frustrating me all morning. Any help would greatly be appreciated I have a site (not my own, not done in asp.net) that will be posting data to my c# page. There is an input...
4
by: Koji | last post by:
Ok. So, I don't know which class from javax.swing to use for this. I think it's JTextField, but anyway... I'm looking for a class that allows the user to type in, in this case, integer or double...
5
by: j.smith2c | last post by:
Hi everyone, I wanted to run the following loop, and enter y everytime (I expected that it will ask me to enter y for 5 time), but just after 3 times program terminates. what is the error?? ...
2
by: YogeshBhattarai | last post by:
if any one knows about it please guide me
5
by: gskbond | last post by:
#include<iostream> using namespace std; template <class T, int mway> struct BNode { int noofKeys; T keys; BNode<T, mway> *pointer; BNode();
1
by: Rabiya | last post by:
hi, i want to have the perl script that can take input from any text file. i have the one bt its not doing the required job
1
by: David Aghan | last post by:
Ok, so I am almost done with this question: Write and test a function to take as input a list of strings (each of which represents a number) and to return a list of numeric values. For example, if...
5
by: Hataf | last post by:
I want to take input using urdu language in html form.So please help me.
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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: 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...

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.