Dear All,
I have question about control textbox.
example,
I have two textbox and have placed in the form(datasheet to show all table of data).
design layout if i use control source on the form such as the mention below
| number | status |
-------------------
| 1 | ok |
| 2 | ok |
but now there I want to make unbound for textbox,and without source to load table.
if i run, there only one row to show, so how to create with vba for control textbox like datasheet form to show all data. thanks
I have question about control textbox.
example,
I have two textbox and have placed in the form(datasheet to show all table of data).
design layout if i use control source on the form such as the mention below
| number | status |
-------------------
| 1 | ok |
| 2 | ok |
but now there I want to make unbound for textbox,and without source to load table.
Code:
----cut of code-- Set rs = New ADODB.Recordset rs.Open "select * from sample order by id", CurrentProject.Connection, adOpenStatic, adLockOptimistic Do While Not rs.EOF Me.text0 = rs!id Me.text1 = rs!status rs.MoveNext Loop
Comment