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

how can i pass form value to a create Query

Hello all. my question is how can i pass from one page with a form feild to a "Create query" in another page.
what i am trying to do is make the Table name in the Create page to have the value enterd in the textfeild on the form page.
p.s i am using microsof access database.
hope you can help me
Ronen
Nov 25 '11 #1
1 1339
NeoPa
32,556 Expert Mod 16PB
You cannot pass a table name into a query. You would need to redesign the query - which is easy enough if you use SQL commands in a string rather than trying to use a pre-defined QueryDef.
Nov 25 '11 #2

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

Similar topics

1
by: Ray Muforosky | last post by:
I need to use the value from a field as a name for another field. aval = document.form1.field.value I want to use the value 'aval' as a field as below: bval = document.form1.aval.value ...
7
by: rickcheney | last post by:
I just changed my Access 2002 database to a SQL Server ADP project. I had a form where the user entered a value into a text box and when a command button on the form was clicked a Report was...
2
by: rg | last post by:
Hi all, I have query about passing a parameter from form to a query. My situation is as follows: I have a query that pulls up some data from a table, however there is a condition that must...
2
by: KFactor | last post by:
Is it possible to pass form variables to a page on another server using response.redirect? Or is there a secure way of passing sensitive information from one site to another such as a userID? ...
1
by: Martin | last post by:
I have a web page that displays records from a database. I want to allow the user to specify his own "page size" - that is, the number of records to be displayed on a given page. I have a place set...
10
by: sesling | last post by:
I have created a query that will pull information from our database for the operators. This query will pull in on average 50,000 records. The operators need to refine the search results. I have...
3
by: dsalex | last post by:
I have a form that has a subform to ask/assign a value (inserted by the user) to a public variable (VB). The same form has an Option Group that lauches named querys using DoCmd.OpenQuery. How can I...
10
by: artemetis | last post by:
I have a form named: frmSurveyInput On the form there are two controls. 1. cboTableSelect - select input table 2. cmdQrySurveyInput - run qrySurveyInput cboTableSelect gets it's values from: ...
13
by: bullfrog83 | last post by:
I have a saved query (q_StdDegReqAll) that has one parameter (WHERE StdDegReq.StdDegReqId = lngStdDegReqId). I want to pass a value into this parameter in vba. I have the following code: Dim...
5
by: ndeeley | last post by:
Hi, This is driving me mad - can someone guide me in the right direction please? I am outputting the results of a query to a webpage - in this case drawings in a database. The user selects the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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...

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.