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

altering .cdx indices for vfp

My client has a visual foxpro app that he wants me to hook into. I'm
connecting to it via odbc with this connectionstring:
Dim oconn_d As New OdbcConnection("Driver={Microsoft Visual FoxPro
Driver};SourceType=DBF;SourceDB=c:\test;exclusive= NO")

These are free standing tables, all with .cdx files. I do not own nor do I
intend to use vfp to work with this; rather, I am working with it
exclusively inside vb .net. To display data, I have no problems; however,
if he wants me to modify data, this requires altering the .cdx, which
probably happens automatically using vfp, but not with odbc. What can I do
to update .cdx files when accessing them via odbc?

Tx for any help.

Bernie Yaeger


Nov 21 '05 #1
12 3761
Bernie,

Dit you try it already in the newsgroup

microsoft.public.fox.helpwanted

Maybe sees Cindy your message in this VBNet newsgroup however probably
faster there. And I thought that I had seen that there everytime new
providers for Foxpro.

Cor
Nov 21 '05 #2
Hi Cor,

I was expecting to hear from Cindy. No, I did not try fox.helpwanted, but
tx for the idea - I will post there now.

Thanks again,

Bernie

"Cor Ligthert" <no************@planet.nl> wrote in message
news:uV****************@TK2MSFTNGP09.phx.gbl...
Bernie,

Dit you try it already in the newsgroup

microsoft.public.fox.helpwanted

Maybe sees Cindy your message in this VBNet newsgroup however probably
faster there. And I thought that I had seen that there everytime new
providers for Foxpro.

Cor

Nov 21 '05 #3
Hi Bernie,

The following works just fine in VB 2003:
Option Explicit On
Option Strict On

Imports System
Imports System.Data
Imports System.Data.OleDb
Module Module1
Sub Main()
Try

'-- Download and install the latest VFP OLE DB data provider
'-- from
http://msdn.microsoft.com/vfoxpro/do...s/default.aspx

'-- FoxPro code:
'-- Create Table C:\Temp\TestIndex Free (FirstName C(10),
LastName C(10))
'-- Index On LastName + FirstName Tag FullName

Dim conn As OleDbConnection
conn = New OleDbConnection("Provider=VFPOLEDB.1;Data
Source=C:\Temp;")
conn.Open()

'-- Lets create some data to work with
Dim cmd1 As New OleDbCommand("Insert Into TestIndex Values ('A',
'B')", conn)
Dim cmd2 As New OleDbCommand("Insert Into TestIndex Values ('X',
'Y')", conn)
Dim cmd3 As New OleDbCommand("Insert Into TestIndex Values ('F',
'G')", conn)
cmd1.ExecuteNonQuery()
cmd2.ExecuteNonQuery()
cmd3.ExecuteNonQuery()

'-- FoxPro code:
'-- Use C:\Temp\TestIndex Order FullName

'-- Command results:
'-- Firstname Lastname
'-- A B
'-- F G
'-- X Y
Catch ex As Exception
MsgBox(ex.ToString())
End Try

End Sub
End Module
<<

Why not use the FoxPro and Visual FoxPro OLE DB data provider?
Are you sure you're working with a CDX index and not an IDX index?
Does the index have the same name as the corresponding table?
What exactly are the index expressions on the table? Are there any
user-defined functions, etc.?
Does "modify data" mean anything other than insert/delete/update data?
--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
ci**************@msn.com www.cindywinegarden.com
"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl... My client has a visual foxpro app that he wants me to hook into. I'm
connecting to it via odbc with this connectionstring:
Dim oconn_d As New OdbcConnection("Driver={Microsoft Visual FoxPro
Driver};SourceType=DBF;SourceDB=c:\test;exclusive= NO")

These are free standing tables, all with .cdx files. I do not own nor do
I intend to use vfp to work with this; rather, I am working with it
exclusively inside vb .net. To display data, I have no problems; however,
if he wants me to modify data, this requires altering the .cdx, which
probably happens automatically using vfp, but not with odbc. What can I
do to update .cdx files when accessing them via odbc?

Tx for any help.

Bernie Yaeger

Nov 21 '05 #4
Hi Bernie,

I was out of town and have spent most of today catching up.

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
ci**************@msn.com www.cindywinegarden.com
"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi Cor,

I was expecting to hear from Cindy.

Nov 21 '05 #5
Hi Cindy,

Thanks for your help.

I've downloaded and referenced the vfp oledb driver, but I am still having a
problem. I'm using this code:
Dim oconn_d As New OleDbConnection("Provider=VFPOLEDB.1;Data
Source=c:\testmom;")

Try

oconn_d.Open()

Catch ex As Exception

MessageBox.Show(ex.Message)

End Try

Dim da_d As New OleDbDataAdapter("select * from box", oconn_d)

Dim ds_d As New DataSet("DS")

da_d.Fill(ds_d, "DS")

Dim mcommandbuilder As OleDbCommandBuilder = New OleDbCommandBuilder(da_d)

Dim irow As DataRow

For Each irow In ds_d.Tables(0).Rows

irow(3) = "BY"

Exit For

Next

Try

da_d.Update(ds_d, "DS")

Catch ex As Exception

MessageBox.Show(ex.Message)

Exit Sub

End Try

Here's the problem - I can display data without difficulty; however, the
commandbuilder doesn't work because it says 'can't modify a table without
key column information'. Evidently the table does not have a primary key.
But if that is true, how could it have a .cdx file? Will I have to create
my own update commands?

Thanks again for your assistance.

Bernie

"Cindy Winegarden" <ci**************@msn.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi Bernie,

The following works just fine in VB 2003:

Option Explicit On
Option Strict On

Imports System
Imports System.Data
Imports System.Data.OleDb
Module Module1
Sub Main()
Try

'-- Download and install the latest VFP OLE DB data provider
'-- from
http://msdn.microsoft.com/vfoxpro/do...s/default.aspx

'-- FoxPro code:
'-- Create Table C:\Temp\TestIndex Free (FirstName C(10),
LastName C(10))
'-- Index On LastName + FirstName Tag FullName

Dim conn As OleDbConnection
conn = New OleDbConnection("Provider=VFPOLEDB.1;Data
Source=C:\Temp;")
conn.Open()

'-- Lets create some data to work with
Dim cmd1 As New OleDbCommand("Insert Into TestIndex Values
('A', 'B')", conn)
Dim cmd2 As New OleDbCommand("Insert Into TestIndex Values
('X', 'Y')", conn)
Dim cmd3 As New OleDbCommand("Insert Into TestIndex Values
('F', 'G')", conn)
cmd1.ExecuteNonQuery()
cmd2.ExecuteNonQuery()
cmd3.ExecuteNonQuery()

'-- FoxPro code:
'-- Use C:\Temp\TestIndex Order FullName

'-- Command results:
'-- Firstname Lastname
'-- A B
'-- F G
'-- X Y
Catch ex As Exception
MsgBox(ex.ToString())
End Try

End Sub
End Module
<<

Why not use the FoxPro and Visual FoxPro OLE DB data provider?
Are you sure you're working with a CDX index and not an IDX index?
Does the index have the same name as the corresponding table?
What exactly are the index expressions on the table? Are there any
user-defined functions, etc.?
Does "modify data" mean anything other than insert/delete/update data?
--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
ci**************@msn.com www.cindywinegarden.com
"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
My client has a visual foxpro app that he wants me to hook into. I'm
connecting to it via odbc with this connectionstring:
Dim oconn_d As New OdbcConnection("Driver={Microsoft Visual FoxPro
Driver};SourceType=DBF;SourceDB=c:\test;exclusive= NO")

These are free standing tables, all with .cdx files. I do not own nor do
I intend to use vfp to work with this; rather, I am working with it
exclusively inside vb .net. To display data, I have no problems;
however, if he wants me to modify data, this requires altering the .cdx,
which probably happens automatically using vfp, but not with odbc. What
can I do to update .cdx files when accessing them via odbc?

Tx for any help.

Bernie Yaeger


Nov 21 '05 #6
Hi Bernie,

VFP indexes can be created on any field or combination of fields. Any and
all indexes are stored in a CDX (compound index) file, so there can be more
than one index. It's possible for Fox tables to not have any primary key at
all.

What about using an SQL Update statement with a Where clause that specifies
criteria for the rows you want to update? You'd use Execute NonQuery and a
statement like:

Update MyTable Set MyField = SomeValue Where SomeCondition and SomeCondition

If the table has a PK then you'd use ...Where KeyField = SomeValue

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
ci**************@msn.com www.cindywinegarden.com
"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:ea**************@TK2MSFTNGP10.phx.gbl...
Dim da_d As New OleDbDataAdapter("select * from box", oconn_d)

Dim ds_d As New DataSet("DS")

da_d.Fill(ds_d, "DS")

Dim mcommandbuilder As OleDbCommandBuilder = New OleDbCommandBuilder(da_d)

Dim irow As DataRow

For Each irow In ds_d.Tables(0).Rows

irow(3) = "BY" ....... Here's the problem - I can display data without difficulty; however, the
commandbuilder doesn't work because it says 'can't modify a table without
key column information'. Evidently the table does not have a primary key.
But if that is true, how could it have a .cdx file? Will I have to create
my own update commands?

Nov 21 '05 #7
Hi Cindy,

'Where somecondition and somecondition' doesn't get it done:

I cannot for the life of me figure out how to modify the backend when a
table has no primary key. I have used all of the examples in Sceppa's book
and they all fail - or, rather, update every row, even unmodified rows, when
a table has no primary key. I cannot alter the tables for business reasons.
Is there any solution to this dilemma? I cannot offer a where clause that
makes sense - one table has 75 columns and all may be exactly the same.

Tx for any help.

Bernie

"Cindy Winegarden" <ci**************@msn.com> wrote in message
news:ut*************@TK2MSFTNGP15.phx.gbl...
Hi Bernie,

VFP indexes can be created on any field or combination of fields. Any and
all indexes are stored in a CDX (compound index) file, so there can be
more than one index. It's possible for Fox tables to not have any primary
key at all.

What about using an SQL Update statement with a Where clause that
specifies criteria for the rows you want to update? You'd use Execute
NonQuery and a statement like:

Update MyTable Set MyField = SomeValue Where SomeCondition and
SomeCondition

If the table has a PK then you'd use ...Where KeyField = SomeValue

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
ci**************@msn.com www.cindywinegarden.com
"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:ea**************@TK2MSFTNGP10.phx.gbl...
Dim da_d As New OleDbDataAdapter("select * from box", oconn_d)

Dim ds_d As New DataSet("DS")

da_d.Fill(ds_d, "DS")

Dim mcommandbuilder As OleDbCommandBuilder = New
OleDbCommandBuilder(da_d)

Dim irow As DataRow

For Each irow In ds_d.Tables(0).Rows

irow(3) = "BY"

......
Here's the problem - I can display data without difficulty; however, the
commandbuilder doesn't work because it says 'can't modify a table without
key column information'. Evidently the table does not have a primary
key. But if that is true, how could it have a .cdx file? Will I have to
create my own update commands?


Nov 21 '05 #8
Hi Cindy,

By the way, the .cdx file is not updated when I update the table using the
new vfp driver. Have you actually used this provider to update .cdx files?
If so, can you give me a code snippet where it worked. I must be leaving
something of importance out.

Tx,

Bernie

"Cindy Winegarden" <ci**************@msn.com> wrote in message
news:ut*************@TK2MSFTNGP15.phx.gbl...
Hi Bernie,

VFP indexes can be created on any field or combination of fields. Any and
all indexes are stored in a CDX (compound index) file, so there can be
more than one index. It's possible for Fox tables to not have any primary
key at all.

What about using an SQL Update statement with a Where clause that
specifies criteria for the rows you want to update? You'd use Execute
NonQuery and a statement like:

Update MyTable Set MyField = SomeValue Where SomeCondition and
SomeCondition

If the table has a PK then you'd use ...Where KeyField = SomeValue

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
ci**************@msn.com www.cindywinegarden.com
"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:ea**************@TK2MSFTNGP10.phx.gbl...
Dim da_d As New OleDbDataAdapter("select * from box", oconn_d)

Dim ds_d As New DataSet("DS")

da_d.Fill(ds_d, "DS")

Dim mcommandbuilder As OleDbCommandBuilder = New
OleDbCommandBuilder(da_d)

Dim irow As DataRow

For Each irow In ds_d.Tables(0).Rows

irow(3) = "BY"

......
Here's the problem - I can display data without difficulty; however, the
commandbuilder doesn't work because it says 'can't modify a table without
key column information'. Evidently the table does not have a primary
key. But if that is true, how could it have a .cdx file? Will I have to
create my own update commands?


Nov 21 '05 #9
"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:e0**************@TK2MSFTNGP10.phx.gbl...

Hi Bernie,
By the way, the .cdx file is not updated when I update the table using the
new vfp driver.
How are you determining this - by the time on the file? If there is an index
on LastName, for example, and you change the FirstName field you should not
expect to see any changes to the index files.

Do you know what the indexes on the table are?
Have you actually used this provider to update .cdx files? If so, can you
give me a code snippet where it worked. I must be leaving something of
importance out.


It's really not the data provider, but rather the Fox data engine that keeps
the indexes up-to-date. It's similar to SQL Server in that the ODBC and OLE
DB drivers provide a way to send commands to the database, but the SQL
Server data engine takes care of updating indexes appropriately when values
change in the affected fields.

I posted code a couple of messages up in this thread that updates the table
indexes appropriately. I can test this by inserting data via VB and OLE DB
and then opening the table in FoxPro, setting the order to that index, and
viewing the data.

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
ci**************@msn.com www.cindywinegarden.com

Nov 21 '05 #10
Hi Cindy,

You are absolutely correct. I was determining whether the .cdx was updated
by the date. I also believed - and I used to program in clipper using the
..cdx driver and then for more than 10 years in ca visual objects using the
cdx driver - that you had to have an index open (odbf:setorder("lnamex")) to
have the .cdx change, but I just tested it (ca visual objects) without
opening the index file and it does indeed change anyway!

But I do not know what the index tags are, as I can't open the table using
vb .net. I might be able to attach the index file using an older version of
crystal, but I was wondering - do you know a tool (other than vfp itself)
with which I could open the files and indexes to see the data and index
tags? I used to use dbu.exe, but it won't open these files.

Thanks for your help.

Bernie

"Cindy Winegarden" <ci**************@msn.com> wrote in message
news:ON*************@TK2MSFTNGP10.phx.gbl...
"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:e0**************@TK2MSFTNGP10.phx.gbl...

Hi Bernie,
By the way, the .cdx file is not updated when I update the table using
the new vfp driver.


How are you determining this - by the time on the file? If there is an
index on LastName, for example, and you change the FirstName field you
should not expect to see any changes to the index files.

Do you know what the indexes on the table are?
Have you actually used this provider to update .cdx files? If so, can you
give me a code snippet where it worked. I must be leaving something of
importance out.


It's really not the data provider, but rather the Fox data engine that
keeps the indexes up-to-date. It's similar to SQL Server in that the ODBC
and OLE DB drivers provide a way to send commands to the database, but the
SQL Server data engine takes care of updating indexes appropriately when
values change in the affected fields.

I posted code a couple of messages up in this thread that updates the
table indexes appropriately. I can test this by inserting data via VB and
OLE DB and then opening the table in FoxPro, setting the order to that
index, and viewing the data.

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
ci**************@msn.com www.cindywinegarden.com

Nov 21 '05 #11
Hi Bernie,

I can't find a way to read the index tag expressions via OLE DB or ODBC.
There are 3rd-party DBF viewers; one is DBFView (http://www.dbfview.com/)
and you can try it to make sure it will give you what you need before you
spend any money.

Back to your original question - how to update data. The code example you
gave was:

For Each irow In ds_d.Tables(0).Rows
irow(3) = "BY"
Exit For
Next

It looks like you're planning to update every row in your dataset, although
it looks like you exit the loop after the first iteration. In any case, if
you're planning to update every row, why not use SQL Pass-Through and
ExecuteNonQuery:

"Update MyTable Set SomeField = SomeValue"

You can use a Where clause to narrow down the replacements, otherwise all
rows will be updated. If your user is paging through a grid, surely he has a
way of deciding which row he wants. In that case you can use a Where clause
that uses values from the row the user is on as criteria. If there are some
rows that are _exactly_ the same then each of them will be updated, but
there again, how does the user decide to use the first one he comes to
rather than the last one?

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
ci**************@msn.com www.cindywinegarden.com
"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi Cindy,

You are absolutely correct. I was determining whether the .cdx was
updated by the date. I also believed - and I used to program in clipper
using the .cdx driver and then for more than 10 years in ca visual objects
using the cdx driver - that you had to have an index open
(odbf:setorder("lnamex")) to have the .cdx change, but I just tested it
(ca visual objects) without opening the index file and it does indeed
change anyway!

But I do not know what the index tags are, as I can't open the table using
vb .net. I might be able to attach the index file using an older version
of crystal, but I was wondering - do you know a tool (other than vfp
itself) with which I could open the files and indexes to see the data and
index tags? I used to use dbu.exe, but it won't open these files.

Thanks for your help.

Bernie

"Cindy Winegarden" <ci**************@msn.com> wrote in message
news:ON*************@TK2MSFTNGP10.phx.gbl...
"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:e0**************@TK2MSFTNGP10.phx.gbl...

Hi Bernie,
By the way, the .cdx file is not updated when I update the table using
the new vfp driver.


How are you determining this - by the time on the file? If there is an
index on LastName, for example, and you change the FirstName field you
should not expect to see any changes to the index files.

Do you know what the indexes on the table are?
Have you actually used this provider to update .cdx files? If so, can
you give me a code snippet where it worked. I must be leaving something
of importance out.


It's really not the data provider, but rather the Fox data engine that
keeps the indexes up-to-date. It's similar to SQL Server in that the ODBC
and OLE DB drivers provide a way to send commands to the database, but
the SQL Server data engine takes care of updating indexes appropriately
when values change in the affected fields.

I posted code a couple of messages up in this thread that updates the
table indexes appropriately. I can test this by inserting data via VB and
OLE DB and then opening the table in FoxPro, setting the order to that
index, and viewing the data.

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
ci**************@msn.com www.cindywinegarden.com


Nov 21 '05 #12
Hi Cindy,

Tx for the info - I will look into dbfview; that is the kind of tool I had
in mind.

I was just testing the update; that's why I exited the loop. But that is
what began the problem - after changing just the first row in the loop, all
rows in the table changed to 'BY'! Sounds, crazy, I know, but inside update
command I enter once and all the rows change, probably because there is no
where clause and the update event has the row passed into it but doesn't
recognize a distinction. That's what got me going on primary key etc. But
you are correct - if I use several other row columns in a where clause, if
they happen to update all rows which have all the same criteria, it doesn't
matter, as they are all the same!

Tx for your help.

Bernie

"Cindy Winegarden" <ci**************@msn.com> wrote in message
news:ek**************@TK2MSFTNGP12.phx.gbl...
Hi Bernie,

I can't find a way to read the index tag expressions via OLE DB or ODBC.
There are 3rd-party DBF viewers; one is DBFView (http://www.dbfview.com/)
and you can try it to make sure it will give you what you need before you
spend any money.

Back to your original question - how to update data. The code example you
gave was:

For Each irow In ds_d.Tables(0).Rows
irow(3) = "BY"
Exit For
Next

It looks like you're planning to update every row in your dataset,
although it looks like you exit the loop after the first iteration. In any
case, if you're planning to update every row, why not use SQL Pass-Through
and ExecuteNonQuery:

"Update MyTable Set SomeField = SomeValue"

You can use a Where clause to narrow down the replacements, otherwise all
rows will be updated. If your user is paging through a grid, surely he has
a way of deciding which row he wants. In that case you can use a Where
clause that uses values from the row the user is on as criteria. If there
are some rows that are _exactly_ the same then each of them will be
updated, but there again, how does the user decide to use the first one he
comes to rather than the last one?

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
ci**************@msn.com www.cindywinegarden.com
"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi Cindy,

You are absolutely correct. I was determining whether the .cdx was
updated by the date. I also believed - and I used to program in clipper
using the .cdx driver and then for more than 10 years in ca visual
objects using the cdx driver - that you had to have an index open
(odbf:setorder("lnamex")) to have the .cdx change, but I just tested it
(ca visual objects) without opening the index file and it does indeed
change anyway!

But I do not know what the index tags are, as I can't open the table
using vb .net. I might be able to attach the index file using an older
version of crystal, but I was wondering - do you know a tool (other than
vfp itself) with which I could open the files and indexes to see the data
and index tags? I used to use dbu.exe, but it won't open these files.

Thanks for your help.

Bernie

"Cindy Winegarden" <ci**************@msn.com> wrote in message
news:ON*************@TK2MSFTNGP10.phx.gbl...
"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:e0**************@TK2MSFTNGP10.phx.gbl...

Hi Bernie,

By the way, the .cdx file is not updated when I update the table using
the new vfp driver.

How are you determining this - by the time on the file? If there is an
index on LastName, for example, and you change the FirstName field you
should not expect to see any changes to the index files.

Do you know what the indexes on the table are?

Have you actually used this provider to update .cdx files? If so, can
you give me a code snippet where it worked. I must be leaving
something of importance out.

It's really not the data provider, but rather the Fox data engine that
keeps the indexes up-to-date. It's similar to SQL Server in that the
ODBC and OLE DB drivers provide a way to send commands to the database,
but the SQL Server data engine takes care of updating indexes
appropriately when values change in the affected fields.

I posted code a couple of messages up in this thread that updates the
table indexes appropriately. I can test this by inserting data via VB
and OLE DB and then opening the table in FoxPro, setting the order to
that index, and viewing the data.

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
ci**************@msn.com www.cindywinegarden.com



Nov 21 '05 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: dan | last post by:
I was recently surprised, and quite shocked in fact, to find that Python treats negative indices into sequence types as if they were mod(length-of-sequence), at least up to -len(seq). This fact...
8
by: Steven Bethard | last post by:
I have a list of strings that looks something like: lst = The parentheses in the labels indicate where an "annotation" starts and ends. So for example, the label '(*)' at index 2 of the list...
5
by: Ross MacGregor | last post by:
I have a very simple yet complicated problem. I want to generate a random list of indices (int's) for a container. Let's say I have a container with 10 items and I want a list of 3 random...
7
by: Bart Torbert | last post by:
Hello, I am starting to examine using SQLServer instead of Oracle. I went through the SQLServer import utility to copy tables from Oracle into SQLServer. I then checked the size of the...
9
by: Randell D. | last post by:
Folks, I can program fairly comfortably in PHP and can, for the most part using these skills and others that I've picked up over the years manage to read/understand most code in Javascript... so...
8
by: Bernard Dhooghe | last post by:
Environment: DB2 UDB LUW. The be able to use on-line reorg, indices must be of type-2. 1. How to migrate a 8.1 database that was created on 7.1 (with type-1 indices)at once to type-2 indices ...
1
by: Bernie Yaeger | last post by:
My client has a visual foxpro app that he wants me to hook into. I'm connecting to it via odbc using visual basic .net with this connectionstring: Dim oconn_d As New...
3
by: GavinCrooks | last post by:
The indices method of slice doesn't seem to work quite how I would expect when reversing a sequence. For example : '43210' '43210' So a slice with a negative step (and nothing else) reverses...
2
by: smichr | last post by:
It seems to me that the indices() method for slices is could be improved. Right now it gives back concrete indices for a range of length n. That is, it does not return any None values. Using an...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.