no windows

  • Thread starter Thread starter Rich
  • Start date Start date
R

Rich

Is there a way in Access to make forms full screen.. no
title bar or menu... I want to develop a touchscreen
module. Any help would be great. Thanks in advance.
 
Rich said:
Is there a way in Access to make forms full screen.. no
title bar or menu... I want to develop a touchscreen
module. Any help would be great. Thanks in advance.

If you set the form's PopUp property to Yes, set its BorderStyle to
None, set RecordSelectors to No, and put code in the form's Open event
to maximize it, I think that will give you what you're asking.
 
Thanks! I did everything but the docmd.maximize Great
thank you... Now is all I need is a keypad on some forms.
 
Rich,

You never mentioned the 'keypad' in your first post. Can you
elaborate on what you are looking for here?

--

Gary Miller
Gary Miller Computer Services
Sisters, OR
________________________
 
Well, I am going to have the app start in full screen
mode. when the touch through the menu forms they will
eventually be needing to enter data. for example... One
thing that I am doing is making a employee time clock
system. SO the user can hit the time clock button to open
the form.. they will need to put in there ID PIN# so I
will need to add a button set on the form that will write
to the ID field and then I can validate it in the user
table via "OK or ENTER button"

I am assuming that I will have to just create buttons with
what I want, then on click set something upto add to the
end of the current field. oh, I guess I will need
something to clear back one space too in case they mess up.

other parts of the system will need alpha and Numerical
button entry on the form as well.. any help or a shove in
the right direction would be great.
 
I have a sample mdb if someone thinks that they can help
me then I could email it to you.

I basicly want to creat buttons say A-Z and 0-9 then when
say A is pushed it would write A to the text field. then 8
and 8 would be added after the A and so on. I also would
need a backspace button and possibly a clear button.
 
Rich said:
Well, I am going to have the app start in full screen
mode. when the touch through the menu forms they will
eventually be needing to enter data. for example... One
thing that I am doing is making a employee time clock
system. SO the user can hit the time clock button to open
the form.. they will need to put in there ID PIN# so I
will need to add a button set on the form that will write
to the ID field and then I can validate it in the user
table via "OK or ENTER button"

I am assuming that I will have to just create buttons with
what I want, then on click set something upto add to the
end of the current field. oh, I guess I will need
something to clear back one space too in case they mess up.

other parts of the system will need alpha and Numerical
button entry on the form as well.. any help or a shove in
the right direction would be great.

Here's a rudimentary example of how you might set up such a thing. Have
a command button for each of the keys on the "keypad". For all the
normal letter and number keys, and the space bar, set the command
button's Tag property to the value of the key. So the Tag property of
cmdKeyA is A, the Tag property of cmdKey1 is 1, and the Tag property of
cmdKeySpace is a single blank space. For any special keys, such as the
back-space, set the Tag property to a code you pick; for example, {BS}.

Now set the OnClick property for all of these buttons to the same
function expression:

=TypeKey()

Define the TypeKey function in your form's Module. Here's a start at
such a function:

'----- start of example function -----
Private Function TypeKey()

Dim strKey As String

strKey = Me.ActiveControl.Tag

With Me.Text0

Select Case strKey

Case "{BS}"
.Value = Left(.Value, Len(.Value) - 1)

Case Else
.Value = .Value & strKey

End Select

End With

End Function

'----- end of example function -----

You would replace "Text0" with the name of the control to receive the
simulated keystrokes. Note that, since the receiving text box is
hard-coded, the keypad can only be used to enter data in one text box on
any given form. One could, if one wanted to, modify this so that the
text box to receive the keystrokes is set by some code or specified in a
variable or control, thus allowing greater flexibility. For the limited
purpose you described, though, the simple solution may be adequate.
 
Thanks, I am going to give it a try now.
Too make this app easy on users there will only be one
feild per form that gets entered.

I will let you know what happens. Thanks allot
 
Thats exactly it.. Thank you!
I just need to add a do nothing for the {BS} case if there
is nothing there or is null. I get the famous access error
because I guess access doesnt know what to do with it.

But this is great thank you again
 
Rich said:
Thats exactly it.. Thank you!
I just need to add a do nothing for the {BS} case if there
is nothing there or is null. I get the famous access error
because I guess access doesnt know what to do with it.

Yeah, I thought of that after I posted. I'm glad you caught it.
 
Back
Top