Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dbgrid no muestra datos

Status
Not open for further replies.

RaquelG

Programmer
May 17, 2002
6
AR
Tengo un dbgrid enlazado a un control ado, que en el pc donde desarrollo anda ok, pero cuando instalo en otro pc, la dbgrid aparece vacia, puedo usar el control ado para insertar nuevas filas, pero no me muestra datos la dbgrid. Me falta instalar algo en el pc nuevo?
 
This is an English language based forum - please repost in English

See the FAQ referred below
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
I'm using Access97, Vb6.0,
and a dbgrid linked to a ado control, does not show the data. (But I can add records using the same ado control).
This occurs on the pc where i have instaled my application. On the pc where I create the application it is working OK.
Does anybody have a answear, please?.
 
Three possibilities come to mind.

1. Is the path to the database the same on both machines?
2. Is up-to-date MDAC on installed machine?
3. Can you see the data in the installed database with Access?
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 

It's your cursor location of the DataControl.
Set it to Client side. [/b][/i][/u]*******************************************************
General remarks:
If this post contains any suggestions for the use or distribution of code, components or files of any sort, it is still your responsibility to assure that you have the proper license and distribution rights to do so!
 
1- Runtime Error 429 ActiveX componenet can't create object,
this occurs when I try to create an adodb.recordset, like this
set xxxxx = New ADODC.Recordset.

I'm using Access97, Vb6.0,

2-A datagrid linked to a ado control, does not retrieve the structure from the ado recordset , so the datagrid is empty, whitout the columns from teh recordset.
I'm very confusse.
Does anybody have a answear, please?.
 
error 429 usually means you're missing a dll or ocx.

If this is on the development machine, then you may have a corrupt file

If you have distributed the program, use Packaging and Deployment Wizard, or any other installer, rather than just copying the exe. P&DW will pick up what other files you need for installation
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
This problem is corrected by re-registering the DAO350.dll.

The instructions are from Microsoft Knowledge Base article 292054:
You can get a copy of the DAO350.dll file from a computer where MS Office is working correctly, or you can obtain a copy of DAO350.dll at the following FTP address:

ftp://ftp.microsoft.com/softlib/mslfiles/

Error 429 can be resolved by re-registering the file DAO350.dll, follow these steps:

Click Start, and then click Run.
In the Open box, type Regsvr32.exe C:\progra~1\common~1\micros~1\dao\dao350.dll
Click OK


While the instructions on the knowledge base article are longer and more extensive, registering the file usually resolves the problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top