p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > Microsoft Office > Access and Access VBA > Access VBA
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Access VBA Discuss using VBA for Access programming.

Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 7th, 2006, 11:35 AM
Registered User
 
Join Date: Aug 2006
Location: Northampton, , United Kingdom.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Replacing field names in datasheet

Form with ListBox on LHS, a subform in datasheet view in the middle and 3 cmdBtns on RHS.

User has imported an Excel table, visible in subform datasheet, with no headers. ‘Headers’ or FieldNames attached by Access are F1, F2……etc. and are visible as column ‘headers’ in subform datasheet.

User must now select a ‘standard header’ from the list box on the LHS, click a ‘Header’ in the datasheet e.g. F2 and click 1 of 3 cmdBtns either to attach the new header, remove a mistake or delete a column from the subform.

Please can anyone help in writing the VBA to the cmdBtn click events?

Regards

Phil
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old August 10th, 2006, 01:47 PM
Friend of Wrox
Points: 9,516, Level: 42
Points: 9,516, Level: 42 Points: 9,516, Level: 42 Points: 9,516, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,060
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Can you explain what you need?

mmcdonal
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
XSLT For Each - Field Names lahatfield XSLT 6 May 15th, 2007 07:33 AM
Datasheet view of a Query - Field Format arfa Access 4 March 13th, 2006 12:34 PM
Get Field Names fizzerchris Classic ASP Databases 1 February 25th, 2006 05:06 AM
Dynamic Datasheet Form Field Headings Wrong pkaptein1 Access 1 June 12th, 2005 12:33 PM
replacing querystrings with fake page names mase912 C# 0 November 24th, 2004 04:47 AM



All times are GMT -4. The time now is 07:43 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc