A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

When to base a form on a table?



 
 
Thread Tools Display Modes
  #1  
Old April 28th, 2004, 11:45 AM
Brian C
external usenet poster
 
Posts: n/a
Default When to base a form on a table?

Relating to my earlier post on suppressing record
scrolling on a form how do you decide whether to base a
form on a table or not?

If I have a form where a user will enter data that returns
a specific record from a table should I base this form
upon a table? Or just write some SQL to get the specific
data and attach it to an event on the form?

Thanks
  #2  
Old April 28th, 2004, 04:06 PM
Chris Nebinger
external usenet poster
 
Posts: n/a
Default When to base a form on a table?

I would limit the recordsource to the one record you want
to return. Otherwise, you have to populate unbound
controls and handle all the updating. Too much work.

You can open the form using the wherecondition clause:

DoCmd.OpenForm "frmInput",,,"ProductID=1"


Chris Nebinger

-----Original Message-----
Relating to my earlier post on suppressing record
scrolling on a form how do you decide whether to base a
form on a table or not?

If I have a form where a user will enter data that

returns
a specific record from a table should I base this form
upon a table? Or just write some SQL to get the specific
data and attach it to an event on the form?

Thanks
.

 




Thread Tools
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
Forum Jump


All times are GMT +1. The time now is 06:22 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.