HELLO EVERYONE,
I'M HAVING A PROBLEM WITH A PROG. I WROTE IN VB. I'M CONVERTING INFO FROM ACCESS TO EXCEL IN VB AND AM HAVING ISSUES WITH SYNTAX FOR DATA EXTRACTION! THE PROGRAM WORKS AND ADDRESSES ALL DELIVERABLES. HOWEVER, NOW I NEED TO TAYLOR IT TO EXTRACT PARTICULAR RECORDS. HERE IS THE CODE:
Set conn = New ADODB.Connection
conn.ConnectionString = _
"Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & txtAccessFile.Text & ";" & _
"Persist Security Info=False"
conn.Open
Set rs = conn.Execute( _
"SELECT * FROM query1 ORDER BY loc_no", , _
adCmdText)
WHAT IS THE SYTAX TO SELECT * FROM [...PARAMETER] WHERE [...PARAMETER]....
PLEASE HELP!
IS ADMIN
JRHEIN
I'M HAVING A PROBLEM WITH A PROG. I WROTE IN VB. I'M CONVERTING INFO FROM ACCESS TO EXCEL IN VB AND AM HAVING ISSUES WITH SYNTAX FOR DATA EXTRACTION! THE PROGRAM WORKS AND ADDRESSES ALL DELIVERABLES. HOWEVER, NOW I NEED TO TAYLOR IT TO EXTRACT PARTICULAR RECORDS. HERE IS THE CODE:
Set conn = New ADODB.Connection
conn.ConnectionString = _
"Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & txtAccessFile.Text & ";" & _
"Persist Security Info=False"
conn.Open
Set rs = conn.Execute( _
"SELECT * FROM query1 ORDER BY loc_no", , _
adCmdText)
WHAT IS THE SYTAX TO SELECT * FROM [...PARAMETER] WHERE [...PARAMETER]....
PLEASE HELP!
IS ADMIN
JRHEIN