473,578 Members | 3,001 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Trying to create a FORM / SUBform

29 New Member
Hello,

I am running into an issue whereby, I'm attempting to create a form using a combo box selection (CPTcode). Once I make this selection the Charge price should auto populate accordingly. I'm having a very hard time accomplishing this.

I m trying to build the form from a query; The SQL code is as follows:


[PHP]SELECT T_Ccpt.CptNum, T_Ccpt.Charge, T_Ccpt.Physicia nName, T_Ccpt.CPTcode
FROM T_Ccpt
ORDER BY T_Ccpt.CPTcode;[/PHP]

Once I've gotten this to work I need to use it as a subform.


Please help,

Adigga1
Oct 29 '08 #1
2 1217
emsik1001
93 New Member
Hi

I undestand that you have a form with the fields from the table and you want to add 'combo box' control from the toolbox and in the wizard (which should appear) you selected 'I want the combo box to look up the values in a table or query'+ correct table and field. but it still doesn't work?

Is that correct? ... I'm just trying to understand where the problem lies.

Regards
Emil
Oct 31 '08 #2
adigga1
29 New Member
Hi

I undestand that you have a form with the fields from the table and you want to add 'combo box' control from the toolbox and in the wizard (which should appear) you selected 'I want the combo box to look up the values in a table or query'+ correct table and field. but it still doesn't work?

Is that correct? ... I'm just trying to understand where the problem lies.

Regards
Emil
Yes, that is correct, I've been attempting to get this to work for weeks.

regards,
adigga1
Nov 3 '08 #3

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

Similar topics

0
1551
by: Mark Gifford | last post by:
Hi, I've inherited an Access database and need to create a form which will allow me to view and alter the data. I've created a new form and using a tip I got from this helpful site http://www.jmhare.com/wildhare2.htm , I've created two combo boxes, with the contents of the second combo box depending upon the value in the first. That's...
2
2957
by: Deano | last post by:
Thanks for the replies to my previous post. So while I'm on a roll here's another plea for help. I simply need the code for a button on the main form that will create a new record in the subform. Hopefully this will always force the new row to be selected (i.e it scrolls to the bottom if needed). Extensive googling has given me many...
2
2030
by: Derek Jones | last post by:
I am currently working on an application for our Business Office to easily search for new budget codes that we have to establish due to an administrative system conversion we are currently undergoing. They would like to be able to find a new code via searching by old code or searching by the object name. I have the search by old code form...
3
2127
by: ghat12 | last post by:
Hi, I have created a form containing 5 textfields/combo boxes and a command button to conduct searches for matching records. My results are currently displayed as a separate datasheet which is launched by specifying the query in the OnClick property of the command button. I would like to create a form that displays the results in a...
1
1583
by: sparks | last post by:
I have a main table with teacher names and students I can put this in a subform and filter by teacher name so I have a list of her students in a sub form. the problem I have is this is created in tblmain but now I need to have them enter data each day for each student so I have a new table tbldata that has TimeStart, TimeEnd how can I...
1
1603
by: sparks | last post by:
I have a form/table with an autoid it is linked to a table/form with and ID as a 1 to many. Under this form/table I need another table with many records for each on of the many in the previous table. form1 form2 form3 table1 table2 table3 autoid...
7
3407
by: FNA access | last post by:
I have a mainform that has a subform in the detail section and a subform in the footer section.(Both subforms are in datasheet view) When I click the navigation button to create a new record on the mainform. My subform in the detail section goes blank (this is what I want) but my subform in the footer section appears to have the data from the...
2
4328
by: gavm360 | last post by:
Hello, I have a data entry form that has a button to copy the values of fields (CASECODE,STEPDES,CBOANSWER) into the fields (CASECODE,STEPDES,ANSWER) of a subform on the page. Private Sub cmdANSWER_Click() Forms!FRMMENU1!FRMANSWERSsubform! = Forms!FRMMENU1! Forms!FRMMENU1!FRMANSWERSsubform! = Me!
3
1982
by: mlb992000 | last post by:
I am creating an invoice with a subform. I have a table with the vendor info and an invoice table. I am able to create a form that will pull up all the information on a particular vendor when I enter the vendor number. I have a part table that has all the existing part numbers and the vendor numbers. I am able to create a query that will...
0
7778
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...
0
8290
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8148
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...
0
6522
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5664
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3781
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3798
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1389
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1113
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...

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.