Pull form in view mode from drop down menu

N

Natasha

My switchboard contains a button that when pressed, will run a macro to open
up a dialog box. Once the user chooses an option in a dialog box, I would
like for the form containing only that chosen record, to pop up as a result
of their search. I would like for the form to open up only in view mode,
where they cannot add or edit. How can I do this?
 
N

Natasha

Hi Ryan,

No, I would like them to view the form. My form contains a lot of
information, and I want them to be able to view the form in its entirety when
opened. So for example, if they search for company ABC, I want the database
to pull all records to where "company ABC" is in it. Or if they want to see
all of the companies that manufacture red balls, Access would display only 5
out of 25 records (if there are 5 companies out of 25 that manufacture red
balls_ - something of that sort. I tried putting all of the information in
report form, but it just didn't look like I wanted it to. So I figured that
just them viewing the form (not in add or edit mode) would work best.

ryguy7272 said:
Why is it a Form? Do you really mean to display your data in a Report. You
may find this t be helpful:
http://www.fontstuff.com/access/acctut19.htm

Download and run this file at the bottom of the page to see how it works:
AccessAndSQL6_2000.zip [115KB]


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


Natasha said:
My switchboard contains a button that when pressed, will run a macro to open
up a dialog box. Once the user chooses an option in a dialog box, I would
like for the form containing only that chosen record, to pop up as a result
of their search. I would like for the form to open up only in view mode,
where they cannot add or edit. How can I do this?
 
R

RyGuy

I think there was a problem with my last attempt to post. This may be a
double. . .
Aaahhhhhh, I think I get it now. I think this is what you want:

Hope that helps!!


Natasha said:
Hi Ryan,

No, I would like them to view the form. My form contains a lot of
information, and I want them to be able to view the form in its entirety when
opened. So for example, if they search for company ABC, I want the database
to pull all records to where "company ABC" is in it. Or if they want to see
all of the companies that manufacture red balls, Access would display only 5
out of 25 records (if there are 5 companies out of 25 that manufacture red
balls_ - something of that sort. I tried putting all of the information in
report form, but it just didn't look like I wanted it to. So I figured that
just them viewing the form (not in add or edit mode) would work best.

ryguy7272 said:
Why is it a Form? Do you really mean to display your data in a Report. You
may find this t be helpful:
http://www.fontstuff.com/access/acctut19.htm

Download and run this file at the bottom of the page to see how it works:
AccessAndSQL6_2000.zip [115KB]


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


Natasha said:
My switchboard contains a button that when pressed, will run a macro to open
up a dialog box. Once the user chooses an option in a dialog box, I would
like for the form containing only that chosen record, to pop up as a result
of their search. I would like for the form to open up only in view mode,
where they cannot add or edit. How can I do this?
 
N

Natasha

Good morning! I watched all three Youtube videos, and it still isn't quite
what I am looking for. Rather than create a subform, I would like for users
to be able to view only records that they may want to see - in form view of
the form. So for example:

1.) Let's say that I have a United States Database with 50 records - each
record contains information about each state (i.e. population, state bird,
sports teams, governor's name, etc.)
2.) Once the database is opened, the user will go to a switchboard, and
they will choose what they want to search for. Pressing any "search for"
button will run a macro that will lead them to a drop down menu for that
category.

Now let's say that the user wants to see all records where the governor's
name is John Smith, and there are 5 states whose governor's name is John
Smith. How do I get Access to show me only those 5 records (in form view),
to where they can ONLY view and not edit or add?

RyGuy said:
I think there was a problem with my last attempt to post. This may be a
double. . .
Aaahhhhhh, I think I get it now. I think this is what you want:

Hope that helps!!


Natasha said:
Hi Ryan,

No, I would like them to view the form. My form contains a lot of
information, and I want them to be able to view the form in its entirety when
opened. So for example, if they search for company ABC, I want the database
to pull all records to where "company ABC" is in it. Or if they want to see
all of the companies that manufacture red balls, Access would display only 5
out of 25 records (if there are 5 companies out of 25 that manufacture red
balls_ - something of that sort. I tried putting all of the information in
report form, but it just didn't look like I wanted it to. So I figured that
just them viewing the form (not in add or edit mode) would work best.

ryguy7272 said:
Why is it a Form? Do you really mean to display your data in a Report. You
may find this t be helpful:
http://www.fontstuff.com/access/acctut19.htm

Download and run this file at the bottom of the page to see how it works:
AccessAndSQL6_2000.zip [115KB]


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


:

My switchboard contains a button that when pressed, will run a macro to open
up a dialog box. Once the user chooses an option in a dialog box, I would
like for the form containing only that chosen record, to pop up as a result
of their search. I would like for the form to open up only in view mode,
where they cannot add or edit. How can I do this?
 
R

ryguy7272

Ah yes, ‘only in view mode’. You mentioned that in your first post and I
neglected to answer that. This is how you make a Form read-only:
1. Open the form in Design View
2. Double-click the Form Selector (to open the form's property sheet).
3. In the AllowEdits property box, click No.
4. In the AllowDeletions property box, click No.
5. In the AllowAdditions property box, click No.

As for the rest, it will take a bit of work on your part. Look at the
sample here.
http://www.databasedev.co.uk/text_search.html

Download from here:
http://www.databasedev.co.uk/downloads.html

The file’s name is ‘How to create a simple text search facility’


Maybe that will give you some additional ideas. I still think you will need
a SubForm as well.



--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


Natasha said:
Good morning! I watched all three Youtube videos, and it still isn't quite
what I am looking for. Rather than create a subform, I would like for users
to be able to view only records that they may want to see - in form view of
the form. So for example:

1.) Let's say that I have a United States Database with 50 records - each
record contains information about each state (i.e. population, state bird,
sports teams, governor's name, etc.)
2.) Once the database is opened, the user will go to a switchboard, and
they will choose what they want to search for. Pressing any "search for"
button will run a macro that will lead them to a drop down menu for that
category.

Now let's say that the user wants to see all records where the governor's
name is John Smith, and there are 5 states whose governor's name is John
Smith. How do I get Access to show me only those 5 records (in form view),
to where they can ONLY view and not edit or add?

RyGuy said:
I think there was a problem with my last attempt to post. This may be a
double. . .
Aaahhhhhh, I think I get it now. I think this is what you want:

Hope that helps!!


Natasha said:
Hi Ryan,

No, I would like them to view the form. My form contains a lot of
information, and I want them to be able to view the form in its entirety when
opened. So for example, if they search for company ABC, I want the database
to pull all records to where "company ABC" is in it. Or if they want to see
all of the companies that manufacture red balls, Access would display only 5
out of 25 records (if there are 5 companies out of 25 that manufacture red
balls_ - something of that sort. I tried putting all of the information in
report form, but it just didn't look like I wanted it to. So I figured that
just them viewing the form (not in add or edit mode) would work best.

:

Why is it a Form? Do you really mean to display your data in a Report. You
may find this t be helpful:
http://www.fontstuff.com/access/acctut19.htm

Download and run this file at the bottom of the page to see how it works:
AccessAndSQL6_2000.zip [115KB]


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


:

My switchboard contains a button that when pressed, will run a macro to open
up a dialog box. Once the user chooses an option in a dialog box, I would
like for the form containing only that chosen record, to pop up as a result
of their search. I would like for the form to open up only in view mode,
where they cannot add or edit. How can I do this?
 
N

Natasha

Good morning! Okay, I think that might work! I will try and let you know.
Thank you! ;o)

ryguy7272 said:
Ah yes, ‘only in view mode’. You mentioned that in your first post and I
neglected to answer that. This is how you make a Form read-only:
1. Open the form in Design View
2. Double-click the Form Selector (to open the form's property sheet).
3. In the AllowEdits property box, click No.
4. In the AllowDeletions property box, click No.
5. In the AllowAdditions property box, click No.

As for the rest, it will take a bit of work on your part. Look at the
sample here.
http://www.databasedev.co.uk/text_search.html

Download from here:
http://www.databasedev.co.uk/downloads.html

The file’s name is ‘How to create a simple text search facility’


Maybe that will give you some additional ideas. I still think you will need
a SubForm as well.



--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


Natasha said:
Good morning! I watched all three Youtube videos, and it still isn't quite
what I am looking for. Rather than create a subform, I would like for users
to be able to view only records that they may want to see - in form view of
the form. So for example:

1.) Let's say that I have a United States Database with 50 records - each
record contains information about each state (i.e. population, state bird,
sports teams, governor's name, etc.)
2.) Once the database is opened, the user will go to a switchboard, and
they will choose what they want to search for. Pressing any "search for"
button will run a macro that will lead them to a drop down menu for that
category.

Now let's say that the user wants to see all records where the governor's
name is John Smith, and there are 5 states whose governor's name is John
Smith. How do I get Access to show me only those 5 records (in form view),
to where they can ONLY view and not edit or add?

RyGuy said:
I think there was a problem with my last attempt to post. This may be a
double. . .
Aaahhhhhh, I think I get it now. I think this is what you want:

Hope that helps!!


:

Hi Ryan,

No, I would like them to view the form. My form contains a lot of
information, and I want them to be able to view the form in its entirety when
opened. So for example, if they search for company ABC, I want the database
to pull all records to where "company ABC" is in it. Or if they want to see
all of the companies that manufacture red balls, Access would display only 5
out of 25 records (if there are 5 companies out of 25 that manufacture red
balls_ - something of that sort. I tried putting all of the information in
report form, but it just didn't look like I wanted it to. So I figured that
just them viewing the form (not in add or edit mode) would work best.

:

Why is it a Form? Do you really mean to display your data in a Report. You
may find this t be helpful:
http://www.fontstuff.com/access/acctut19.htm

Download and run this file at the bottom of the page to see how it works:
AccessAndSQL6_2000.zip [115KB]


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


:

My switchboard contains a button that when pressed, will run a macro to open
up a dialog box. Once the user chooses an option in a dialog box, I would
like for the form containing only that chosen record, to pop up as a result
of their search. I would like for the form to open up only in view mode,
where they cannot add or edit. How can I do this?
 
N

Natasha

Hi Ryan,

I am sooo close to making this thing work. I tried making the subform and I
tried to carefully follow the instructions that you wrote out below, but it
just did not work. What code can I enter into the Code Builder for the "OK"
button in my dialog box with my drop-down menus so that when users click
"OK", after choosing what they want on the drop down menu, that only the
records that apply to their search will show up, but in form view of the
form? I can lock the form so that they can't make any changes. My form view
is really nice, and I just want users to be able to see all of the
information on there.

ryguy7272 said:
Ah yes, ‘only in view mode’. You mentioned that in your first post and I
neglected to answer that. This is how you make a Form read-only:
1. Open the form in Design View
2. Double-click the Form Selector (to open the form's property sheet).
3. In the AllowEdits property box, click No.
4. In the AllowDeletions property box, click No.
5. In the AllowAdditions property box, click No.

As for the rest, it will take a bit of work on your part. Look at the
sample here.
http://www.databasedev.co.uk/text_search.html

Download from here:
http://www.databasedev.co.uk/downloads.html

The file’s name is ‘How to create a simple text search facility’


Maybe that will give you some additional ideas. I still think you will need
a SubForm as well.



--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


Natasha said:
Good morning! I watched all three Youtube videos, and it still isn't quite
what I am looking for. Rather than create a subform, I would like for users
to be able to view only records that they may want to see - in form view of
the form. So for example:

1.) Let's say that I have a United States Database with 50 records - each
record contains information about each state (i.e. population, state bird,
sports teams, governor's name, etc.)
2.) Once the database is opened, the user will go to a switchboard, and
they will choose what they want to search for. Pressing any "search for"
button will run a macro that will lead them to a drop down menu for that
category.

Now let's say that the user wants to see all records where the governor's
name is John Smith, and there are 5 states whose governor's name is John
Smith. How do I get Access to show me only those 5 records (in form view),
to where they can ONLY view and not edit or add?

RyGuy said:
I think there was a problem with my last attempt to post. This may be a
double. . .
Aaahhhhhh, I think I get it now. I think this is what you want:

Hope that helps!!


:

Hi Ryan,

No, I would like them to view the form. My form contains a lot of
information, and I want them to be able to view the form in its entirety when
opened. So for example, if they search for company ABC, I want the database
to pull all records to where "company ABC" is in it. Or if they want to see
all of the companies that manufacture red balls, Access would display only 5
out of 25 records (if there are 5 companies out of 25 that manufacture red
balls_ - something of that sort. I tried putting all of the information in
report form, but it just didn't look like I wanted it to. So I figured that
just them viewing the form (not in add or edit mode) would work best.

:

Why is it a Form? Do you really mean to display your data in a Report. You
may find this t be helpful:
http://www.fontstuff.com/access/acctut19.htm

Download and run this file at the bottom of the page to see how it works:
AccessAndSQL6_2000.zip [115KB]


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


:

My switchboard contains a button that when pressed, will run a macro to open
up a dialog box. Once the user chooses an option in a dialog box, I would
like for the form containing only that chosen record, to pop up as a result
of their search. I would like for the form to open up only in view mode,
where they cannot add or edit. How can I do this?
 
R

ryguy7272

I’m not exactly sure where you are with things now, but I’ll try to walk you
through it. Can you create a Macro to do what you want to do? All you have
to do is modify the code, so it does exactly what you need, and fire the
code, right. Make that part work, then create a button on your Form >
right-click > Miscellaneous > Run Macro > click the name of your Macro > Next
Next > Finish. Form View then run your Macro. Does that work? In Design
View, you can click Build Event and then you will see the code that the
button is linked to. If you don’t want to create a Macro, just modify the
code and point the button straight to the code; Button Cancel > right-click >
Build Event > Code Builder ok . . . that needs to point to your code.

Try that, and experiment a bit, and see how you get along. I think you have
everything you need to make it work. It’s thrilling to see it work for the
very first time! For the more general things, usually you have to figure
these out on your own, but if you have a specific question post back with the
details.


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


Natasha said:
Hi Ryan,

I am sooo close to making this thing work. I tried making the subform and I
tried to carefully follow the instructions that you wrote out below, but it
just did not work. What code can I enter into the Code Builder for the "OK"
button in my dialog box with my drop-down menus so that when users click
"OK", after choosing what they want on the drop down menu, that only the
records that apply to their search will show up, but in form view of the
form? I can lock the form so that they can't make any changes. My form view
is really nice, and I just want users to be able to see all of the
information on there.

ryguy7272 said:
Ah yes, ‘only in view mode’. You mentioned that in your first post and I
neglected to answer that. This is how you make a Form read-only:
1. Open the form in Design View
2. Double-click the Form Selector (to open the form's property sheet).
3. In the AllowEdits property box, click No.
4. In the AllowDeletions property box, click No.
5. In the AllowAdditions property box, click No.

As for the rest, it will take a bit of work on your part. Look at the
sample here.
http://www.databasedev.co.uk/text_search.html

Download from here:
http://www.databasedev.co.uk/downloads.html

The file’s name is ‘How to create a simple text search facility’


Maybe that will give you some additional ideas. I still think you will need
a SubForm as well.



--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


Natasha said:
Good morning! I watched all three Youtube videos, and it still isn't quite
what I am looking for. Rather than create a subform, I would like for users
to be able to view only records that they may want to see - in form view of
the form. So for example:

1.) Let's say that I have a United States Database with 50 records - each
record contains information about each state (i.e. population, state bird,
sports teams, governor's name, etc.)
2.) Once the database is opened, the user will go to a switchboard, and
they will choose what they want to search for. Pressing any "search for"
button will run a macro that will lead them to a drop down menu for that
category.

Now let's say that the user wants to see all records where the governor's
name is John Smith, and there are 5 states whose governor's name is John
Smith. How do I get Access to show me only those 5 records (in form view),
to where they can ONLY view and not edit or add?

:

I think there was a problem with my last attempt to post. This may be a
double. . .
Aaahhhhhh, I think I get it now. I think this is what you want:

Hope that helps!!


:

Hi Ryan,

No, I would like them to view the form. My form contains a lot of
information, and I want them to be able to view the form in its entirety when
opened. So for example, if they search for company ABC, I want the database
to pull all records to where "company ABC" is in it. Or if they want to see
all of the companies that manufacture red balls, Access would display only 5
out of 25 records (if there are 5 companies out of 25 that manufacture red
balls_ - something of that sort. I tried putting all of the information in
report form, but it just didn't look like I wanted it to. So I figured that
just them viewing the form (not in add or edit mode) would work best.

:

Why is it a Form? Do you really mean to display your data in a Report. You
may find this t be helpful:
http://www.fontstuff.com/access/acctut19.htm

Download and run this file at the bottom of the page to see how it works:
AccessAndSQL6_2000.zip [115KB]


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


:

My switchboard contains a button that when pressed, will run a macro to open
up a dialog box. Once the user chooses an option in a dialog box, I would
like for the form containing only that chosen record, to pop up as a result
of their search. I would like for the form to open up only in view mode,
where they cannot add or edit. How can I do this?
 
N

Natasha

I cannot thank you enough for all of your help on this. I am so close to
being able to roll out this thing, and it is so frustrating because I can't
figure this last part out. I created a macro, but I can't get it to do
exactly what I need it to do. Once the user chooses a company from the
drop-down menu, and clicks okay, the macro will lead it to the read-only
form...which is what I want it to do, but I want Access to lead it to the
form that contains what the user is looking for. This is what it says at the
bottom of the macro screen:

Form Name - frmPrimQACont
View - Form
Filter Name - (nothing written)
Where Condition - (nothing written)
Data Mode - Read Only
Window Mode - Normal


What else do I put in there to tell the macro to lead the user to the
form(s) that contains the selection that they chose in the drop-down menu?



ryguy7272 said:
I’m not exactly sure where you are with things now, but I’ll try to walk you
through it. Can you create a Macro to do what you want to do? All you have
to do is modify the code, so it does exactly what you need, and fire the
code, right. Make that part work, then create a button on your Form >
right-click > Miscellaneous > Run Macro > click the name of your Macro > Next
Next > Finish. Form View then run your Macro. Does that work? In Design
View, you can click Build Event and then you will see the code that the
button is linked to. If you don’t want to create a Macro, just modify the
code and point the button straight to the code; Button Cancel > right-click >
Build Event > Code Builder ok . . . that needs to point to your code.

Try that, and experiment a bit, and see how you get along. I think you have
everything you need to make it work. It’s thrilling to see it work for the
very first time! For the more general things, usually you have to figure
these out on your own, but if you have a specific question post back with the
details.


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


Natasha said:
Hi Ryan,

I am sooo close to making this thing work. I tried making the subform and I
tried to carefully follow the instructions that you wrote out below, but it
just did not work. What code can I enter into the Code Builder for the "OK"
button in my dialog box with my drop-down menus so that when users click
"OK", after choosing what they want on the drop down menu, that only the
records that apply to their search will show up, but in form view of the
form? I can lock the form so that they can't make any changes. My form view
is really nice, and I just want users to be able to see all of the
information on there.

ryguy7272 said:
Ah yes, ‘only in view mode’. You mentioned that in your first post and I
neglected to answer that. This is how you make a Form read-only:
1. Open the form in Design View
2. Double-click the Form Selector (to open the form's property sheet).
3. In the AllowEdits property box, click No.
4. In the AllowDeletions property box, click No.
5. In the AllowAdditions property box, click No.

As for the rest, it will take a bit of work on your part. Look at the
sample here.
http://www.databasedev.co.uk/text_search.html

Download from here:
http://www.databasedev.co.uk/downloads.html

The file’s name is ‘How to create a simple text search facility’


Maybe that will give you some additional ideas. I still think you will need
a SubForm as well.



--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


:

Good morning! I watched all three Youtube videos, and it still isn't quite
what I am looking for. Rather than create a subform, I would like for users
to be able to view only records that they may want to see - in form view of
the form. So for example:

1.) Let's say that I have a United States Database with 50 records - each
record contains information about each state (i.e. population, state bird,
sports teams, governor's name, etc.)
2.) Once the database is opened, the user will go to a switchboard, and
they will choose what they want to search for. Pressing any "search for"
button will run a macro that will lead them to a drop down menu for that
category.

Now let's say that the user wants to see all records where the governor's
name is John Smith, and there are 5 states whose governor's name is John
Smith. How do I get Access to show me only those 5 records (in form view),
to where they can ONLY view and not edit or add?

:

I think there was a problem with my last attempt to post. This may be a
double. . .
Aaahhhhhh, I think I get it now. I think this is what you want:

Hope that helps!!


:

Hi Ryan,

No, I would like them to view the form. My form contains a lot of
information, and I want them to be able to view the form in its entirety when
opened. So for example, if they search for company ABC, I want the database
to pull all records to where "company ABC" is in it. Or if they want to see
all of the companies that manufacture red balls, Access would display only 5
out of 25 records (if there are 5 companies out of 25 that manufacture red
balls_ - something of that sort. I tried putting all of the information in
report form, but it just didn't look like I wanted it to. So I figured that
just them viewing the form (not in add or edit mode) would work best.

:

Why is it a Form? Do you really mean to display your data in a Report. You
may find this t be helpful:
http://www.fontstuff.com/access/acctut19.htm

Download and run this file at the bottom of the page to see how it works:
AccessAndSQL6_2000.zip [115KB]


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


:

My switchboard contains a button that when pressed, will run a macro to open
up a dialog box. Once the user chooses an option in a dialog box, I would
like for the form containing only that chosen record, to pop up as a result
of their search. I would like for the form to open up only in view mode,
where they cannot add or edit. How can I do this?
 
N

Natasha

I meant to say, how can I get Access to lead it to just the records that
contain what the user chose in the drop-down menu.

Natasha said:
I cannot thank you enough for all of your help on this. I am so close to
being able to roll out this thing, and it is so frustrating because I can't
figure this last part out. I created a macro, but I can't get it to do
exactly what I need it to do. Once the user chooses a company from the
drop-down menu, and clicks okay, the macro will lead it to the read-only
form...which is what I want it to do, but I want Access to lead it to the
form that contains what the user is looking for. This is what it says at the
bottom of the macro screen:

Form Name - frmPrimQACont
View - Form
Filter Name - (nothing written)
Where Condition - (nothing written)
Data Mode - Read Only
Window Mode - Normal


What else do I put in there to tell the macro to lead the user to the
form(s) that contains the selection that they chose in the drop-down menu?



ryguy7272 said:
I’m not exactly sure where you are with things now, but I’ll try to walk you
through it. Can you create a Macro to do what you want to do? All you have
to do is modify the code, so it does exactly what you need, and fire the
code, right. Make that part work, then create a button on your Form >
right-click > Miscellaneous > Run Macro > click the name of your Macro > Next
Next > Finish. Form View then run your Macro. Does that work? In Design
View, you can click Build Event and then you will see the code that the
button is linked to. If you don’t want to create a Macro, just modify the
code and point the button straight to the code; Button Cancel > right-click >
Build Event > Code Builder ok . . . that needs to point to your code.

Try that, and experiment a bit, and see how you get along. I think you have
everything you need to make it work. It’s thrilling to see it work for the
very first time! For the more general things, usually you have to figure
these out on your own, but if you have a specific question post back with the
details.


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


Natasha said:
Hi Ryan,

I am sooo close to making this thing work. I tried making the subform and I
tried to carefully follow the instructions that you wrote out below, but it
just did not work. What code can I enter into the Code Builder for the "OK"
button in my dialog box with my drop-down menus so that when users click
"OK", after choosing what they want on the drop down menu, that only the
records that apply to their search will show up, but in form view of the
form? I can lock the form so that they can't make any changes. My form view
is really nice, and I just want users to be able to see all of the
information on there.

:

Ah yes, ‘only in view mode’. You mentioned that in your first post and I
neglected to answer that. This is how you make a Form read-only:
1. Open the form in Design View
2. Double-click the Form Selector (to open the form's property sheet).
3. In the AllowEdits property box, click No.
4. In the AllowDeletions property box, click No.
5. In the AllowAdditions property box, click No.

As for the rest, it will take a bit of work on your part. Look at the
sample here.
http://www.databasedev.co.uk/text_search.html

Download from here:
http://www.databasedev.co.uk/downloads.html

The file’s name is ‘How to create a simple text search facility’


Maybe that will give you some additional ideas. I still think you will need
a SubForm as well.



--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


:

Good morning! I watched all three Youtube videos, and it still isn't quite
what I am looking for. Rather than create a subform, I would like for users
to be able to view only records that they may want to see - in form view of
the form. So for example:

1.) Let's say that I have a United States Database with 50 records - each
record contains information about each state (i.e. population, state bird,
sports teams, governor's name, etc.)
2.) Once the database is opened, the user will go to a switchboard, and
they will choose what they want to search for. Pressing any "search for"
button will run a macro that will lead them to a drop down menu for that
category.

Now let's say that the user wants to see all records where the governor's
name is John Smith, and there are 5 states whose governor's name is John
Smith. How do I get Access to show me only those 5 records (in form view),
to where they can ONLY view and not edit or add?

:

I think there was a problem with my last attempt to post. This may be a
double. . .
Aaahhhhhh, I think I get it now. I think this is what you want:

Hope that helps!!


:

Hi Ryan,

No, I would like them to view the form. My form contains a lot of
information, and I want them to be able to view the form in its entirety when
opened. So for example, if they search for company ABC, I want the database
to pull all records to where "company ABC" is in it. Or if they want to see
all of the companies that manufacture red balls, Access would display only 5
out of 25 records (if there are 5 companies out of 25 that manufacture red
balls_ - something of that sort. I tried putting all of the information in
report form, but it just didn't look like I wanted it to. So I figured that
just them viewing the form (not in add or edit mode) would work best.

:

Why is it a Form? Do you really mean to display your data in a Report. You
may find this t be helpful:
http://www.fontstuff.com/access/acctut19.htm

Download and run this file at the bottom of the page to see how it works:
AccessAndSQL6_2000.zip [115KB]


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


:

My switchboard contains a button that when pressed, will run a macro to open
up a dialog box. Once the user chooses an option in a dialog box, I would
like for the form containing only that chosen record, to pop up as a result
of their search. I would like for the form to open up only in view mode,
where they cannot add or edit. How can I do this?
 
N

Natasha

I figured it out!!!!!!!!!!! It works soo well. I am now just making it look
pretty....and I will be able to publish it. Thank you for all of your help!

ryguy7272 said:
I’m not exactly sure where you are with things now, but I’ll try to walk you
through it. Can you create a Macro to do what you want to do? All you have
to do is modify the code, so it does exactly what you need, and fire the
code, right. Make that part work, then create a button on your Form >
right-click > Miscellaneous > Run Macro > click the name of your Macro > Next
Next > Finish. Form View then run your Macro. Does that work? In Design
View, you can click Build Event and then you will see the code that the
button is linked to. If you don’t want to create a Macro, just modify the
code and point the button straight to the code; Button Cancel > right-click >
Build Event > Code Builder ok . . . that needs to point to your code.

Try that, and experiment a bit, and see how you get along. I think you have
everything you need to make it work. It’s thrilling to see it work for the
very first time! For the more general things, usually you have to figure
these out on your own, but if you have a specific question post back with the
details.


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


Natasha said:
Hi Ryan,

I am sooo close to making this thing work. I tried making the subform and I
tried to carefully follow the instructions that you wrote out below, but it
just did not work. What code can I enter into the Code Builder for the "OK"
button in my dialog box with my drop-down menus so that when users click
"OK", after choosing what they want on the drop down menu, that only the
records that apply to their search will show up, but in form view of the
form? I can lock the form so that they can't make any changes. My form view
is really nice, and I just want users to be able to see all of the
information on there.

ryguy7272 said:
Ah yes, ‘only in view mode’. You mentioned that in your first post and I
neglected to answer that. This is how you make a Form read-only:
1. Open the form in Design View
2. Double-click the Form Selector (to open the form's property sheet).
3. In the AllowEdits property box, click No.
4. In the AllowDeletions property box, click No.
5. In the AllowAdditions property box, click No.

As for the rest, it will take a bit of work on your part. Look at the
sample here.
http://www.databasedev.co.uk/text_search.html

Download from here:
http://www.databasedev.co.uk/downloads.html

The file’s name is ‘How to create a simple text search facility’


Maybe that will give you some additional ideas. I still think you will need
a SubForm as well.



--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


:

Good morning! I watched all three Youtube videos, and it still isn't quite
what I am looking for. Rather than create a subform, I would like for users
to be able to view only records that they may want to see - in form view of
the form. So for example:

1.) Let's say that I have a United States Database with 50 records - each
record contains information about each state (i.e. population, state bird,
sports teams, governor's name, etc.)
2.) Once the database is opened, the user will go to a switchboard, and
they will choose what they want to search for. Pressing any "search for"
button will run a macro that will lead them to a drop down menu for that
category.

Now let's say that the user wants to see all records where the governor's
name is John Smith, and there are 5 states whose governor's name is John
Smith. How do I get Access to show me only those 5 records (in form view),
to where they can ONLY view and not edit or add?

:

I think there was a problem with my last attempt to post. This may be a
double. . .
Aaahhhhhh, I think I get it now. I think this is what you want:

Hope that helps!!


:

Hi Ryan,

No, I would like them to view the form. My form contains a lot of
information, and I want them to be able to view the form in its entirety when
opened. So for example, if they search for company ABC, I want the database
to pull all records to where "company ABC" is in it. Or if they want to see
all of the companies that manufacture red balls, Access would display only 5
out of 25 records (if there are 5 companies out of 25 that manufacture red
balls_ - something of that sort. I tried putting all of the information in
report form, but it just didn't look like I wanted it to. So I figured that
just them viewing the form (not in add or edit mode) would work best.

:

Why is it a Form? Do you really mean to display your data in a Report. You
may find this t be helpful:
http://www.fontstuff.com/access/acctut19.htm

Download and run this file at the bottom of the page to see how it works:
AccessAndSQL6_2000.zip [115KB]


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


:

My switchboard contains a button that when pressed, will run a macro to open
up a dialog box. Once the user chooses an option in a dialog box, I would
like for the form containing only that chosen record, to pop up as a result
of their search. I would like for the form to open up only in view mode,
where they cannot add or edit. How can I do this?
 
R

ryguy7272

Just the records that contain what the user chose in the drop-down menu?
Sounds like you need to apply a filter, or a where in your Query.

Look closely at these two arguments:
Filter Name - (nothing written)
Where Condition - (nothing written)

If you send it to me, I'll take a look tonight when I get home. I can't
check email from work; can only check only DG posts!!

(e-mail address removed)

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


Natasha said:
I meant to say, how can I get Access to lead it to just the records that
contain what the user chose in the drop-down menu.

Natasha said:
I cannot thank you enough for all of your help on this. I am so close to
being able to roll out this thing, and it is so frustrating because I can't
figure this last part out. I created a macro, but I can't get it to do
exactly what I need it to do. Once the user chooses a company from the
drop-down menu, and clicks okay, the macro will lead it to the read-only
form...which is what I want it to do, but I want Access to lead it to the
form that contains what the user is looking for. This is what it says at the
bottom of the macro screen:

Form Name - frmPrimQACont
View - Form
Filter Name - (nothing written)
Where Condition - (nothing written)
Data Mode - Read Only
Window Mode - Normal


What else do I put in there to tell the macro to lead the user to the
form(s) that contains the selection that they chose in the drop-down menu?



ryguy7272 said:
I’m not exactly sure where you are with things now, but I’ll try to walk you
through it. Can you create a Macro to do what you want to do? All you have
to do is modify the code, so it does exactly what you need, and fire the
code, right. Make that part work, then create a button on your Form >
right-click > Miscellaneous > Run Macro > click the name of your Macro > Next
Next > Finish. Form View then run your Macro. Does that work? In Design
View, you can click Build Event and then you will see the code that the
button is linked to. If you don’t want to create a Macro, just modify the
code and point the button straight to the code; Button Cancel > right-click >
Build Event > Code Builder ok . . . that needs to point to your code.

Try that, and experiment a bit, and see how you get along. I think you have
everything you need to make it work. It’s thrilling to see it work for the
very first time! For the more general things, usually you have to figure
these out on your own, but if you have a specific question post back with the
details.


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


:

Hi Ryan,

I am sooo close to making this thing work. I tried making the subform and I
tried to carefully follow the instructions that you wrote out below, but it
just did not work. What code can I enter into the Code Builder for the "OK"
button in my dialog box with my drop-down menus so that when users click
"OK", after choosing what they want on the drop down menu, that only the
records that apply to their search will show up, but in form view of the
form? I can lock the form so that they can't make any changes. My form view
is really nice, and I just want users to be able to see all of the
information on there.

:

Ah yes, ‘only in view mode’. You mentioned that in your first post and I
neglected to answer that. This is how you make a Form read-only:
1. Open the form in Design View
2. Double-click the Form Selector (to open the form's property sheet).
3. In the AllowEdits property box, click No.
4. In the AllowDeletions property box, click No.
5. In the AllowAdditions property box, click No.

As for the rest, it will take a bit of work on your part. Look at the
sample here.
http://www.databasedev.co.uk/text_search.html

Download from here:
http://www.databasedev.co.uk/downloads.html

The file’s name is ‘How to create a simple text search facility’


Maybe that will give you some additional ideas. I still think you will need
a SubForm as well.



--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


:

Good morning! I watched all three Youtube videos, and it still isn't quite
what I am looking for. Rather than create a subform, I would like for users
to be able to view only records that they may want to see - in form view of
the form. So for example:

1.) Let's say that I have a United States Database with 50 records - each
record contains information about each state (i.e. population, state bird,
sports teams, governor's name, etc.)
2.) Once the database is opened, the user will go to a switchboard, and
they will choose what they want to search for. Pressing any "search for"
button will run a macro that will lead them to a drop down menu for that
category.

Now let's say that the user wants to see all records where the governor's
name is John Smith, and there are 5 states whose governor's name is John
Smith. How do I get Access to show me only those 5 records (in form view),
to where they can ONLY view and not edit or add?

:

I think there was a problem with my last attempt to post. This may be a
double. . .
Aaahhhhhh, I think I get it now. I think this is what you want:

Hope that helps!!


:

Hi Ryan,

No, I would like them to view the form. My form contains a lot of
information, and I want them to be able to view the form in its entirety when
opened. So for example, if they search for company ABC, I want the database
to pull all records to where "company ABC" is in it. Or if they want to see
all of the companies that manufacture red balls, Access would display only 5
out of 25 records (if there are 5 companies out of 25 that manufacture red
balls_ - something of that sort. I tried putting all of the information in
report form, but it just didn't look like I wanted it to. So I figured that
just them viewing the form (not in add or edit mode) would work best.

:

Why is it a Form? Do you really mean to display your data in a Report. You
may find this t be helpful:
http://www.fontstuff.com/access/acctut19.htm

Download and run this file at the bottom of the page to see how it works:
AccessAndSQL6_2000.zip [115KB]


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


:

My switchboard contains a button that when pressed, will run a macro to open
up a dialog box. Once the user chooses an option in a dialog box, I would
like for the form containing only that chosen record, to pop up as a result
of their search. I would like for the form to open up only in view mode,
where they cannot add or edit. How can I do this?
 
R

ryguy7272

Great! Glad to heat it! It's very gratifying when you get these things
working! Please leave some feedback if I helped you out.
Thanks!!

--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


Natasha said:
I figured it out!!!!!!!!!!! It works soo well. I am now just making it look
pretty....and I will be able to publish it. Thank you for all of your help!

ryguy7272 said:
I’m not exactly sure where you are with things now, but I’ll try to walk you
through it. Can you create a Macro to do what you want to do? All you have
to do is modify the code, so it does exactly what you need, and fire the
code, right. Make that part work, then create a button on your Form >
right-click > Miscellaneous > Run Macro > click the name of your Macro > Next
Next > Finish. Form View then run your Macro. Does that work? In Design
View, you can click Build Event and then you will see the code that the
button is linked to. If you don’t want to create a Macro, just modify the
code and point the button straight to the code; Button Cancel > right-click >
Build Event > Code Builder ok . . . that needs to point to your code.

Try that, and experiment a bit, and see how you get along. I think you have
everything you need to make it work. It’s thrilling to see it work for the
very first time! For the more general things, usually you have to figure
these out on your own, but if you have a specific question post back with the
details.


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


Natasha said:
Hi Ryan,

I am sooo close to making this thing work. I tried making the subform and I
tried to carefully follow the instructions that you wrote out below, but it
just did not work. What code can I enter into the Code Builder for the "OK"
button in my dialog box with my drop-down menus so that when users click
"OK", after choosing what they want on the drop down menu, that only the
records that apply to their search will show up, but in form view of the
form? I can lock the form so that they can't make any changes. My form view
is really nice, and I just want users to be able to see all of the
information on there.

:

Ah yes, ‘only in view mode’. You mentioned that in your first post and I
neglected to answer that. This is how you make a Form read-only:
1. Open the form in Design View
2. Double-click the Form Selector (to open the form's property sheet).
3. In the AllowEdits property box, click No.
4. In the AllowDeletions property box, click No.
5. In the AllowAdditions property box, click No.

As for the rest, it will take a bit of work on your part. Look at the
sample here.
http://www.databasedev.co.uk/text_search.html

Download from here:
http://www.databasedev.co.uk/downloads.html

The file’s name is ‘How to create a simple text search facility’


Maybe that will give you some additional ideas. I still think you will need
a SubForm as well.



--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


:

Good morning! I watched all three Youtube videos, and it still isn't quite
what I am looking for. Rather than create a subform, I would like for users
to be able to view only records that they may want to see - in form view of
the form. So for example:

1.) Let's say that I have a United States Database with 50 records - each
record contains information about each state (i.e. population, state bird,
sports teams, governor's name, etc.)
2.) Once the database is opened, the user will go to a switchboard, and
they will choose what they want to search for. Pressing any "search for"
button will run a macro that will lead them to a drop down menu for that
category.

Now let's say that the user wants to see all records where the governor's
name is John Smith, and there are 5 states whose governor's name is John
Smith. How do I get Access to show me only those 5 records (in form view),
to where they can ONLY view and not edit or add?

:

I think there was a problem with my last attempt to post. This may be a
double. . .
Aaahhhhhh, I think I get it now. I think this is what you want:

Hope that helps!!


:

Hi Ryan,

No, I would like them to view the form. My form contains a lot of
information, and I want them to be able to view the form in its entirety when
opened. So for example, if they search for company ABC, I want the database
to pull all records to where "company ABC" is in it. Or if they want to see
all of the companies that manufacture red balls, Access would display only 5
out of 25 records (if there are 5 companies out of 25 that manufacture red
balls_ - something of that sort. I tried putting all of the information in
report form, but it just didn't look like I wanted it to. So I figured that
just them viewing the form (not in add or edit mode) would work best.

:

Why is it a Form? Do you really mean to display your data in a Report. You
may find this t be helpful:
http://www.fontstuff.com/access/acctut19.htm

Download and run this file at the bottom of the page to see how it works:
AccessAndSQL6_2000.zip [115KB]


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


:

My switchboard contains a button that when pressed, will run a macro to open
up a dialog box. Once the user chooses an option in a dialog box, I would
like for the form containing only that chosen record, to pop up as a result
of their search. I would like for the form to open up only in view mode,
where they cannot add or edit. How can I do this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top