PDA

View Full Version : Forms in Data Manager



dave
04-12-2006, 08:24 AM
Has anyone created a form in data manager for data entry or editing of line data? I am trying to just that. I will post my results asap.

dave
04-13-2006, 04:53 PM
well I found out how to enable forms in data manager but cannot make one work!! :evil: I will be back with more info when I know more! :wink: :wink:

Colby
04-13-2006, 04:54 PM
what did you do to enable

dave
04-13-2006, 05:02 PM
Look here:

C:\Documents and Settings\All Users\Application Data\Bentley\Plant 2004\CFG

Find:

[DataManager]
REGAPP=DMGR

and change to:

[DataManager]
REGAPP=DMGR
userforms=1

This will enable forms on your machine only. Good luck I would love to know your results

Colby
04-13-2006, 05:17 PM
I do not know if this will work. How about create a macro and use this

Sub Main
Userform1.show
end sub

Colby bangs his head in stupidity!

dave
04-13-2006, 05:19 PM
I will give it a shot...thanks!

Colby
04-13-2006, 05:28 PM
do a google "MS ACCESS MACRO USERFFORM"

dave
04-13-2006, 05:29 PM
hmmm, I get this when I create a new macro - no place to type the code. I am user level -2 when it comes to macros...where do I put the code?

http://www.davetyner.com/Autoplant86/macro.jpg

Colby
04-13-2006, 06:30 PM
I am so freaking stupid. I applogize I really do.

On the Form Right Click on it a pick Build Event

When the Choose Builder window shows up Pick Macro Builder

It should prompt you to save the Macro.


On the Action Pulldown Ther should be an Action Called "Open Form"

On the Form Name prompt type in the name of your Form

Click save and exit out

Double click on the new Macro and it should launch the Form

I tested This Out using Access 2002.

Colby
04-20-2006, 09:21 AM
When you do this in DataManager for some reason the form will flash ad then close BUT if you double click the form it opens?????

I guess Bentley has there own way of doing things?????


:?