Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use text boxes instead of continuous form

Status
Not open for further replies.

simbolosam

Programmer
Apr 29, 2005
2
GB
Hello, I am using a form for a touch screen and need a continuous form; however because its a touch screen a forms scroll bars are too narrow (I dont want to change the windows scrollbar sizes); and a listbox is also too narrow even with large fonts (scrollbar still small).

The only thing I can think of is a say 5 rows of text boxes from which code would populate the values of; then I could add command buttons which would 'scroll' the data just by moving the records along the 5 rows. Im sure this can be done but I have no idea how.

Or perhaps like on google would, to diplay the first 5 records in a continous form (so there wouldn't be scrolling) but have "50 results; displaying 1 to 5; Next Page >" which would be okay but I dont know how to make a query return the first 5 records; then the next 5 etc etc.

Any ideas?

cheers. Sam.
 
Sam,

Take a look at the methods available to the Recordset object. In particular: RecordCount, AbsolutePosition, Bookmark, and Move. Also take a look at the GoToRecord method of DoCmd. Those should give you some ideas of how to navigate within your recordset.

HTH,

Ken S.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top