Home > Software engineering >  Use VB.NET to ACCESS the ACCESS problem
Use VB.NET to ACCESS the ACCESS problem

Time:09-18

Dear bosses, I to this thing completely don't understand, looked at other people's code, try to write, a lot of mistakes, I hope everybody help see,
Imports dao
Public Class Form1
Private Sub Button1_Click (ByVal sender As System. Object, ByVal e the As System. EventArgs) Handles for. Click
Dim STR As String="D: \ d.m db"
Dim Dbff As QueryDef
Dim RsFNFN As Parameter
Dim dbengine As New dbengine
Dim G_db As Database
Dim RsS As you
G_db=dbengine. OpenDatabase (STR, False, False)
Dbff=G_db. CreateQueryDef (" ", "the parameters RsFN TEXT;" & "Select * from the relief valve where P=[file name] RsFN")
RsFNFN=Dbff. The Parameters! RsFN
RsS=G_db. OpenRecordset (" select * from P relief valve ")
RsS! File name="FGFGDGDFGDGFDG" 'this line displays for readonly attribute Field
End Sub
The End of the Class
RsS! File name="FGFGDGDFGDGFDG" 'this line displays for readonly attribute Field, how to change to the "" file name" this Field increases the record?
"Dbff=G_db. CreateQueryDef (" "," the parameters RsFN TEXT;" & "Select * from the relief valve where P=[file name] RsFN"),,,,,,,,, this sentence what mean, whether to increase what statements, seems to be no place for RsFN assignment?
  • Related