New Forum is "open for business"

367 byte By Brad Jones at 2007-11-18 1:49:28
At the request of a number of people, I've added this new forum to focus on database topics. Note that ADO.NET and XML have forums of their own. This forum covers everything else. This would include working with flat files as well as SQL, mySQL, SQLServer, Oracle, Sybase, Informix, MSDE, Cache...

to find out the base table name

485 byte By RahulDesai at 2007-11-18 1:49:52
Hi I am a fresher working on oracle and d2k 6i in a company.I wanted to know whether it is possible to get base table name from a form using sql statements.(for instance if there are lot of forms and i had to check the base table name present in each bloc of all the forms and check the presence o...

Access Passthrough

851 byte By gbalakri at 2007-11-18 1:55:08
I have a Stored Procedure in a Sybase database and I have created an SQL pass through query in Access 2000 to run the procedure. When I run the pass through query in vbscript using ADO the stored procedure gets executed twice( I see it in the ODBC logs). If I use DAO the procedure only gets executed...

MS Access Crosstab Query to Standard SQL

711 byte By jmah08 at 2007-11-18 1:57:32
I am in the process of converting an MS Access database into Oracle. I hit a bump as I was converting queries. I have several corsstab queries within access that I would like to convert into standard SQL for our developers, but am not sure of the command. Below is the MS Access SQL cut and pasted...

database normalization question down to 3nf i think

1426 byte By storeyed at 2007-11-18 2:03:47
Hello, i am building a small database of restaurants RestID (1) RestName (Sals Pizza) RestPhone# (555.555.5555) RestStreet (55 Main Street) RestTown (Boston) RestZip (01246) RestState (MA) RestType (italion, chinese etc) RestHours ( 9am to 5pm) RestRating (5 Stars) RestMenu (Sals_Menu.jpg) I think i...

How do I connect a MS Access database to a website using PHP?

341 byte By tevans at 2007-11-18 2:10:52
Please help me!!:( I have built a database on members of a club, but would like to be able to connect this to a simple website (using PHP) which allows the user to submit their details via a form and log on to alter their details. What coding do I use? Also, what part does the web server play?? :rol...

DAO, MS Access Problem

453 byte By kamavarapu at 2007-11-18 2:16:57
I have developed an application with back end as MS Access,VC++ using DAO for database connectivity. Application is giving "Invalid Page fault" error , at the time of creation, and when ever code refers to database and this is happening in machines where Visual Studio is not installed. If I Insta...

MS Access, SQL/VB CODE

1458 byte By brainmetz at 2007-11-18 2:17:59
Hello,Here is what I am trying to doNot sure if it is possible:SELECT [Activity File].[Computer Name], Sum([Activity File].[Total Time]) AS [SumOfTotal Time] INTO [ATT/IBM URL's By Computer]FROM [Activity File]WHERE ((([Activity File].[URL Address]) Like "*att*" Or ([Activity File].[URL Address...

Anybody plz, what is the following problem and how to solve that...

460 byte By Exceter at 2007-11-18 2:24:55
I have problem with MS SQL Server during installationfirstly there was no problem with Standard Edition, then I uninstalled that and tried to install Enterprise Editionand faced the following problem:at the end of the installation the following message appears "... refer to sqlstd.log file"now I hav...

Runtime Error 20532

345 byte By techraj at 2007-11-18 2:24:59
We are doing a project using Crystal Reports and while generating report using VB 6.0 as front-end we recieved a error called "Runtime Error 20532 Cannot Find Database DLL", this problem has been encountered on all except few machines , but we are unable to find the difference b/w the two machines....

importing to access from dbase

918 byte By getzel at 2007-11-18 2:26:22
Hi.I'm using Access 2002 on Windows xp and i get the following message when I try to import certain tables from dbase.This is what I did:I clicked on file/get external data/import.I set the file type as dbase5.I clicked on the table I wanted to import.Here is the error message I got:Invalid fie...

Type Mismatch Reading Number From Oracle

880 byte By Ahara at 2007-11-18 2:26:38
Hello;I am developping an app in ASP that connects to an Oracle database. I have just discovered the following problem:When I read data from a column defined as data type 'Number' in Oracle, and I reference it in ADO say like...if rs.Fields(2).Value <> 0 thenI get a type mismatch ev...

European date format

234 byte By cmm at 2007-11-18 2:27:29
When creating a data type for a field in MS Access, when i specify date/time, it formats it as US format (ie mm/dd/yyyy), however, i wish to format it as European (ie dd/mm/yyyy). How is this possible? Thanks in advance for your time!

Utility for reading SQL server 2000 transaction log

319 byte By ksl at 2007-11-18 2:31:03
I would like to be able to read entries in the transaction log from an SQL server 2000.Does any body know a utility or a product that will support this. I would like a program that could find a transaction where a specific event is performed at a table. E.g.: "delete from tableX where x = 123"...

Basic SQL query question

390 byte By Bantam at 2007-11-18 2:31:43
I need an SQL query that returns all records that are in one table but not in another table. I'm not too sure how to do it, and I'm still new with sql, but here's some very poor pseudo code:SELECT fldID, fldName, fldAddressFROM tblOneWHERE fldID <> (any fldID's in the othe...

Query over date

904 byte By matthiasr at 2007-11-18 2:36:38
Hello,i hope somebody could help me.Ok, ich work with Access 2k, i have six tables. The fist and second table with names InkaPro and InkaLite has five rows with the name date, aviable_to, version, description and compTime. The next three tables are the same view like date, name and description and t...

OLE DB/ADO help needed plz.

268 byte By odeveloper at 2007-11-18 2:38:42
Hi all!<br/>I m new to this group.<br/>I hv started learning Visual C++ Database programing<br/>database is Oracle 7.3.4 and i want help (step by step)<br/>creating OLE DB/ADO app. with a table contained three<br/>data types (int, char, date) anybody plz can help me??

SQL or StoreProc for a strange requirement

851 byte By gangaprasad at 2007-11-18 2:41:33
Hi,Here I have a strange requirement - I have a table with 2 columns, it is basically 1 to many relationship table. e.g. col1 col2 === === id1 map1 id1 map2 id2 map2 id2 map3 id3 map1 id3 map2 id3 map3Now I need to display in a spreadsheet...

Is ADO exposable via Web Services?

493 byte By Chopa at 2007-11-18 2:41:58
Does .NET architecture allow to implement a solution where a Web Service exposes an ADO.Connection object so that an ASP.NET client could retrieve such object, open its local ADO.Recordset on it, and use it at its own discretion as thou the ADO.Connection object was created on the clients PC?If yes,...

Problems with SQLDMO

423 byte By joecre at 2007-11-18 2:42:57
I have a problem with SQLDMO, in my MFC Application I use DMO to restore/backup a SQL DB; when I specify a path that contains blank spaces DMO fail to perform the operation because the resulting path is a merge from my path and the default one.i.e. mypath = "D:\My Folder" resulting path =" C:\Progra...

Cannot Update. Database or database object is read-only. Can anybody tell me why

664 byte By mpoincare at 2007-11-18 2:44:23
I want to insert data from a web page into a microsoft access 2000 database using ADO. I wrote a routine that will do the job. Basically it is structured like that:dim CONNECTIONSTRING , rs Set Conn = CONNECTIONSTRINGrs. open conn, "tblname"rs.addnew...rs.updaters.closeThe problem is any time this C...

Access error 3101

750 byte By Neuromancer93 at 2007-11-18 2:44:35
I'm using Access 2000 and I have 1 form which includes a subform. My main is linked to a table called Customer Names and my subform is linked to a table called Customer Sites. Whenever I use my main form to add a Customer when I try to click in my subform I get this error : The Microsoft Jet da...

little DOS program

524 byte By blackjack2003 at 2007-11-18 2:47:10
I am wondering the best way to approach this.I need a DOS based program. This program will be called up by an *.exe file. The program will run on a Symbol Wireless Scanner. The program's interface will ask the user to enter a "part number", "location" and a "quantity". Then after the user enter...

ADO writes in Access 2002/XP not timely

948 byte By M Owen at 2007-11-18 2:49:03
Hi all.Thought I'd try this question in here ...Bear with me for a minute ... I have a form in Access that is bound to a table. This form calls another form (i.e. a "Review" form calling an "Entry" form) where the Entry form will add a record to the table the parent form is bound to. Now, I use...

Call COM method from Oracle script

121 byte By akl at 2007-11-18 2:51:47
Just wanted to know whether it is possible to call a method provided by a COM interface directly from a script in Oracle.

data base in c

175 byte By sapan_rohatgi at 2007-11-18 2:52:28
im making a inventory report in the language c<br/>i want that<br/>when i enter any data the data will automatically inserted into database nad how c is connected with orcale8

Getting last 5 weeks data

478 byte By Lafor at 2007-11-18 2:53:01
Hello Guys... Have to write a query or stored proc that would (given the day of the week) grab last 5 weeks data.. A week defined as Sun - SatSo, for example if today is Thursday, the stored proc wouldget last saturday's date and do a query to get the data for thelast 5 weeks (i.e up to las...

Paradox maximum table size

185 byte By JAL at 2007-11-18 2:54:05
Hello,<br/> I keep having the same "table is full" error message while my .db reach 128Mb whereas it supposed to accept up to 2Gb.<br/>Any idea for the configuration ?<br/>:confused:

ADO with VC++

720 byte By odeveloper at 2007-11-18 2:54:39
Hi allI m trying to learn VC++ database prog. i need help if someone can create a small sample app as follows:-IDE = VC++ 6-Using ADO DSN less connection (Provider='' user='' password='' data source='')-db contains two tables (table_a, table_b)-each table co...

Runtime error 3027: Cant Update:Database or object is read only

682 byte By gaddu at 2007-11-18 2:56:25
I connected visual basic 5 and oracle. I am trying to addnew records in the database. I used the code as follows: Private Sub cmdAdd_Click() Set wst = CreateWorkspace("ODBCworkspace", "xxx", "xxx", dbUseODBC) Set db = wst.OpenDatabase("oracle", dbDriverNoPrompt, False, "ODBC;DATABASE=oracle;UID=xxx;...

Cannot find installable ISAM, You cannot enumerate Table Names in ODBC directmod

513 byte By gaddu at 2007-11-18 2:56:26
I m trying to connect VB and oracle using DAO. I set the properties of DAO as follows :Connect:ODBC;DATABASE=oracle;UID=xxx;PWD=xxx;DSN=oracle;"DatabaseName: OracleDefault Type: 2-UseJetWhen I click on Recordsource I get the error:Cannot find Installable ISAMWhen I change the Default Type to 1-UseOD...

Nested SQL queries

476 byte By JAL at 2007-11-18 2:57:11
Hello Gurus, I am currently bumping on a strange problem on a Paradox database :The following query does not work :SELECT * FROM AnotherQuery.sql WHERE Col3 = 10where AnotherQuery.sql contains :SELECT Col3 FROM Table1 T1LEFT OUTER JOIN Table2 T2ON ( T1.Col1 = T2.Col1 ) AND ( T1.Col2 = T2.Col2 ) w...

Database ACCESS 97 to linked server SQL 2000

453 byte By yfbf at 2007-11-18 2:57:35
Hi,I have a SQL SERVER 2000,I have a Database ACCESS 97 ( db.mdb)I use Entreprise manager for link the DB ACCESS 97 by linked servers to SQL2000.The only choice for PROVIDER NAME I have Microsoft Jet 4.0 OLE DB but for ACCESS 97 it is not good.I don't have the possibility for chabge the DATABAS...

Invalid descriptor number, Invalid column number calling CRecordset::Open

1102 byte By zulus at 2007-11-18 2:57:56
Hello everybody.I have a problem i cannot defeat. I created a database in mysql and now i want to retrieve records from it. I use VC++6.0I do it with fallowing piece of code: CDatabase db;CUserSet* pUserSet = new CUserSet();if(db.Open("firm")){ try { pUserSet -> Open(CRecordset::snapshot,"select...

ODBC. How to force data to be written to the disk?

486 byte By A. Ostroverkhov at 2007-11-18 3:00:19
Hi everybody!I have a problem while updating data in a database using ODBC.My application adds new records to the database and soon after tries to read these new records from the database. As a result of buffering, data I read mismatches data I've just written. Thus I need to force data in the...

ODBC and MS Access, force data to be written to the disk

147 byte By A. Ostroverkhov at 2007-11-18 3:00:25
Hi all!<br/>It's an addition to the previous message.<br/>I have a MS Access database, that is being used by application, written in VC++

Cannot Update. Database or database object is read-only. Can anybody tell me why

846 byte By mpoincare at 2007-11-18 3:01:20
I want to insert data from a web page into a microsoft access 2000 database using ADO. I wrote a routine that will do the job. Basically it is structured like that:dim CONNECTIONSTRING , rs Set Conn = CONNECTIONSTRINGrs. open conn, "tblname"rs.addnew...rs.updaters.closeThe problem is any time this r...

Adding data to a field

388 byte By anuvb at 2007-11-18 3:02:28
hiThis may be a very basic question to many...I have a form with provision for the user to enter a date.I have provided the user to select a date,month and year rom 3 diff combo boxes,but I want to store the data from all the three combo boxes in a singe date field in the database .Is it possible an...

rs.RecordCount

669 byte By hspc at 2007-11-18 3:02:46
hi alli open an access database from asp .. for some reason i need to know the number of records in the recordset before processing it as follows :set con=Server.CreateObject("Adodb.Connection")set rs=Server.CreateObject("Adodb.Recordset")con.ConnectionString=strConcon.CursorLocation=1 'serverc...

Unwanted Unicode text after form input

287 byte By KTULKevin at 2007-11-18 3:03:22
I'm inputting information into a database using a text input form and everything works except when I view the information in the database, I have "ᆲ■tᅱ" before the information I want to display. What is this and how do I go about keeping it out of my database?

Display current record

1316 byte By directorz at 2007-11-18 3:03:49
In a vehicle maintenance application, I have a list box based on a table, (table1) displayed in a form. The listbox reflects the contents of 2 fields: [EquipmentID] and [PMName].1. EquipmentID refers to the identification of a vehicle.2. PMName refers to the name of a preventive maintenance routine...

can some 1 plz give me some advice

173 byte By oppaz at 2007-11-18 3:04:15
i have a normalized dbase and i want to allow users to search the dbase from a 3G phone (webpage) can any1 plz tell me what areas i need 2 look into asp,.asp, .vb or cgi????

mySQL: Non Network = Not Secure

323 byte By cts at 2007-11-18 3:04:39
mySQL on a wind98 box is not secure:open the table.MYD in a hex editor and you can see the data.So mySQL relies on other security (eg Unix directory protection)Can anyone suggest a simple secure database for wind98?Access passwords are so easily cracked...cheers cts 3/3/03...

ADO Seek on Jet-Access with multi-column key

240 byte By SilvioArdito at 2007-11-18 3:05:19
hi<br/>I am working with MSVC 6.0 C++, ADO, Jet, .mdb.<br/>When i use the -Seek- method on a recordset with the a single-column key, all is OK.<br/>I am not able to use the same method on a multi-column key.<br/>Thanks.<br/>Silvio

listbox

338 byte By neo4 at 2007-11-18 3:05:28
:) hi! I need help in access, im using 2000. I have a problem using the listbox. I have a table that i linked in the listbox, what i want to happen is when i double click the variables in the listbox i want to open another form. I'm tying to use the expresion builder but i dnt know what command...

Recordset Save

449 byte By Creekhead at 2007-11-18 3:07:24
Yes I'm a newbie and having a problem. I have created an Access2000 DB and made a connection thru VB6 to update records and all is working well. I need to periodically archive this information. I have tried using recordset.save which apparently saves the table that I'm connected to, unfo...

Dts And Temporary Table

211 byte By glrl at 2007-11-18 3:09:50
HELLO!<br/>I would like export my data with DTS from stored procedure to ASCII file. But in my stored proc i use table temporary and that don't run.<br/>How can i do?<br/>Thank's<br/>Gal

jet or msde ??

453 byte By reshmaravindran at 2007-11-18 3:11:45
Hi, I have an application that use Access as the backend. Everything works fine when I run it on a single machine.. but if there is a lot of processing on the same database on a network the database get's corrupt and cannot be repaired. I have not done anything to handle concurrency except for...

ODBC + save point

99 byte By irona20 at 2007-11-18 3:12:21
Hi!<br/>How can I use "savepoints" with ODBC functions: SQLXXX?<br/>Thank you in advance.

Really hard SQL/Access question

3608 byte By Bantam at 2007-11-18 3:12:53
I'm such a bum, and if anyone can at least guide me to where I need to go to find out how to do this, or maybe an example I can fool with, it would be appreciated.Oh boy. Here we go:My company has 25+ salesmen throughout the US, and 8 or so sales supervisors over them.I have a table (tblZip) w...