Dear All,
W2000
Office2000
Access adp
SQLserver DB
Problem:
Adding a new property for a company in the subform.
The FIRST time I Select a property in combobox CPROP_PRP_ID the subform act
strange.
1. The selected value doen't show in the combobox!
2. The sortorder of the subform changes!
Reselecting the same value in the combobox acts normal and adding gives no
problem.
Adding a second property for the same company acts normal.
Please HELP, I can't solve this problem!
All specifications below.
Tables:
COMPANY: COM_ID, COM_NAME, etc.
PROPERTY: PRP_ID, PRP_NAME, ETC.
COMPANY_PROPERTY: CPROP_COM_ID, CPROP_PRP_ID, CPROP_VALUE
FRM_COMPANY: source = table COMPANY
SUBFRM_COMPRP:
1. SubFrm source = view (see sql)
SELECT COMPANY_PROPERTY.CPROP_COM_ID,
COMPANY_PROPERTY.CPROP_PRP_ID,
PROPERTY.PRP_NAME,
COMPANY_PROPERTY.CPROP_VALUE
FROM dbo.COMPANY_PROPERTY INNER JOIN
dbo.PROPERTY ON
dbo.COMPANY_PROPERTY.CPROP_PRP_ID = dbo.PROPERTY.PRP_ID
2. SubFrm: Order By = ViewComPrpsSubFrmSource.PRP_NAME to sort by
PROPERTY.PRP_NAME
3. SubFrm: Unique table = COMPANY_PROPERTY
4. Controls:
4.1.combobox that holds CPROP_PRP_ID (Rowsource=SELECT PRP_ID, PRP_NAME FROM
PROPERTY WHERE (PRP_COMPANY = 1) ORDER BY PRP_NAME)
4.2. CPROP_VALUE 1 1958
"Filips Benoit" <be***********@pandora.be> wrote in message
news:uG**********************@phobos.telenet-ops.be... Dear All,
W2000 Office2000 Access adp SQLserver DB
Problem: Adding a new property for a company in the subform. The FIRST time I Select a property in combobox CPROP_PRP_ID the subform act strange. 1. The selected value doen't show in the combobox! 2. The sortorder of the subform changes! Reselecting the same value in the combobox acts normal and adding gives no problem. Adding a second property for the same company acts normal.
Please HELP, I can't solve this problem! All specifications below.
Tables: COMPANY: COM_ID, COM_NAME, etc. PROPERTY: PRP_ID, PRP_NAME, ETC. COMPANY_PROPERTY: CPROP_COM_ID, CPROP_PRP_ID, CPROP_VALUE
FRM_COMPANY: source = table COMPANY SUBFRM_COMPRP: 1. SubFrm source = view (see sql) SELECT COMPANY_PROPERTY.CPROP_COM_ID, COMPANY_PROPERTY.CPROP_PRP_ID, PROPERTY.PRP_NAME, COMPANY_PROPERTY.CPROP_VALUE FROM dbo.COMPANY_PROPERTY INNER JOIN dbo.PROPERTY ON dbo.COMPANY_PROPERTY.CPROP_PRP_ID = dbo.PROPERTY.PRP_ID 2. SubFrm: Order By = ViewComPrpsSubFrmSource.PRP_NAME to sort by PROPERTY.PRP_NAME 3. SubFrm: Unique table = COMPANY_PROPERTY 4. Controls: 4.1.combobox that holds CPROP_PRP_ID (Rowsource=SELECT PRP_ID, PRP_NAME FROM PROPERTY WHERE (PRP_COMPANY = 1) ORDER BY PRP_NAME) 4.2. CPROP_VALUE
You will probably get a better response to this in an Access group, as it
seems to be more of an ADP issue than an MSSQL one.
Simon This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Paolo |
last post by:
Friends,
My database has 5 different tables (tbl1, tbl2, tlb3, tbl4, and tbl5)
with the same fields: ID, SSN, LNAME, FNAME, RECEIVED and CLOSED. The
ID is the PK and its autonumber.
Obiously...
|
by: John Michael |
last post by:
I have a form that has a subform that has a subform.
The subform loads a record based on a combo lookup box in the main form.
I'm trying to set a value in the subform based on a value in a...
|
by: tdmailbox |
last post by:
I have the statment below that turns off allow edits so thatwhen I run
the commend acCmdFind I only see the find menu rather then find and
replace.
The search button is on the parent form,...
|
by: NBruch |
last post by:
Ok let me explain what im trying to do:
i need a combo box which needs to be linked to a listbox (or combo box
doesnt matter which really) then the listbox should bring up the record
in a...
|
by: PC Datasheet |
last post by:
I'm stuck on something that seems should be easy and I need some help. My
main form has an option group with five options. My subform chooses from
different lists depending on which option is...
| |
by: MP |
last post by:
I have a main form that has a subform which also has a subform:
the main form is
the first subform is
the second subform is
When I click on the button »AddNewSubSubRecord« (add a new record...
|
by: Swinky |
last post by:
I have a form "AccountInfo" that contains company names. I have
inserted a subform "Contacts" with contact names and have established
parent/child relationships between the two forms. All works...
|
by: asavu |
last post by:
Hello,
I'm somewhat new to this, and I definately need some help. I have a db for a small business, and I have a main form, Customer Info, which has a subform Appliance Info, which has a subform...
|
by: AccessIdiot |
last post by:
I was successful with help from another thread (this one ) in enabling and disabling a form/subform with a button. Essentially you press a button on the form and the form controls are disabled but...
|
by: Robert Jacobs |
last post by:
Please advise...
I currently have a Mainform (Customers) and a Subform (Service
Requests) with a one to many relationship (one customer, many service
requests) with a CustomerID that is unique...
|
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,...
| |
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...
|
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...
|
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...
|
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,...
|
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...
|
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...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 ...
| |