473,732 Members | 2,083 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Connecting MDB to web lookup

7 New Member
My friend has a database that he wants to put online so his partners can lookup the code when they need to. We actually have no idea where to start as we have minimal knowledge of the web. What he wants to do is ask the user amount he wants to invest and what break down he wants and what type of investment the user wants. After clicking the search, the code will appear based on the input. An update button is also available for him and his partners to enter new codes when they want to.

The layout will be something like this:

Amount: UserInput
Breakdown
SP: UserInput
TE: UserInput
BC: UserInput
MC: UserInput
Type: <--This can be a scroll down button since there are few choices.

Search<-- button
Update<--button
Code: <--This is where the result will appear.

I have managed to design the form in html but have no idea as to how I can make it 'talk' to the database. I read about asp being able to do this. I also read about netobjects and cfm but they seem too technical for me. I hope somebody here can help.
Jun 19 '07 #1
5 2078
maldita
7 New Member
I want to create a web lookup that will display the code after hitting the SEARCH button based on the info entered. A view of the page looks like this.



How do I go about doing this? The database is MS Access. Please help.
Jun 20 '07 #2
jhardman
3,406 Recognized Expert Specialist
Yes, this is all doable with asp. The big question is what server are you using? ASP is supported by microsoft's IIS server, whereas most other servers do not support it. There are other possibilities for every server out there, so figure out what server you are going to use and I'll offer suggestions.

Jared
Jun 20 '07 #3
maldita
7 New Member
I have IIS installed on the office PC. What other servers are there?
Jun 21 '07 #4
maldita
7 New Member
I want to know how to change the text input into a dropdown box. Please help. My code is as follows. I used frontpage for it.



<html>
<head>
<meta name="GENERATOR " content="Micros oft FrontPage 5.0">
<meta name="ProgId" content="FrontP age.Editor.Docu ment">
<% ' FP_ASP -- ASP Automatically generated by a Frontpage Component. Do not Edit.
FP_CharSet = "windows-1252"
FP_CodePage = 1252 %>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>AssetTyp eID</title>
</head>

<body>

<form BOTID="0" METHOD="POST" ACTION="assetty peid.asp">
<table BORDER="0" height="201">
<tr>
<td height="22"><b> Asset Type</b></td>
<td height="22">
<input TYPE="TEXT" NAME="AssetType ID" VALUE="<%=Reque st("AssetTypeID ")%>" size="20"></td>
</tr>
<tr>
<td height="22"><b> Speculative Equity</b></td>
<td height="22">
<input TYPE="TEXT" NAME="SE" VALUE="<%=Reque st("SE")%>" size="20"></td>
</tr>
<tr>
<td height="22"><b> Traditional Equity</b></td>
<td height="22">
<input TYPE="TEXT" NAME="TE" VALUE="<%=Reque st("TE")%>" size="20"></td>
</tr>
<tr>
<td height="22"><b> Property</b></td>
<td height="22">
<input TYPE="TEXT" NAME="P" VALUE="<%=Reque st("P")%>" size="20"></td>
</tr>
<tr>
<td height="22"><b> Fixed Interest</b></td>
<td height="22">
<input TYPE="TEXT" NAME="FI" VALUE="<%=Reque st("FI")%>" size="20"></td>
</tr>
<tr>
<td height="22"><b> Management Cash</b></td>
<td height="22">
<input TYPE="TEXT" NAME="MC" VALUE="<%=Reque st("MC")%>" size="20"></td>
</tr>
<tr>
<td height="22"><b> Amount To Invest</b></td>
<td height="22"><in put NAME="AMI" VALUE="<%=Reque st("AMI")%>" size="20"></td>
</tr>
<tr>
<td height="15"></td>
<td height="15"></td>
</tr>
</table>
<table width="100%" border="1">
<thead>
<tr>
<td><b>Code</b></td>
</tr>
</thead>
<tbody>
<!--webbot bot="DatabaseRe gionStart" s-columnnames="As setTypeID,Code, SE,TE,P,FI,MC,G REAT,LESS" s-columntypes="20 2,202,3,3,3,3,3 ,6,6" s-dataconnection= "Database1" b-tableformat="TR UE" b-menuformat="FAL SE" s-menuchoice s-menuvalue b-tableborder="TR UE" b-tableexpand="TR UE" b-tableheader="TR UE" b-listlabels="TRU E" b-listseparator=" TRUE" i-listformat="0" b-makeform="TRUE" s-recordsource="D ealModel" s-displaycolumns= "Code" s-criteria="[AssetTypeID] EQ {AssetTypeID} + {SE} EQ {SE} + {TE} EQ {TE} + {P} EQ {P} + {FI} EQ {FI} + {MC} EQ {MC} + {GREAT} GT {AMI} + {LESS} LT {AMI} +" s-order s-sql="SELECT * FROM DealModel WHERE (AssetTypeID = '::AssetTypeID: :' AND SE = ::SE:: AND TE = ::TE:: AND P = ::P:: AND FI = ::FI:: AND MC = ::MC:: AND GREAT &gt; ::AMI:: AND LESS &lt; ::AMI::)" b-procedure="FALS E" clientside suggestedext="a sp" s-defaultfields=" AssetTypeID=&am p;SE=&amp;TE=&a mp;P=&amp;FI=&a mp;MC=&amp;AMI= &amp;AMI=" s-norecordsfound= "No records returned." i-maxrecords="256 " i-groupsize="5" botid="1" u-dblib="_fpclass/fpdblib.inc" u-dbrgn1="_fpclas s/fpdbrgn1.inc" u-dbrgn2="_fpclas s/fpdbrgn2.inc" tag="TBODY" preview="&lt;tr &gt;&lt;td colspan=64 bgcolor=&quot;# FFFF00&quot; align=&quot;lef t&quot; width=&quot;100 %&quot;&gt;&lt; font color=&quot;#00 0000&quot;&gt;T his is the start of a Database Results region. The page must be fetched from a web server with a web browser to display correctly; the current web is stored on your local disk or network.&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;" startspan --><!--#include file="_fpclass/fpdblib.inc"-->
<% if 0 then %>
<SCRIPT Language="JavaS cript">
document.write( "<div style='backgrou nd: yellow; color: black;'>The Database Results component on this page is unable to display database content. The page must have a filename ending in '.asp', and the web must be hosted on a server that supports Active Server Pages.</div>");
</SCRIPT>
<% end if %>
<%
fp_sQry="SELECT * FROM DealModel WHERE (AssetTypeID = '::AssetTypeID: :' AND SE = ::SE:: AND TE = ::TE:: AND P = ::P:: AND FI = ::FI:: AND MC = ::MC:: AND ::AMI:: >= GREAT AND ::AMI:: < LESS)"
fp_sDefault="As setTypeID=&SE=& TE=&P=&FI=&MC=& AMI=&AMI="
fp_sNoRecords=" <tr><td colspan=1 align=left width=""100%""> No records returned.</td></tr>"
fp_sDataConn="D atabase1"
fp_iMaxRecords= 256
fp_iCommandType =1
fp_iPageSize=5
fp_fTableFormat =True
fp_fMenuFormat= False
fp_sMenuChoice= ""
fp_sMenuValue=" "
fp_iDisplayCols =1
fp_fCustomQuery =False
BOTID=1
fp_iRegion=BOTI D
%>
<!--#include file="_fpclass/fpdbrgn1.inc"-->
<!--webbot bot="DatabaseRe gionStart" endspan --><tr>
<td>
<!--webbot bot="DatabaseRe sultColumn" s-columnnames="As setTypeID,Code, SE,TE,P,FI,MC,G REAT,LESS" s-column="Code" b-tableformat="TR UE" b-hashtml="FALSE" b-makelink="FALSE " clientside b-MenuFormat preview="&lt;fo nt size=&quot;-1&quot;&gt;&amp ;lt;&amp;lt;&lt ;/font&gt;Code&lt ;font size=&quot;-1&quot;&gt;&amp ;gt;&amp;gt;&lt ;/font&gt;" startspan --><%=FP_FieldVal (fp_rs,"Code")% ><!--webbot bot="DatabaseRe sultColumn" endspan --></td>
</tr>
<!--webbot bot="DatabaseRe gionEnd" b-tableformat="TR UE" b-menuformat="FAL SE" u-dbrgn2="_fpclas s/fpdbrgn2.inc" i-groupsize="5" clientside tag="TBODY" preview="&lt;tr &gt;&lt;td colspan=64 bgcolor=&quot;# FFFF00&quot; align=&quot;lef t&quot; width=&quot;100 %&quot;&gt;&lt; font color=&quot;#00 0000&quot;&gt;T his is the end of a Database Results region.&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;TR&gt ;&lt;TD ALIGN=LEFT VALIGN=MIDDLE COLSPAN=64&gt;& lt;NOBR&gt;&lt; INPUT TYPE=Button VALUE=&quot; |&lt; &quot;&gt;&lt;I NPUT TYPE=Button VALUE=&quot; &lt; &quot;&gt;&lt;I NPUT TYPE=Button VALUE=&quot; &gt; &quot;&gt;&lt;I NPUT TYPE=Button VALUE=&quot; &gt;| &quot;&gt; [1/5]&lt;/NOBR&gt;&lt;BR& gt;&lt;/td&gt;&lt;/tr&gt;" startspan --><!--#include file="_fpclass/fpdbrgn2.inc"-->
<!--webbot bot="DatabaseRe gionEnd" endspan --></tbody>
</table>
<p><br>
<input TYPE="Submit">< input TYPE="Reset"><!--webbot bot="SaveAsASP" clientside suggestedext="a sp" preview=" " startspan --><!--webbot bot="SaveAsASP" endspan --></p>
</form>
<table width="100%" border="1">
<tbody>
</tbody>
</table>

</body>

</html>
Jun 22 '07 #5
jhardman
3,406 Recognized Expert Specialist
I have IIS installed on the office PC. What other servers are there?
currently Apache is the first choice for servers, but apache doesn't support asp. IIS will work great.

Jared
Jun 22 '07 #6

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

Similar topics

1
6908
by: Vijai Kumar | last post by:
Hi, I am using jsp page to connect to oracle database. We are using a Borland Enterprise Server 5.2 application server and a web server running on IIS 6.0. A GUI module is hosted on the web server. When we use the logon.jsp page to connect we get the following error Error Logging On : java.sql.SQLException: ORA-00600: internal error code, arguments: , , , , , , , Can you please kindly advice what needs to be done.
4
3762
by: Dan | last post by:
Hi, I'm planning to develop a small intranet to provide our organization with documents online. I've decided to do this using jsp/servlets using a tomcat server. For an operating system, I have chosen red hat linux. However, I'd like to keep a small database on a sql server as a datasource. However, this sql server is already part of our organization's windows domain. I suspect I'll need to configure samba so that other terminals...
9
1129
by: Chris | last post by:
Hi all, I wrote a cool little database program a while back, in VB6, and im intending to rewrite it in .net. I am new(ish) to .net, but an old hand at VB5/6. In VB i would access the mdb file something like this. set db=database
8
2036
by: Lucas Lemmens | last post by:
Dear pythonians, I've been reading/thinking about the famous function call speedup trick where you use a function in the local context to represent a "remoter" function to speed up the 'function lookup'. "This is especially usefull in a loop where you call the function a zillion time" they say. I think this is very odd behavior.
9
7031
by: Koen | last post by:
Hi all, My application uses a lot of lookup tables. I've splitted the frontend (forms, reports, etc) from the backend (data). The database has around 10 different users. The values in the lookup tables are not likely to change. Question 1: Should I include them in the backend (with rest of data) or the frontend?
3
2918
by: my-wings | last post by:
I've been reading about how evil Lookup fields in tables are, but I've got to be missing something really basic. I know this subject has been covered before, because I've just spent an hour or two reading about it on google, but there is something I still don't understand, and I'm hoping someone will be willing to explain it to me in small words. Let's say I have a table for addresses, and it includes a field for state. What I would...
3
10656
by: google | last post by:
I have a database with four table. In one of the tables, I use about five lookup fields to get populate their dropdown list. I have read that lookup fields are really bad and may cause problems that are hard to find. The main problem I am having right now is that I have a report that is sorted by one of these lookup fields and it only displays the record's ID number. When I add the source table to the query it makes several records...
1
6283
by: hussain123 | last post by:
Hi ALL, I am trying to connect to a JMS topic but getting an exception.To connect to that JMS topic username and password are required.I have provided the required username and the pwd but still getting this exception. The exception is as follows:- javax.naming.CommunicationException ] at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:47) at...
3
6829
by: hakiran | last post by:
Hello all, I have been using Perl DBI the last 6months or so. I use it extensively with MySQL. But recently i tried to access Oracle DB with it and was having trouble. Any help would be appreciated. Here is the code and the error i get. I know the table/view do exist. Thanks all Kiran ----------
0
8773
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9445
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9306
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9234
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8186
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4805
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3259
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 we have to send another system
2
2721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2177
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.