Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old February 7th, 2004, 04:48 PM
Pigman Pigman is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Scotland
Posts: 3 Pigman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Form calcs

Hi all.

On a form, how do I make a field do a calculation and still be bound to a table?

Thanks in advance,

Andy.

Reply With Quote
  #2  
Old February 8th, 2004, 07:14 AM
DooDahDave DooDahDave is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 2 DooDahDave User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Something to try

undefinedHi Andy..Do you want to transfer the result of the calculation to the table?

If so ... Does the form have a query or table as its source???

I'm a novice but something which has worked for me is to..

In form design goto the code button section- VisualBasic

and into FORM CURRENT

Private Sub Form_Current()
Me![TableFieldName] = FormFieldName
End Sub

HTH David -Perth (Not Scotland)

Reply With Quote
  #3  
Old February 8th, 2004, 08:01 AM
Pigman Pigman is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Scotland
Posts: 3 Pigman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi Dave.

Thanks very much for the reply. To clarify, the form has a table as its source and, as I seem to be a bigger novice than yourself, where do I enter the VB code?

Cheers

Andy.

Quote:
Originally Posted by DooDahDave
undefinedHi Andy..Do you want to transfer the result of the calculation to the table?

If so ... Does the form have a query or table as its source???

I'm a novice but something which has worked for me is to..

In form design goto the code button section- VisualBasic

and into FORM CURRENT

Private Sub Form_Current()
Me![TableFieldName] = FormFieldName
End Sub

HTH David -Perth (Not Scotland)

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Form calcs


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT