Re: Need ODBC Jump Start



Hi,

"Craig Leidy" <surfsoft@xxxxxxxxxxx> escribió en el mensaje
news:4293433c$1@xxxxxxxxxxxxxxxxxxxxxxxxx
> Initially I set it up with text files because all
> the records are memory based.

hate text files for db...

>
> Then I added a Paradox Bill of Materials.
> Later I changed it to an Advantage DB.

much better :)

>
> So now all files can come in via text or
> Advantage. I'm using 3 AdsConnections
> to allow users to locate files separately.
> All of the access to the Advantage is SQL.

by AdsConnections you mean ADOConnections? Or is it another component?

>
> I have a user that is SQL-Server based.
> He wants me to make this ODBC compliant
> so he can connect to it without Advantage.
> How much work is this?
> What's the learning curve?
> Where do I start?
> What question didn't I ask? :-)

mmm, not sure if i'm understanding it right. You want to connect from your
app to SQL Server using ADO, don't you? If that's the case, the answers to
your questions are:

1- not much. Depends on what you need exactly and how good you know ADO
2- Same as above
3- basically you need at least 1 TADODataset or descendant, 1 Datasource for
any visual components that will show data, and i would suggest to use a
TADOConnection too. Depending on how many tables you have and how the data
will be accessed (from the user's point of view) maybe you'll need more than
1 TADODataset and Datasource.
4- Why did the chicken cross the street? :)

--
Best regards :)

Guillem Vicens
Dep. informática Green Service SA
www.clubgreenoasis.com
--
In order to send me a mail, remove the -nospam


.



Relevant Pages

  • Re: Using ADO with data from a binary file
    ... > But some are custom binary files that I need to parse. ... it there a way to bind an array of structures to db-control? ... DataSource to bind to any control that takes a 'datasource'. ... ADO, you would create a "Datasource" that would provide data just like ADO. ...
    (microsoft.public.vb.database.ado)
  • Re: Read from one, write into another data source
    ... this sounds like you're using ADO to to transport (bulk copy) data. ... > contents into another DataSource. ... > OleDbConnection connection = adapter.SelectCommand.Connection; ...
    (microsoft.public.data.ado)
  • Re: BDE vs ADO
    ... Then it's probably a good idea to switch to ADO. ... I recommend you you TADODataSet, rather than TADOTable, ... you can use TADOCommand or TADOStoredProc. ... You then set your TADODataSet's Connection propery to this ...
    (alt.comp.lang.borland-delphi)
  • DataSet basics - How to fill from stored proc?
    ... I have a number of ComboBoxes that I need to change the DataSource of based ... on user selection. ... I'm new to working with ADO, so I'm sure this is a very ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Trouble connecting DBGrid and ADODataSet
    ... Connect the TDataSource.DataSet property to your TADODataSet ... > The DBGrid doesn't let me set its datasource as the ADODataSet. ... > add a DataSource it doesn't allow me to set its dataset to the ADODataSet. ...
    (borland.public.delphi.database.ado)