F
Frank
Hi all,
I'm new to Access and Visual Basic. I've built the tables, queries, forms
and reports and I'm ready to write my first code (module?). I know I'm
basically asking someone else to write my code BUT... if anybody will "hold
my hand" here... I learn very quickly by example.
To get me moving quickly I need 3 procedures (or whatever they are called
in Access) AND I need to know "where" to locate them. I'm using a separate
message post for each request for procedure help.
"yisturday i didint no hou ta spel computir programar, taday i r wun".
THANX for your time... Frank
---------------------------------------------------
3 Computers (networked, peer-to-peer)
WindowsXP Pro SP3 (NOT using "simple" file sharing)
Access 2003 SP3
---------------------------------------------------
PROC #1 - ToggleDesignViewMode() ===========
1) Contain current "best practice" for error handling and debugging
2) Be ACCESSIBLE from anywhere within the Access environment... databases
AND (if possible) the VB Editor
3) IF the user just pressed the <Shift>+<Ctrl>+<F8> hotkey THEN
4) IF the current database object focus is "designable" THEN determine the
current object mode (design or view)
5) IF in VIEW mode THEN go into DESIGN mode AND SHOW ALL toolbars + the
property window + open the VB Editor (if it isn't already open)
6) IF in DESIGN mode THEN go into VIEW mode AND HIDE ALL toolbars + the
property window (menu bar + VB Editor stays visible)
7) ELSE MESSAGE("can't use that HotKey here")
I'm new to Access and Visual Basic. I've built the tables, queries, forms
and reports and I'm ready to write my first code (module?). I know I'm
basically asking someone else to write my code BUT... if anybody will "hold
my hand" here... I learn very quickly by example.
To get me moving quickly I need 3 procedures (or whatever they are called
in Access) AND I need to know "where" to locate them. I'm using a separate
message post for each request for procedure help.
"yisturday i didint no hou ta spel computir programar, taday i r wun".
THANX for your time... Frank
---------------------------------------------------
3 Computers (networked, peer-to-peer)
WindowsXP Pro SP3 (NOT using "simple" file sharing)
Access 2003 SP3
---------------------------------------------------
PROC #1 - ToggleDesignViewMode() ===========
1) Contain current "best practice" for error handling and debugging
2) Be ACCESSIBLE from anywhere within the Access environment... databases
AND (if possible) the VB Editor
3) IF the user just pressed the <Shift>+<Ctrl>+<F8> hotkey THEN
4) IF the current database object focus is "designable" THEN determine the
current object mode (design or view)
5) IF in VIEW mode THEN go into DESIGN mode AND SHOW ALL toolbars + the
property window + open the VB Editor (if it isn't already open)
6) IF in DESIGN mode THEN go into VIEW mode AND HIDE ALL toolbars + the
property window (menu bar + VB Editor stays visible)
7) ELSE MESSAGE("can't use that HotKey here")