PC Review


Reply
Thread Tools Rate Thread

Access front end

 
 
=?Utf-8?B?dW5pcXVlZGI=?=
Guest
Posts: n/a
 
      30th Jan 2004
I have an Access 2002 database running off SQL 2K advance server back end. Within this database I need to have column A (example column or field A) upon selection of a specific criteria have column B or field B become a automatically filled column with whatever criteria I specify. Basically making that field a field that can not be edited based off the crieteria in field A otherwise you can change it or modify for all other reason or choices. So my question how do I do this in Access or SQL, which ever is easier? Help!

 
Reply With Quote
 
 
 
 
Larry Linson
Guest
Posts: n/a
 
      31st Jan 2004
Could you clarify? You lost me in there, somewhere.

And, where do you want this all to happen -- in a Form, in a Query, or ????

With a little more detail, someone can likely offer a suggestion.

Larry Linson
Microsoft Access MVP

"uniquedb" <(E-Mail Removed)> wrote in message
news:6B3D5A69-1E9F-4B23-832F-(E-Mail Removed)...
> I have an Access 2002 database running off SQL 2K advance server back end.

Within this database I need to have column A (example column or field A)
upon selection of a specific criteria have column B or field B become a
automatically filled column with whatever criteria I specify. Basically
making that field a field that can not be edited based off the crieteria in
field A otherwise you can change it or modify for all other reason or
choices. So my question how do I do this in Access or SQL, which ever is
easier? Help!
>



 
Reply With Quote
 
Chuck Wood
Guest
Posts: n/a
 
      2nd Feb 2004
If I understand you correctly, you can:
1. Make the ControlSource of a combo box (cboA) on your
form tied to field A.
2. Make a text box (txtB) on your form that is unbound.
3. In the AfterUpdate event procedure in cboA, use a SQL
query like "SELECT FieldB FROM Table1 WHERE FieldA='" &
cboA & "'" to get the correct value from FieldB.
4. Set the text box txtB to the value from the SQL query.


>-----Original Message-----
>I have an Access 2002 database running off SQL 2K advance

server back end. Within this database I need to have
column A (example column or field A) upon selection of a
specific criteria have column B or field B become a
automatically filled column with whatever criteria I
specify. Basically making that field a field that can not
be edited based off the crieteria in field A otherwise you
can change it or modify for all other reason or choices.
So my question how do I do this in Access or SQL, which
ever is easier? Help!
>
>.
>

 
Reply With Quote
 
=?Utf-8?B?dW5pcXVlZGI=?=
Guest
Posts: n/a
 
      5th Feb 2004
I would like for this operation to happen on the form. When they open this database up via the form, there is a field that is tied to a table with a column of course, but within this column certain data information entered should be set to automatically fill column or field a but the data that I specify but make this field read only based off that criteria that I have defined. I would like have the operation that does this done in the design but have the users actually see the results of it on the form when the select it or choice that option. I hope this helps some.
 
Reply With Quote
 
=?Utf-8?B?dW5pcXVlZGI=?=
Guest
Posts: n/a
 
      5th Feb 2004
If I do as you suggest, does that make the field that I have just made to auto populate become a read only type field or a field that the user can not edit based off that criteria?

----- Chuck Wood wrote: -----

If I understand you correctly, you can:
1. Make the ControlSource of a combo box (cboA) on your
form tied to field A.
2. Make a text box (txtB) on your form that is unbound.
3. In the AfterUpdate event procedure in cboA, use a SQL
query like "SELECT FieldB FROM Table1 WHERE FieldA='" &
cboA & "'" to get the correct value from FieldB.
4. Set the text box txtB to the value from the SQL query.


>-----Original Message-----
>I have an Access 2002 database running off SQL 2K advance

server back end. Within this database I need to have
column A (example column or field A) upon selection of a
specific criteria have column B or field B become a
automatically filled column with whatever criteria I
specify. Basically making that field a field that can not
be edited based off the crieteria in field A otherwise you
can change it or modify for all other reason or choices.
So my question how do I do this in Access or SQL, which
ever is easier? Help!
>>.

>

 
Reply With Quote
 
 
 
Reply

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access 2000 DB for multiple users with access 2007 front end clien Nicolas Heyer Microsoft Access 2 12th Dec 2008 10:17 PM
Access 2007-can each front end user have a different front end? Billiam Microsoft Access 5 14th Aug 2008 04:29 AM
Use or convert- Access 97 backend with Access 2003 runtime front e =?Utf-8?B?SnVkeQ==?= Microsoft Access VBA Modules 1 10th Nov 2006 01:26 AM
access front-end with remote access back-end database jean-luc Microsoft Access 0 3rd Mar 2004 10:34 AM
Linking Access 2000 tables to Access 97 Front end Moiz Microsoft Access External Data 1 25th Dec 2003 08:32 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:07 PM.