View Full Version : FrmSmp00.mdb example on Fill Record w/ prev Record Info


sestrade
09-26-2001, 09:09 AM
Summary:
FrmSmp00.mdb in MS Knowledge base Q210236, doesn't match the description or procedure in Q210236. I can't figure out how to apply AutoFillNewRecord to a button instead of automatically ocurring every time.

Detail:
Form on FrmSmp00.mdb uses a different method to auto fill the info than Q210236 describes. Eg, FrmSmp00 does not use a module basAutoFillNewRecord, yet the form describes it as part of what is used to accomplish the task.

I want to slightly modify the process and attach the procedure to a button, in lieu of the form oncurrent property.

I can't get the call to AutoFillNewRecord to work. I get a message about ambiguous name.
Can anyone direct me to a working example of this and I'll give it a look.

Jack Cowley
09-26-2001, 11:38 AM
Be sure that the Module that holds the Function 'AutoFillNewRecord' has a name OTHER than AutoFillNewRecord. Name the module 'Module1' or anything you like but do not give it the same name as the Function.