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

help setting up log in and query

I have a form with 2 text boxes one for username another for pwd and an option box to select a module ) retriving data from a database called ict ,this should display the results when username and pwd are verfied according to the selected module (NW,SW or HW ) so how codes should they look like ? ...especially the querry .

Thanks
by oliver R
Oct 16 '07 #1
1 1065
jhardman
3,406 Expert 2GB
I have a form with 2 text boxes one for username another for pwd and an option box to select a module ) retriving data from a database called ict ,this should display the results when username and pwd are verfied according to the selected module (NW,SW or HW ) so how codes should they look like ? ...especially the querry .

Thanks
by oliver R
please explain the database setup: what are the names of the tables and fields within the db?

First figure out the log in. If log in is incorrect, go back to the log in, otherwise open the db with something like this:
Expand|Select|Wrap|Line Numbers
  1.  query = "SELECT * FROM tabelName WHERE module = '" & request.form("modSelect") & "'"
Oct 17 '07 #2

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

Similar topics

1
by: david.good | last post by:
Adding numerical field to filters in openquery is as easy as typing the number but I am having major problems using strings. I have tried a few solutions including the usual concantenations but...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
3
by: Phil IU Guy | last post by:
I am having 2 issues, both acting very randomly, and for the most part I dont get this message on most computers, but I have had a couple computers get either issue 1, or issue 2. Issue #1: I...
0
by: David | last post by:
Hi, I have a problem about my ASP .NET App(C# .NET) to query SMS2003 via WMI. My web server is IIS 6.0 on Win2003 Svr SP1(Domain Controller-AD + SMS2003 SP1). In my btn_cliclk method, my...
4
by: Sai | last post by:
Hi, I am using VSTO 2005 Beta for building an excel application. I added application configuration file to the project (app.config) and it has the following section in it. <configuration>...
16
by: Rex | last post by:
Hi All - I have a question that I think MIGHT be of interest to a number of us developers. I am somewhat new to VIsual Studio 2005 but not new to VB. I am looking for ideas about quick and...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
3
by: cuties | last post by:
Hi all.... i'm very new to this programming language. i'm required to fulfill this task in the company i'm doing my practical. i hope i can get guide for my problem... Here is the script i...
5
by: Sam Chiu | last post by:
I am setting up a database which allows me to track down documents by due date. Apart from setting a criteria inside the query, I am hoping to use a calendar. By that, I can choose a date from the...
15
ajhayes
by: ajhayes | last post by:
I posted a question here last week about an ordering database I'm trying to set up, and got some excellent help. So I'm hoping some of you might be able to get me on the right track with another...
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: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: 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...

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.