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

Sending parameters?

To all the knowing folks out there:

Please help me! I'm new to this stuff...

I'm in the need to call a paramter-query stored in an MS-Access-DB
from an FrontPage-ASP-site.

Can anybody tell me of a way to send FP-field-values from an ASP via
ODBC (or else) to an Access-DB?
System: AccessXP, FP2002

ANY ideas or answers will be appreciated

DMW
Nov 12 '05 #1
3 2114
Sounds like a job for Superman.... umm... I mean ADO. Actually, I
think FP2002 will generate all the ASP stuff you need. (Ugly as sin,
but it works.)
Nov 12 '05 #2
That answer ain't much of a help...
Could u please be more specific?

DMW

pi********@hotmail.com (Pieter Linden) wrote in message news:<bf**************************@posting.google. com>...
Sounds like a job for Superman.... umm... I mean ADO. Actually, I
think FP2002 will generate all the ASP stuff you need. (Ugly as sin,
but it works.)

Nov 12 '05 #3
What you are asking is how to get the values from Form fields on an
HTML page, and use then for a query?

Okay, first, you need to determine if you are 'posting' the data, or
is it pushing it in the QueryString. (Posting is recommended, because
there is a restrictive size limit on the URL, which would limit the
QueryString, bad for memo's.). So, for example, if you have this as
an HTML Page:

<HTML>
<FORM Name="MyForm" Method="Post" action="mysearchresults.asp">
Search: <input type="text" name="SearchString" size=20>
<br>
<input type="submit" name="Submit" value="Submit">
</FORM>
</HTML>

In the 'mysearchresults.asp' page, you can retrieve the value of
'SearchString' with the request object. You'll need to use ADO to
access your database:

<%
Dim cnn
dim rs
dim strSQL
set cnn=server.CreateObject("ADODB.Connection")
with cnn
.Provider="Microsoft.Jet.OLEDB.4.0"
.Open "ThePath to your DB"
end with
set rs=server.CreateObject("ADODB.Recordset")
strSQL="Select * From tblData Where tblData.QueryField=""" &
Request.Form("SearchString") & ";"""
rs.Open strSQL,cnn,1,1
if rs.EOF=false then
rs.MoveFirst
end if
do until rs.eof=true
response.write rs.("MyDataField").value & "<br>"
rs.movenext
loop
rs.close
set rs=nothing
cnn.close
set cnn=nothing

(watch for word wrapping on my code....)
w.*****@web.de (DeadManWalking) wrote in message news:<52**************************@posting.google. com>...
To all the knowing folks out there:

Please help me! I'm new to this stuff...

I'm in the need to call a paramter-query stored in an MS-Access-DB
from an FrontPage-ASP-site.

Can anybody tell me of a way to send FP-field-values from an ASP via
ODBC (or else) to an Access-DB?
System: AccessXP, FP2002

ANY ideas or answers will be appreciated

DMW

Nov 12 '05 #4

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

Similar topics

1
by: Zaidan | last post by:
I am running Excel2000 under WIN98 2nd edition, and I am writing a VBA code (I will consider using javascript if I have to) that does the following, at the user command: 1- Start MS Explorer and...
1
by: the friendly display name | last post by:
Hello, How to create dynamicaly usercontrols, and send parameters to them? I know how to create them on the fly (Control mycontrol = (Control) Page.LoadControl("usercontrol.ascx")), but the...
0
by: Simon | last post by:
I need to pre-fill a bunch of textboxes (with info from my current application) on an existing application on the server. The receiving page contain dropdownlists and textboxes. Both pages are...
3
by: Sells, Fred | last post by:
I'm using MSW XP Pro with Python 2.4 to develop but production will be Linux with Python 2.3. (could upgrade to 2.4 if absolutely necessary) I can also switch to Linux for development if...
2
by: javier.gomez | last post by:
is it possible to send values to a VB.Net exe? For example can I run an exe sending the value of 5 and having the application show a message box with a number 5?
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.