Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Closed Thread
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 16th, 2004, 02:07 PM
Authorized User
Join Date: Jun 2003
Location: Glendale, AZ, USA.
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
Default Datasheet View - Customize

I have an application that requires complete control over a subform in datasheet view. Here are a couple of items I'm having a hard time implementing. My first thought was to use a list box control, but I need the power of moving columns, sorting and filtering that the subform allows. The data is not editable.

   If possible, I would like to limit the user to only selecting a single record at a time.

   The recordsource is based on an ADO recordset extracted via a SQL Server stored procedure and there seems to be some issues with using the bookmark property of the form object after the form is set to the ADO recordset. Here is what I'm trying to accomplish. If there are 1000 records in the subform and I scroll down to record 587 and delete it, when the form is requeried, I can't find a way to return focus to record 586. I've tried the bookmark property, absoluteposition, currentrecord(form object), percentposition. Any ideas?

   I would like to simulate the highlighting of a single row when the user moves the focus to a different row...just like in a list box. If you click in a field, press F2 and then Shift+space, the row will highlight. I tried using sendkeys in various events, but the end results were never correct.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
reading a dataset into a form in datasheet view jd_erd Access 2 January 29th, 2007 04:26 PM
Datasheet view of a Query - Field Format arfa Access 4 March 13th, 2006 12:34 PM
Re: Add button on a form with datasheet view lxu Access 5 March 8th, 2004 06:19 PM
Datasheet View Auto Highlight a Row Dataman Access VBA 0 February 15th, 2004 11:16 AM

All times are GMT -4. The time now is 11:33 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.