473,378 Members | 1,390 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.

13 databases on one control

Ali Rizwan
925 512MB
Hi
I want to fetch databases according to class no using one control.
I have done it but sometimes an error has occured. I have used this code in change property of txtbox

adodc1.commandstring=Jet Provider + database name ...

is there anyone better
Thanx
Sep 4 '07 #1
4 1028
QVeen72
1,445 Expert 1GB
Hi,

Write the Code in txtClass_Validate or txtClass_LostFocus Event of the Text Box. If u write in Change Event, It keeps on Opening the DB for every key press.. better Give a ListBox of All the available Classes, and write code in LostFocus of ListBox

Regards
Veena
Sep 4 '07 #2
Ali Rizwan
925 512MB
Hi,

Write the Code in txtClass_Validate or txtClass_LostFocus Event of the Text Box. If u write in Change Event, It keeps on Opening the DB for every key press.. better Give a ListBox of All the available Classes, and write code in LostFocus of ListBox

Regards
Veena
Thanx for reply.
I m using combo box also but the problem is in updating data. It occurs an error of
"Multiple steps occurs errors" some thing like this.
otherwise databses are opening properly.
Sep 4 '07 #3
QVeen72
1,445 Expert 1GB
Hi,

"Multiple Step Generation Error" is usually due to the Change in Datatypes in DB and front end, It can occur in such Conditions:

IN DB Text Length is 10 and u r trying to save string Length >10
In DB, Field is a Date Field, u r trysing to save a Non-date Field
OR it is of Integer and u r trying to store value>32k
Or else, there is a Violation of Foreign/Primary Key

Regards
Veena
Sep 4 '07 #4
Ali Rizwan
925 512MB
Hi,

"Multiple Step Generation Error" is usually due to the Change in Datatypes in DB and front end, It can occur in such Conditions:

IN DB Text Length is 10 and u r trying to save string Length >10
In DB, Field is a Date Field, u r trysing to save a Non-date Field
OR it is of Integer and u r trying to store value>32k
Or else, there is a Violation of Foreign/Primary Key

Regards
Veena
Thanks Veena
I checked and foun i am trying to enter string in integer format field.
Thanx again
Sep 4 '07 #5

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

Similar topics

4
by: mike | last post by:
Hi, I am trying to determine what the overhead is per database in SQL Server 2000 Standard. I have the option to put several customers in one database, or give each customer their own database....
1
by: serge | last post by:
Can someone recommend what SQL Database compare tool to use and why? Thank you
2
by: serge | last post by:
Is there a way to compare two databases one being an old database and the second being a new database, I will update the old database's objects to match the new database's objects? Is there SQL...
11
by: Chuck | last post by:
Is there a command that will list all of the databases for a particular instance on the local machine, whether they are activated or not? If there is no such command, is there at least a way to...
46
by: Steve | last post by:
Access97 Database The database is split into a frontend and backend and not connected to any other database. The database has an unbound report with 15 subreports. Some of the subreports include...
1
by: com | last post by:
Extreme Web Reports 2005 - Soft30.com The wizard scans the specified MS Access database and records information such as report names, parameters and subqueries. ......
5
by: Steve | last post by:
I would like to provide users of a client program a list of databases on the network that match a certain pattern, like "%frp%". I have seen a list of databases in the Windows XP ODBC configuration...
6
by: lennon1 | last post by:
Hi, I have already started learning .NET and I have a question. If I want to do anything - Display Data, Navigate, Update - with database (SQL Server) in Visual Studio 2005, do I have to use all...
0
by: nstefi | last post by:
Hi everybody, I installed DB2 version 7 a few times, I always had some issues with the installation. Now finally seems to be ok, but there is something weird when I want to copy a table from one...
0
by: GetgoodV | last post by:
Hi all, I wonder if anybody can help with a problem I have accessing (caaloging) databases on my network (drive V) I have installed DB2 V8 on Windows XP: -...
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: 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
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...
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...

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.