search all word begin "an*"
From: Christine Imbeault (imbeault.christine_at_qcmines.com)
Date: 05/25/04
- Next message: Sportsterrider: "Jet column properties listing?"
- Previous message: Joe Hotchkiss: "VC++ connect string for Excel 2002?"
- Next in thread: Val Mazur: "Re: search all word begin "an*""
- Reply: Val Mazur: "Re: search all word begin "an*""
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 25 May 2004 15:33:17 -0400
hi,
My table is
TEST
annie
ange
mercure
anouk
test
i have a bd format DBF. i want to find all the word begin "an" in my table.
When i run the macro, the request find 0 record. My request is
Sub test()
Dim oConn As New ADODB.Connection
Dim orec As New ADODB.Recordset
lcConnect = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=c:\a;" & _
"Extended Properties=DBASE IV;"
oConn.Open lcConnect
lcstring = "Select * From test where test like 'an*' "
orec.Open lcstring, oConn, 1, 2
End Sub
Thanks for help
christine
- Next message: Sportsterrider: "Jet column properties listing?"
- Previous message: Joe Hotchkiss: "VC++ connect string for Excel 2002?"
- Next in thread: Val Mazur: "Re: search all word begin "an*""
- Reply: Val Mazur: "Re: search all word begin "an*""
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|