Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 8th, 2003, 05:09 AM
surreydale surreydale is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 3 surreydale User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Access 2000 Forms

Im trying to design a form in Access 2000 which displays the result of a query in a datasheet view. The query is designed by the user at run-time, the results of the query will be displayed in a datasheet. However, when results are displayed in a datasheet view i cant add any buttons, text, combo boxes etc to the form.

Basically i have a list of customers in a database. I want the user to search for the records they need using controls on the form. Then the results to be shown in a datasheet below.

Any ideas?

Reply With Quote
  #2  
Old September 8th, 2003, 04:29 PM
siredge siredge is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Boise, ID
Posts: 9 siredge User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Do you need to be able to perform actions on more than one record at a time? If not, a lookup in the form header could be useful in performing the action desired.

Reply With Quote
  #3  
Old September 10th, 2003, 04:41 AM
surreydale surreydale is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 3 surreydale User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
No, I just need to view all the records returned as a result of a query - preferably in datasheet view. Only problem I found with datasheet view is that i cant see any of my buttons, combo's, text boxes etc, that i need on my form (for query input).

How would I do the lookup in the form header?

Reply With Quote
  #4  
Old September 12th, 2003, 04:56 PM
siredge siredge is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Boise, ID
Posts: 9 siredge User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Only got half of it working... Maybe someone else can step in and help me with the VB code. I have the combo box displaying entries from the table, but I'm having trouble with having the combo box change the entry being displayed.

To create the combo box lookup created, here's how:
In the form header,
1) Draw a combo box while the wizard is on.
2) The first step in the wizard should ask if you want to look up the values in a table or query. Select Next.
3) Select the table you would like to lookup from and click Next.
4) Select the fields you would like to look up amd click Next.
(I recommend then selecting Finish.)

You can then adjust this lookup to show just a lastname, firstname or such using SQL in the RowSource property.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Access 2000 Forms


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway