Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Access

Form

 
Jump to:  
 
Pass-the-reality
PostPosted: Wed Sep 03, 2008 10:39 pm    Post subject: Form
       
I have a form called frmSpecialistView. On this form I added a button
through the wizard to open another form called frmCallLog. When I select the
button, I want frmCallLog to open (which is does), However I the form to
force the auto number. In the VB code it says

stDocName ="frmCallLog"
DoCmd.OpenForm stDocName, , , stLink Criteria

I added
Me.AgentName.SetFocus
Me.Dirty =True

AgentName is a field on the form frmCallLog. I thought maybe be forcing it,
it would change my ID number from Auto Number to an actually number. HELP!!!
 

 
Linq Adams via AccessMons
PostPosted: Wed Sep 03, 2008 11:10 pm    Post subject: Re: Form
       
***Why*** do you need an AutoNumber assigned ***before*** you've actually
created a new record? In point of fact, you probably shouldn't even be
displaying the AutoNumber on your form. As John Vinson has said here many
times, AutoNumbers are not fit for human consumption, but perhaps you have a
compelling reason to display them!

--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000/2003

Message posted via AccessMonster.com
LINK
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

zakłady bukmacherskie 9fashion duże rozmiary organizacja wesel Yahoo