473,669 Members | 2,453 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

My most complex form yet, could use a little direction, No hurry.

4 New Member
So here is the deal,

I am attempting to make what is the most complex form i have made yet. It really is not much, but as an amatuer it is a little overwhelming. Here's a few critical background point.s
  • I have 2 Master Databses - I will be linking in only 1 table from each - tblMaster
  • Each record contains demographic data and about 40 "variable" fields which consist of a name for each variable, and its data
  • Variable Field 20-29 - contains information about recent activity or communication with the record
  • Variable field 37 contains "Informatio n regarding when we can contact the record"
  • Variable Field 38 Contains "Call List list information"
  • Variable Field 39 contains "Email communications for a particular project
  • Variable field 40 contains Email Communications regarding updating their record

What I am attempting to do in this form is to choose a Query or Table to update, choose which variable fields to update, and finally update [Name] and [Data] fields.

I am using a bit of code and format which I used to simply export data in a specified query or table, but now want to do what an update query does in a form. Below is the code currenlty in place to export, I hope that it will work the same for me.

Expand|Select|Wrap|Line Numbers
  1. Private Sub UpdatefieldsButn_Click()
  2.  
  3.     Dim ID As Long
  4.     Dim result As VbMsgBoxResult
  5.  
  6.     On Error Resume Next
  7. 'Queries Radial Select
  8.     If (QueriesRB = True) Then
  9.         If (QueriesCB.ListCount <= 0) Then
  10.             result = MsgBox("No Queries defined.", vbExclamation, "Export for TSS Sample")
  11.             Exit Sub
  12.         Else
  13. 'Queries Action
  14.             If Me.ProjectParticipationCheck = "True" Then
  15.                 If ([QueriesCB.Value].VarFieldName20 <= 0) Then
  16.                     QueryDef.Updatable (
  17.  
  18.         End If
  19.     Else
  20. 'Tables Radial Select
  21.        If (TablesCB.ListCount <= 0) Then
  22.             result = MsgBox("No Tables defined.", vbExclamation, "Export for TSS Sample")
  23.             Exit Sub
  24.         Else
  25. 'Tables Action
  26.  
  27.         End If
  28.     End If
  29.  
  30. End Sub
  31.  
Now I know what this is a very long post and asking a lot, but I'm not sure how to go about it. Whether using a bunch of if Statements or if a Case statement may work.

If anyone feels like being extremely helpful and taking a look at it, I'd greatly appreciate it. I'm a quick learner and happy to read up on the reference library that contains what I need and learn/do it myself, but need some guidance.

Thanks
Mar 13 '07 #1
1 1392
NeoPa
32,569 Recognized Expert Moderator MVP
I'm sorry, but I can't work out what you're even trying to do from your explanation. There are too many explanations that reference undefined items. As we don't know the undefined item - the explanation gives us no further understanding.
Don't feel that no-one wants to help, just that they can't with the info as supplied.
Mar 17 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
1737
by: Bad Little Kyle | last post by:
Yes, I'm back with one more question, but it's probably really simple for you guys! Recently I spent time creating a web-based form for our company so that a customer can input all of his own information and set up how he wants his/her stamp to look, then it will be sent to us via e-mail so we can then look it over and determine what the final cost would be. But there's only one little problem. When the customer inputs his e-mail...
11
2099
by: Sven Neuberg | last post by:
Hi, I have been handed the task of updating and maintaining a web application, written in ASP and Javascript, that takes complex user inputs in HTML form and submits them to server-side ASP pages for processing. The problem is, the user inputs can become very complex, and the way this application was developed, the inputs are all concatenated into monstrously long strings of text that are then submited as <hidden> inputs in HTML forms...
0
1956
by: Zed | last post by:
I am creating an Access database to monitor monthly performance figures for approximately 100 call center agents. Every month, each agent will have a total of about 15 different measurements (things like # of calls taken, % of quality of service, # of sick days, etc.) Based on those raw scores, a points system will assign a certain number of points to each agent for each measurement every month. (Example: 0 sick days = 10 points, 1 sick...
116
7492
by: Mike MacSween | last post by:
S**t for brains strikes again! Why did I do that? When I met the clients and at some point they vaguely asked whether eventually would it be possible to have some people who could read the data and some who couldn't but that it wasn't important right now. And I said, 'sure, we can do that later'. So now I've developed an app without any thought to security and am trying to apply it afterwards. Doh!, doh! and triple doh!
4
2370
by: tarafinlay | last post by:
Hi all, I am new to access and am finding it a bit unintuitive having worked with SQL server in the past... And I am in a bit of a hurry because my employer wants me to crank something out which at first seemed like a piece of cake but I realize now I should have done a little more research before I got started. Here is the issue: I have a table with data relating to our pastry products. I built a form with multiple combo boxes that are...
6
1715
by: pippapippa | last post by:
I should be most grateful for a little advice. I have used Access 2000 & latterly 2002. Am about to upgrade since it is evident that documentation, tutorials etc are more readily available in later versions. I work on this on my lonesome & do not have access to a mentor or tuition. This is an intermittent activity and quite adjunct to my "normal" investment activities. I have found that most books & documentation are either...
4
1739
by: Cigar2011 | last post by:
I will try to be short and to the point.(good Luck) I have a form written in HTML. I have a Mysql database. I am using a linux server and I would like to use php to write the following code: After the user inputs their name, address, email, phone, etc. in my html form. They will hit the submit button. I need for the information they entered to go into my database. I have looked now for about 12 hours and haven't been able to find an...
7
2373
by: schaefer.mp | last post by:
To compute the absolute value of a negative base raised to a fractional exponent such as: z = (-3)^4.5 you can compute the real and imaginary parts and then convert to the polar form to get the correct value: real_part = ( 3^-4.5 ) * cos( -4.5 * pi ) imag_part = ( 3^-4.5 ) * sin( -4.5 * pi )
3
2012
by: Malenfant | last post by:
I'm currently working on my first relatively complex C# application and I've run into some problems as to the best way to develop the interface. The design spec calls for a treeview on the left-hand side which brings up the relevant interface when the node is clicked on. I made some initial headway by storing the interface information in separate forms and then loading the controls onto the main form like this: ...
0
8466
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8384
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8896
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8590
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8659
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4387
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2798
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2035
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1790
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.