![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Mar 2005
Posts: 25
Rep Power: 0
![]() |
Data Control
I am not sure if the soloution to my problem is simple, but all i want to do is make the data control display a record number generated by the VB rnd function. I can code the rnd bit but dont know how to display the record
Thanks |
|
|
|
|
|
#2 |
|
Expert Programmer
|
Because ADO is crap, or rather is one of the old DB APIs that abstract out everything from drivers, it can only make relative movement through a recordset so you cannot specify an absolute position without running a query. Either "SELECT * FROM SOMEWHERE WHERE ID = '" & cstr(Fix(rnd)) & "'" or if you don't have arbitrary tuples:
DB.MoveFirst DB.Move CLng(Fix(rnd)) ADO is out of date and was never any good anyway IMO. |
|
|
|
|
|
#3 |
|
Newbie
Join Date: Feb 2006
Posts: 1
Rep Power: 0
![]() |
I'm trying working with my database project using MS Excel. The records in
datagird connected to MS Excel is working and i used add some codes in order to add data in the data grid and it works. My problem is how would I delete a record in the data grid? Coz I used to provide one but my PC hung every time I test my Delete button. Any idea or source codes for this? Thanks |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|