Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all 13329 articles
Browse latest View live

Help on Datasheet form - More tricky than it sounds

$
0
0
I am trying create an order form that looks like an Excel spreadsheet. The sheet has the following fields(Columns): product no, product name, product category all coming from Products table. Now I want to have more columns that will have :Trays(How many trays of the product is required). Pkts( How many packets required), Notes (Notes on the product).
Once the user enters all the quantities required(There may maybe products that will not be required), this datasheet needs to be save to a OrdersDetails table with OrderID as the reference.
I have a main form with the following fields: OrderID, OrderDate, RequiredDate, ShopName, OrderStatus, OrderNotes that is Orders table. I have the OrderID in Orders table referenced to OrderID in the OrderDetails table.
What I don't know is how to create the Order form in Datasheet view and then to save it to my table OrderDetails.
I know how to use Form Wizard, and to create datasheets, but I am not able to do what I describe above. I am not sure if I will need a combination of VBA and SQl to solve this.
Any help to point me in the right direction will be much appreciated as I have been struggling to get this simple database running.

Parameters causing no records to show when running a query - help!

$
0
0
Hello

I'm using Access 2003.

When I run the following query, it returns no results regardless of the data I input, however if I leave the parameter windows blank, all the data is shown. I can't seem to crack this.

Please see below the following SQL:

Quote:

SELECT DISTINCTROW Table_Department.Department, Table_Facilitators.Shift, Table_Briefings.[Week Commencing], Table_Briefings.Month, Table_Briefings.Year, First(([Table_Briefings].[Performance]+[Table_Briefings].[News]+[Table_Briefings].[People])/3000*100) AS Average_Content, First(([Table_Briefings].[Preparation]+[Table_Briefings].[Body Language]+[Table_Briefings].[Voice]+[Table_Briefings].[Questions]+[Table_Briefings].[Facilitation])/5000*100) AS Average_Delivery, First(([Table_Briefings].[Interaction]+[Table_Briefings].[Attentive Audience]+[Table_Briefings].[Colleague Feedback])/3000*100) AS Average_Engagement, Avg(Table_Briefings.[Total Time]) AS [Avg Of Total Time], Avg(Table_Briefings.[Colleagues Briefed]) AS [Avg Of Colleagues Briefed]
FROM Table_Facilitators INNER JOIN (Table_Department INNER JOIN Table_Briefings ON Table_Department.[Department ID] = Table_Briefings.[Department ID]) ON Table_Facilitators.[Facilitator ID] = Table_Briefings.[Facilitator ID]
GROUP BY Table_Department.Department, Table_Facilitators.Shift, Table_Briefings.[Week Commencing], Table_Briefings.Month, Table_Briefings.Year, Table_Briefings.[Department ID], [Please enter Date - Part 1 of 3], [Please enter Date - Part 2 of 3], [Please enter Date - Part 3 of 3], [Please enter a Department]
HAVING ((([Please enter Date - Part 1 of 3]) Is Null) AND (([Please enter Date - Part 2 of 3]) Is Null) AND (([Please enter Date - Part 3 of 3]) Is Null) AND (([Please enter a Department]) Is Null)) OR (((Table_Department.Department)=[Please enter a Department]) AND ((Table_Briefings.[Week Commencing])=[Please enter Date - Part 1 of 3]) AND ((Table_Briefings.Month)=[Please enter Date - Part 2 of 3]) AND ((Table_Briefings.Year)=[Please enter Date - Part 3 of 3]) AND (([Please enter Date - Part 1 of 3]) Is Not Null) AND (([Please enter Date - Part 2 of 3]) Is Not Null) AND (([Please enter Date - Part 3 of 3]) Is Not Null) AND (([Please enter a Department]) Is Not Null));

Senior Hyperion Developer

$
0
0
We have a full-time position currently available in one of the southern states for a Hyperion Essbase or Hyperion Planning developer (5 years full life cycle with Essbase or Planning, plus experience with system 11.x). Note: I think someone from the Finance side who has become a power user of Essbase or Planning might work for this position presuming other requirements are satisfied.

The position includes a competitive base salary, an attractive equity position, bonus, and a very impressive relocation package by anyone’s measure.

I cannot provide more detail in my emails or postings, but I will certainly provide them if you are qualified, and interested — we can arrange a phone discussion.

Visa sponsorship is not being offered.

Other requirements include the following:

• Understanding / acumen of finance with a strong knowledge in planning, forecasting, and the accounting close process

• Knowledgeable in both BSO and ASO Essbase design and build


• Strong knowledge of EPM infrastructure design

I can also provide information on the company culture, job responsibilities, and career path. Contact me, Daniel Barber. Office 610-847-2143 or email dbarber@nichetech.com

Sub Form Call

$
0
0
I have a form where I have a save button and it ensures that people have to fill out specific information in order to save and close the form. It works great, but I need to be able to do the same exact thing with the form referencing a sub form and I am not very good when it comes to that. The current form name is Action_Form_Liq and the subform is Action_Form_Liq_Sub.

Here is the code that I have used, I just need help updating it to reference all the same fields in the sub form.

If Me![Exceptions] <> "Submitted" And IsNull(Me![Exceptions]) Then
MsgBox "You must enter an action before you exit this record"

End If

If Me![Exceptions] <> "Submitted" And IsNull(Me![Exceptions_Description]) Then
MsgBox "You must enter an Exceptions Description before you exit this record"

End If

If Me![Exceptions] <> "Submitted" And IsNull(Me![Exceptions_Notes]) Then
MsgBox "You must enter a note before you exit this record"
DoCmd.GoToControl "Exceptions_Notes"
End If


If Me![Exceptions] = "Submitted" And IsNull(Me![Exceptions_Notes]) And IsNull(Me![Exceptions_Notes]) Or Me![Exceptions] <> "Submitted" And Not IsNull(Me![Exceptions_Notes]) And Not IsNull(Me![Exceptions_Notes]) Then
DoCmd.Save
DoCmd.Close
End If

Thanks for any help!

Questions on theory

$
0
0
Hi Folks,
Can you please help me to get the answers of below questions.
1.What’s the asynchronus prefetch ? How it is helping in performance enhance?
2.Apart from query plans, What else resides in proc cache ?

sql plus transactions ...

$
0
0
Hi,

When a user clicks on Save Button on a form, can we know from sql plus (Oracle) all the related queries (insert/Update etc)

for that transaction ??

Please let me know.

Thanks ...

MONTHNAME(date) gives month's name in English instead of Spanish

$
0
0
DB2 9.7 FP 6
Windows Server 2008 R2


We recently changed from DB2 9.1 to 9.7. On DB2 9.1 the command
SELECT MONTHNAME(CURRENT DATE) FROM SYSIBM.SYSDUMMY1
gave the name of the month in Spanish. After the upgrade it changed to English.

We made a offline backup on 9.1 and a restore on 9.7. The configuration of the database hasn't changed.

Actual configuration of the database:
Database territory = Lat
Database code page = 1252
Database code set = IBM-1252
Database country/region code = 3

I found that
SELECT MONTHNAME(CURRENT DATE, 'CLDR 1.5:es_ES') FROM SYSIBM.SYSDUMMY1
gives the name of the month in Spanish.

Is there an easier way?


Thanks in advance.

SQL Injection and SPs

$
0
0
Hi,
I need some information from someone that is an expert in MSSQL and SQLI.
I wanted to know if SQLI is possible through systematic stored procedures of MSSQL?

Thanks,

Copy Form Record with Multiple Sub-Forms

$
0
0
Can someone help me, I have an access form with multiple sub-forms on it that saves in multiple tables. A person goes in this form and enters all the information on a specific job, unfortunately many times the same information may be put in multiple times. Same client, same address, etc. We would love to be able to have a command button that would copy an existing record and create it with a new ID (basically a copy and paste) and then we can go in and just change the items that need to change. (VBA) Right now the data goes to a Property table, Invoice table, Client table, etc. and there is a sub-form for each of these. Thank you for your help.

You do not have access to the database at this time

$
0
0
I have a front - end application that performs fine - compiles etc. Problem is that once I go into design view of any form and then save my changes (the changes are in fact saved) the next time I try to make changes I get the file is in use by another user, etc. and i cannot save my changes. if i exit and come back in - I can make a change or a series of changes - but once I save those changes i have to go out and back in to make more changes.

The Laccdb file is being deleted correctly so there are no issues with the hanging laccdb file. I can make these changes to the objects (any object) design or in the VBA project - hundreds of edits/modifications/changes if I desire and click save and everything saves. But to try another change - the messages start popping up - and i have to exit and come back in to make changes.

In your opinions should i just create another container and import my objects - I have not tried the decompile swith yet - so perhaps i will do that after this post.

New to site and need help

$
0
0
I am new to the site and need some help. I have a file that I was told is in SQL format and I need to make it a readable format. I am decent with computer knowledge. This is time sensative and can effect me greatly. I have tried reading how to do it before adn cant figure it out.

I am asking if anyone out there could attempt to do it for me it would help me out a lot. Let me know and I can explaint the situation before you decide. And yes everything I am doing is legal its just personal.

Access report date shows ######

$
0
0
Hi all, new member here.

I am using a database program set up by someone else years ago.

When I run a Job Cost report for certain months, all the dates in the Date field on the report are suddenly showing as #######.

Example:

Date Task hours cost
######## setup .75 $35.00
######## grind 1.0 $78.50
######## coat 1.5 $127.50
etc.


Some months are just fine, ie all of October shows proper dates, but all of November will show #######.

I assume this is due to a bad record in the Task entry database, but I have no idea what to look for.

I realize this is very general info, but I am hoping someone has seen this before and can point me in a direction to start looking.

Any help is much appreciated.

Update a table using a form and a specific ID, Access 2010

$
0
0
Hello,

I have been attempting to build this for a few days and decided to scrap my original design and attempt something different.

I am trying to update data in a table for a specific ID. However, in my form, I would like to bring up data based on a REG# and a ServiceBulletin. I would like those two variables to filter all of the data on the form. I would then like to update the work order and completion date for the REG# and ServiceBulletin and save it to the specific ID.

Any help is appreciated.

DSNUTILB LOAD and NEXTVAL

$
0
0
Hi,
Is it possible to code NEXTVAL to get a sequence number from a sequence object in the Load control statement while loading using DSNUTILB?

The fol. does not work

LOAD DATA RESUME YES LOG YES INDDN SYSREC00 INTO TABLE
SCHEMA.TABLE
(
USER_UID (NEXTVAL for SCHEMA.SEQOBJECT), PIN POSITION( 1 )
CHAR( 6)
NULLIF( 7)='?',

Thanks in advance

blindman stumped by trigger and identity issue.

$
0
0
The blindman is totally stumped!

I've run into a situation that looks absolutely crazy to me. Makes no sense at all.

We're trying to replicate some data tables, which means they must have primary keys. Two tables do not have natural key candidates. They contain duplicate records. So I added an identity column to the end of each table.
These tables each have triggers on them for creating records in matching audit tables. I modified the triggers to enumerate the columns, and the one of the tables works fine. The second table does not. The trigger fires and populates the audit table for manual edits, but attempting to inserts record through the application does not work. The application fails to insert records to either the primary or the audit table.

So to debug, I backed out a ways, and then started adding bits and pieces while continuous testing:

Overview:
The application inserts to table A.
A trigger on table A inserts to table B.

Tests:
Added nullable int column "ID" to table B.
---Manual inserts to table A work. Audit records are created in table B.
---Application inserts to table A work. Audit records are created in table B.

Changed ID to non-nullable, default 1.
---Manual inserts to table A work. Audit records are created in table B.
---Application inserts to table A work. Audit records are created in table B.

Changed ID to identity column.
---Manual inserts to table A work. Audit records are created in table B.
---Application fails to insert to either table A or table B.

Changed ID to GUID, default newid().
---Manual inserts to table A work. Audit records are created in table B.
---Application inserts to table A work. Audit records are created in table B.

So what gives? What could possibly cause an application to prevent an identity value from being generated in a table that it does not touch, on a column that it knows nothing about?

Any suggestions?

need help for a Database in a Money transfer business

$
0
0
i have my own dbase here, is this correct:

branch(branch_id,branch_name,branch_address)
teller(teller_id,teller_name,branch_id)
client(client_id,client_name,client_address,teller _id)
sender(sender_id,client_id)
receiver(receiver_id,client_id)
sender_receiver(id,receiver_id,sender_id,amount)

branch has one or more teller.
teller has one or more client.
client has one or more sender or receiver.
sender and receiver has one sender_receiver.

money transfer business is a kind of business where a sender can send money to the recipient and the recipient can claim money from the sender thru the help of the teller.

:eek:

Brett Kaiser

$
0
0
I just got word that Brett passed away a few days ago.

Brett was a long time denizen of DBForums and a friend of mine.

He will be sorely missed.

-PatP

ODBC driver

$
0
0
I am having trouble connecting to an Oracle DB via MS Access.

Windows 7 64 bit
Office 2010 32 bit
ODAC 11.2 Release 5 32 bit

SQLPlus connects to db using TNSNames

When I run 32 bit ODBC (C:\Windows\System32\odbcad32.exe) no Oracle driver available.

I previously installed ODAC 11.2 Release 5 (11.2.0.3.20) Xcopy for Windows x64 and I have an Oracle driver driver available via 64 bit ODBC (c:\windows\syswow64\odbcad32.exe) but the 32 bit Access cannot use the 64 bit driver.

Help anyone? I am going round and round in circles!

Pretty please ;)

Addind a new column using query

$
0
0
I have table A, i want to make a query for creating table B which will insert some of the columns of Table A and add new columns also ti table B, which are not the part of able A?
How Can i do it in one query

Beginner needing help!

$
0
0
Ok, so I am very new to this. I am just creating a simple database to add books (title, author, etc) and view them. I have done the add form and it is saving them into a table. However, I am stuck when it comes to wanting to view all the books i have entered, in a form. I want it to come up with all the titles of the books i have entered, and then a place where i can select a certain book and it will take me to another form that I can view all the details that have been entered into the database for that particualr book.
Viewing all 13329 articles
Browse latest View live