postingart
New member
- Local time
- Tomorrow, 03:29
- Joined
- Jun 27, 2021
- Messages
- 17
i want create report in ms access using vba programming ,
please vb6 code convert into VBA ms access programming thanks
strSql = "Select cityID,cityName From tblCityInfo Order by cityID"
Set adoRS = Database.executeQuery(strSql)
If adoRS.EOF <> True Then
With .Sections("Dmembers").Controls
.Item("txtCode").DataField = adoRS.Fields(0).Name
.Item("txtName").DataField = adoRS.Fields(1).Name
End With
DRAreaInfo.Show
end if
please vb6 code convert into VBA ms access programming thanks