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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Custom form to replace messagebox



 
 
Thread Tools Display Modes
  #1  
Old April 14th, 2005, 05:06 PM
Fred Boer
external usenet poster
 
Posts: n/a
Default Custom form to replace messagebox

Hello:

Two part question:

1.

I want to have a messagebox that will offer the users the following options
if they have overdue books and they try to check out a book:

Continue, and allow the checkout
Cancel the operation
Open their circulation record.

This cannot be done with a standard messagebox, correct?

2. Assuming I am correct about (1), I need to create a form that looks just
like a messagebox. Is there an easy way to do this? I.e., someone has
examples available for download; or the dimensions of the standard Access
message box and its command buttons..? If I want to be finicky, I can sit
with a ruler and make screen measurements, etc., but I wonder if I can avoid
this...

Thanks!
Fred Boer


  #2  
Old April 14th, 2005, 05:18 PM
Jeff Conrad
external usenet poster
 
Posts: n/a
Default

Hi Fred,

Have you taken a look at Arvin Meyer's Custom MsgBox Creator
found here?:

http://www.datastrat.com/DataStrat2.html

That might be what you need.

--
Jeff Conrad
Access Junkie
Bend, Oregon

"Fred Boer" wrote in message:
...

Hello:

Two part question:

1.

I want to have a messagebox that will offer the users the following options
if they have overdue books and they try to check out a book:

Continue, and allow the checkout
Cancel the operation
Open their circulation record.

This cannot be done with a standard messagebox, correct?

2. Assuming I am correct about (1), I need to create a form that looks just
like a messagebox. Is there an easy way to do this? I.e., someone has
examples available for download; or the dimensions of the standard Access
message box and its command buttons..? If I want to be finicky, I can sit
with a ruler and make screen measurements, etc., but I wonder if I can avoid
this...

Thanks!
Fred Boer



  #3  
Old April 14th, 2005, 05:24 PM
Paul Overway
external usenet poster
 
Posts: n/a
Default

How well the standard message box can be used in any given scenario really
depends on the question being asked....or how many times you want to prompt
the user. For example, you COULD use the standard message box with 2
prompts

intResponse = msgbox("The patron has overdue books. Do you want to
continue?", vbyesno,""Overdue Books")

If intResponse = vbNo Then
intResponse = msgbox("Do you want to review the patron's circulation
records?", vbyesno, "Review Records")
If intResponse = vbyes Then
Docmd.OpenForm "frmcirculation"
End if
End if

However, if you're trying to address this logic in one prompt, and you
cannot form the question in a manner that would fit in with the standard
messagebox options...yeah, you'd have to make a custom form. I don't have a
form that addresses the logic in your scenario, but it wouldn't be difficult
to make a generic one.

--
Paul Overway
Logico Solutions
http://www.logico-solutions.com


"Fred Boer" wrote in message
...
Hello:

Two part question:

1.

I want to have a messagebox that will offer the users the following
options if they have overdue books and they try to check out a book:

Continue, and allow the checkout
Cancel the operation
Open their circulation record.

This cannot be done with a standard messagebox, correct?

2. Assuming I am correct about (1), I need to create a form that looks
just like a messagebox. Is there an easy way to do this? I.e., someone has
examples available for download; or the dimensions of the standard Access
message box and its command buttons..? If I want to be finicky, I can sit
with a ruler and make screen measurements, etc., but I wonder if I can
avoid this...

Thanks!
Fred Boer




  #4  
Old April 14th, 2005, 05:54 PM
Klatuu
external usenet poster
 
Posts: n/a
Default

It can be done, you may have to explain yourselft to the user. Try using the
vbYesNoCancel option for the message box.

Then offer Yes = Continue Checkout
No = Do Not Checkout, Open Circulation Record
Cancel = Cancel

"Fred Boer" wrote:

Hello:

Two part question:

1.

I want to have a messagebox that will offer the users the following options
if they have overdue books and they try to check out a book:

Continue, and allow the checkout
Cancel the operation
Open their circulation record.

This cannot be done with a standard messagebox, correct?

2. Assuming I am correct about (1), I need to create a form that looks just
like a messagebox. Is there an easy way to do this? I.e., someone has
examples available for download; or the dimensions of the standard Access
message box and its command buttons..? If I want to be finicky, I can sit
with a ruler and make screen measurements, etc., but I wonder if I can avoid
this...

Thanks!
Fred Boer



  #5  
Old April 14th, 2005, 05:56 PM
Fred Boer
external usenet poster
 
Posts: n/a
Default

Thanks, Jeff! Now that you mention it...

Boy the memory is going! Good thing I still have my looks! g

Fred

"Jeff Conrad" wrote in message
...
Hi Fred,

Have you taken a look at Arvin Meyer's Custom MsgBox Creator
found here?:

http://www.datastrat.com/DataStrat2.html

That might be what you need.

--
Jeff Conrad
Access Junkie
Bend, Oregon

"Fred Boer" wrote in message:
...

Hello:

Two part question:

1.

I want to have a messagebox that will offer the users the following
options
if they have overdue books and they try to check out a book:

Continue, and allow the checkout
Cancel the operation
Open their circulation record.

This cannot be done with a standard messagebox, correct?

2. Assuming I am correct about (1), I need to create a form that looks
just
like a messagebox. Is there an easy way to do this? I.e., someone has
examples available for download; or the dimensions of the standard Access
message box and its command buttons..? If I want to be finicky, I can sit
with a ruler and make screen measurements, etc., but I wonder if I can
avoid
this...

Thanks!
Fred Boer





  #6  
Old April 14th, 2005, 06:00 PM
Fred Boer
external usenet poster
 
Posts: n/a
Default

Hi Paul:

Yes, I was hoping to avoid two prompts... And, no, it's not difficult to
create the custom form, (especially now that I've been reminded of Arvin's
solution), but, well, if it already existed somewhere, I could be
"selectively industrious!"

Fred

"Paul Overway" wrote in message
...
How well the standard message box can be used in any given scenario really
depends on the question being asked....or how many times you want to
prompt the user. For example, you COULD use the standard message box with
2 prompts

intResponse = msgbox("The patron has overdue books. Do you want to
continue?", vbyesno,""Overdue Books")

If intResponse = vbNo Then
intResponse = msgbox("Do you want to review the patron's circulation
records?", vbyesno, "Review Records")
If intResponse = vbyes Then
Docmd.OpenForm "frmcirculation"
End if
End if

However, if you're trying to address this logic in one prompt, and you
cannot form the question in a manner that would fit in with the standard
messagebox options...yeah, you'd have to make a custom form. I don't have
a form that addresses the logic in your scenario, but it wouldn't be
difficult to make a generic one.

--
Paul Overway
Logico Solutions
http://www.logico-solutions.com


"Fred Boer" wrote in message
...
Hello:

Two part question:

1.

I want to have a messagebox that will offer the users the following
options if they have overdue books and they try to check out a book:

Continue, and allow the checkout
Cancel the operation
Open their circulation record.

This cannot be done with a standard messagebox, correct?

2. Assuming I am correct about (1), I need to create a form that looks
just like a messagebox. Is there an easy way to do this? I.e., someone
has examples available for download; or the dimensions of the standard
Access message box and its command buttons..? If I want to be finicky, I
can sit with a ruler and make screen measurements, etc., but I wonder if
I can avoid this...

Thanks!
Fred Boer






  #7  
Old April 14th, 2005, 06:53 PM
Jeff Conrad
external usenet poster
 
Posts: n/a
Default

"Fred Boer" wrote in message:
...

Thanks, Jeff! Now that you mention it...


No problem.

Boy the memory is going!


It is to be expected from someone of your advanced years.

Good thing I still have my looks! g


If you want to cling to that illusion Fred, you go right ahead.
g, d, & r
--
Jeff Conrad
Access Junkie
Bend, Oregon


  #8  
Old April 14th, 2005, 07:11 PM
Fred Boer
external usenet poster
 
Posts: n/a
Default

I hadn't thought of that... Another good idea!

Thanks!
Fred


"Klatuu" wrote in message
...
It can be done, you may have to explain yourselft to the user. Try using
the
vbYesNoCancel option for the message box.

Then offer Yes = Continue Checkout
No = Do Not Checkout, Open Circulation Record
Cancel = Cancel

"Fred Boer" wrote:

Hello:

Two part question:

1.

I want to have a messagebox that will offer the users the following
options
if they have overdue books and they try to check out a book:

Continue, and allow the checkout
Cancel the operation
Open their circulation record.

This cannot be done with a standard messagebox, correct?

2. Assuming I am correct about (1), I need to create a form that looks
just
like a messagebox. Is there an easy way to do this? I.e., someone has
examples available for download; or the dimensions of the standard Access
message box and its command buttons..? If I want to be finicky, I can sit
with a ruler and make screen measurements, etc., but I wonder if I can
avoid
this...

Thanks!
Fred Boer





 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dates in a listbox connected to a form... RusCat Using Forms 13 November 25th, 2004 02:31 AM
Strange stLinkCriteria behaviour on command button Anthony Dowd Using Forms 3 August 21st, 2004 03:01 AM
Default values to load up automatically in a form based on value entered in another form Anthony Dowd Using Forms 8 August 12th, 2004 08:53 AM
dlookup miaplacidus Using Forms 9 August 5th, 2004 09:16 PM
auto entry into second table after update Tony New Users 13 July 9th, 2004 10:42 PM


All times are GMT +1. The time now is 02:08 AM.


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