User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 362,353 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,816 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser:

Using VBA with Access (was: Please Help!!!)

Join Date: Aug 2004
Posts: 9
Reputation: MSUMichelle is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
MSUMichelle MSUMichelle is offline Offline
Newbie Poster

Re: Using VBA with Access (was: Please Help!!!)

  #4  
Aug 13th, 2004
I didnt understand the previous post but I figured it was just over my head....

I actually figured out the CP problem with a grueling process...but it works! (there HAS to be an easier way to do so though!) I do have another question while we're at it though, on the same form there are currently 5 records. I have it set so that it does not allow deletions, edits, or additions. (this is because I dont want to user to try to do so here) When the user selects the "Add New Program" button it changes the record source to a temp. table. The first few lines of the code is...

Private Sub saveprog_Click()
On Error GoTo Err_saveprog_Click

Form.AllowAdditions = True

Dim CPnum, CP, checkzeros As String


....

And even though the first thing I am telling it to do is to allow additions, it gets an error when you try to do so. Any ideaS?
Reply With Quote  
All times are GMT -4. The time now is 11:24 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC