Searching For Data In Siebel Database

May 13, 2008

I'm trying to write a macro in Excel that will search certain values a Siebel database. I'm already working with a macro to ADD data to the database, so I have all the connections taken care of. But now I need to pull data from it. In looking for how to do this, I see the setsearchspec method that I need to use to set up the search then the ExecuteQuery to run it to get the pointer. But before that, I have to create the referencing object. I've noticed in several examples here and on a couple other sites, these two lines:

Set busObject = SiebelApplication.GetBusObject("Revenue")
Set busComp = busObject.GetBusComp("Revenue")

So here's my question: in all of the examples I've seen, they used "Revenue" as the argument for these methods. Does it really matter what we use there? Or this just essentially a place holder? I've looked at some of the online documentation and was unable to glean an answer from that.

View 2 Replies


ADVERTISEMENT

Setting Up And Searching Database

Dec 20, 2009

I want to setup a worksheet that I can search the name of the comic book and the number of the book and have the results underneath the search criteria. I am attaching a sample workbook. On the search database sheet, I have setup how I would like the page to look.

The spots where Enter Comic Name and Enter Comic Number I would like to act as search boxes, as in Google.

I would like the Search and Clear to be buttons.

Is it possible to return the results I want? And can I keep my searches until I push the clear button? If not I will get rid of the clear button.

The last thing I want to see if possible is once I get a result, can I add a button to go to that comic books location to enter data. Or add a save button so I can edit any info right on the search page and save it in the database.

View 6 Replies View Related

Searching Database And List Corresponding Range In Row?

Nov 28, 2012

I'm trying to make a userform to show the results of a search from column A. This code will search the coulmn but when the results show it show's all ranges not just the ones that contain the string

VB:
Private Sub BtnFind_Click() Dim strFind As String
Dim c
Dim rSearch As Range

[Code]......

View 2 Replies View Related

Searching For Results In Database With Certain Restrictions

May 28, 2014

I've got an question about using excel macros to search for information in a database with certain restriction. In my attachment you can see an example of the database I use.

Example.xls

I've got a database with certain packages, the length and the width of these packages is known.
I've also got a database with certain products, the length and the width of these products is also known.

I want to use a macro which allows me to see which packages are useable for a certain product. A package is useable if the length/width is less then 10 bigger then the product. So in the example if the width is between 10~20 and the length between 40~50.

Originally I thought I could use a macro with advanced filter and having restrictions width >10 <20 and length >40 <50. But I can't fit this in as macro because I already get the width and length from the product from another database and macro so it can't say >40 only 40.

View 4 Replies View Related

Searching Database Using Textbox On Userform

Feb 12, 2014

I have created a form that will add new records to a database. On the database there is a predetermined ticket number. The "Create" form looks for the first blank row and adds the information on the form the database.

What I am trying to make happen is when a "Ticket Number" is entered in the appropriate field on the "edit" form, the "Date Raised" and "Raised By" fields populate based on the information stored on the row for the ticket number enter.

View 3 Replies View Related

Add Siebel Records To Sheet

Feb 13, 2008

I have a question with vba coding in excel. There is a Refresh button in my Excel Sheet. Once I click Refresh button, I fetch data from another application called Siebel. I am able to go this far. I fetch multiple records from Siebel.. I need to add them all in excel sheet. I get five columns for each record I get from Siebel. I need to add them accordingly to excel sheet.

View 6 Replies View Related

Date Comparison From Siebel

Feb 14, 2008

I have an issue in comparing 2 dates. It gives a data type mismatch error

Private Sub TextBox12_Click()
Dim siebApp As SiebelWebApplication
Dim siebBusObj As SiebelBusObject
Dim revBC As SiebelBusComp
Dim isRecord As Boolean
Dim sRep As String
Dim sCompany As String
Dim sLocation As String
Dim sStep As String
Dim sProb As String
Dim sDate As String
Dim CurDate As Date
Dim RetDate As Date
Dim datmins As Integer
CurDate = Now()
Const DateCol = 9
RetDate = ThisWorkbook. Sheets("Users"). Cells(DateCol)
r = ThisWorkbook.Sheets("Users").Cells(65536, 1).End(xlUp).Row 'Get next blank row
ThisWorkbook.Sheets("Users").Cells(r, DateCol) = CurDate....................

I have highlighted in bold where i do the date comparison. Here are the date formats [Last Updated] = 2002-11-08 13:19:03.000

[RetDate] = 2/13/2008 15:59:18

View 3 Replies View Related

Searching And Transferring Data

Jul 29, 2014

I'm trying to print score cards from the scores sheet (two different worksheet pages). Some score cards (each score card is one page) will only have 3 players and some will have up to 5 players so I can't just go down the list and use a formula to transfer data line by line. I will set the score sheet up I just all of hole 1 players to be printed on a card and so on with hole 2-18 also I need First and Last names on the cards and possibly score total by the name.

Graphic1.gif

View 5 Replies View Related

Searching Data Using A Userform

Jul 4, 2009

I am looking to enter a numeric value these are the green columns. it then needs to search the workbook for that number (Barcode Number).

then if the cell to the right has a value, it needs to pull that number into the userform' if no number is next to it, then I manually write and post it the cell next to the one just found..

View 5 Replies View Related

Searching For Multiple Data

May 24, 2006

I have been using the VLOOKUP function to search a table of data for a specific value in order to then give me the corresponding data associated with that value. I can do this and it works!!

However, as I am searching for names some people have more than one set of data and the VLOOKUP only finds either the first set of values (if the FALSE command is used for ‘range_lookup’) or the last set of values (if the TRUE command is used for ‘range_lookup’). I have attached a small example:

How can I get all values to be displayed?

I know that this may have been explained horrendously but I have written and re-written this several times and this is the best I can get!

View 9 Replies View Related

Creating Images Database Where Pics Are In Excel Database

Mar 31, 2004

I am currently trying to create a database of products for my company. For each product I would like to include an image associated with it. I then want to have on another sheet a place where the user will click an error and be able to cycle through the products. As tehy cycle the associated image will pop up.

What I need to understand is after importing the image into excel, how do I associate that image to a cell so I can reference it in another sheet of the database. I am not concerned with how large the database will get, my pictures are quite small.

View 4 Replies View Related

Database Named Database And Return A Time In Column

Nov 7, 2008

I'm trying to lookup a database named database and return a time in column A, based on criteria in cells a1 and b1 on another sheet, A1 would contain a number and B1 would contain a day from mon-fri

eg of Database
A B C D E F G
10:00 5000 Mon Tues

11:00 5000 Wed Thur Fri

and so on

if a1= 5000 & b1=Wed
how can I return 11:00

I have tried index and match =index(a:a,match(a1&b1,b:b&e:e,0))

View 9 Replies View Related

Hiding The Rows While Searching Data

Feb 19, 2010

I am looking for some help with my data, I have this excel sheet in which i have certain abbreviations and answers to some questions which we use on our daily job. Now what i want to do is create a search box on the sheet and find the matching Abbrevation on the complete excel. The trick here is to hide every thing else when i search for some thing and see only for what i want to see in order to not to get confused. I am attaching the excel to give an idea to what i am looking for.

View 2 Replies View Related

Got Error When Searching Data From Worksheet?

Feb 25, 2014

I have got a UserForm to search data from worksheet and show it in userform.

In my search userform, the data is searched by first selecting " Year " and then " Batch Number " (Two Batches runs in a Year) so I filled combo boxes with "Batch 1" and "Batch 2"

for example "Year 2013 " would have "Batch 1 and Batch 2"
"Year 2014" would have "Batch 1 and Batch 2"

In my worksheet, it has Data for "Year 2013" and data for "Year 2014" has not yet been inserted.

The Problem is that when In the Userform I select " Year 2013 " and select Batch 1 or 2 it shows data in list box and in textboxes.

But when I select "Year 2014" and select "Batch 1" or "Batch 2" it gives error. I know there is no data for "Year 2014" yet in the worksheet, but I want it should not give error in vba coding, But It should display MsgBox "No record found"

I have attached worksheet and userform. Book A1 (1).xlsm‎

View 1 Replies View Related

Text Searching Data Matching

Aug 20, 2012

I have very large spread sheet with alot of data. My goal in this is to create a seperate simplier spread sheet with some basic information to work with day to day chasing.

My spread sheet will consist of 1 work book but to pages page 1 the main with all the info page 2 the simplified version.

The first column in the first page consists of company names. The first column in the second page is also company names. What I want to do on the second page is take certain pieces of data from page 1 on page 2 as well.

So for example page 2 column 1 will have company name and column 2 will have certificate number. On page 1 the certificate number is column 16

What I would like is for page2 to column 2 to do is search for page 2 column 1 text in page 1 and input the value of page 1 column 16.

View 1 Replies View Related

Excel Data Using Cells Input To Filter Data And Producing Database Style Reports

Aug 6, 2013

Trying to use Excel Data List to create a database style report. IE. Originally blank sheet, which is only populated by data containing data matching "filters" input into cells ( say A1 & A2 )

I.e. A1 = Delivery week to be filtered by, and B1 Manufacturer Name

So if I type week "1" into A1 & Manufacturer "Microsoft" into A2, it will show a table only containing data Microsoft, Week 1, and associated data for those lines across the screen.

Week 1
Microsoft

PO number : Date Ordered: Address 1, 2 3 etc....

0011 01/01/13 Somewhere
0015 02/01/13 Anywhere
0213 05/01/13 Nowhere

I know this is much easier with a database, however my manager insists a database cannot be used, and it must be in a spreadsheet format !

View 3 Replies View Related

Searching Data In Google To See If Linked To Website?

Jul 22, 2014

I'm trying to see if there is a way to speed up the process of doing multiple Google searches to see if I can find a website attached to a text. I have a list of websites, and am trying to update the list to remove dead/inactive sites, and also find the URLs for the live sites.

The list looks like this (sample):
Comstock, Inc.
ConNuestroPeru
Contacto Latino
contentSutra
Core States
Crains Chicago
Crains Chicago Business
Crains Detroit
Crains Detroit Business
Credential
Crescent-News.com
Crowell Weedon

Thus there's no website attached, and I need to manually find the URL myself. There are over a thousand cells in the list.

How to speed up the process of finding a url for these websites?

View 1 Replies View Related

Clense Data By Searching For A Unique Field

Feb 19, 2009

THE UNIQUE FIELD WILL BE THE "ARN" COLUMN

Each week / month I will get updated data which I will paste into the "updated data" tab. I then have a formulated tab that pulls through the information, performes some checks then calculates payments. Some records will be ready to be paid and some wont. Anything with a total claim amount will need to be paid so

1st button - Once I have pasted my data in and the sheet has calculated I need a button that copies any row from column a to y on the formulated tab that has a total claim amount. i then need the copied rows to be pasted into the paid tab and then for them to be removed from the updated reports tab. This will just leave data with totals in the paid sheet and data with none still in the Formulated tab

The following month / week I will receive another download which I will paste into "Updated reports". This data will contain records that have already been paid and once the formulated tab has calculated these records will show in the duplicate column so....

2nd Button - Anything that has a total claim amount and has a duplicate flag needs to be deleted from the updated reports sheet so it is not paid twice.

View 6 Replies View Related

Searching Multiple Worksheets And Retrieving Data

Aug 27, 2009

I have two lists. One is a database (Worksheet 2) with a lot of information, and another is the list (worksheet 1) I need to fill up the data for. What I want to do is to search for the names that are in worksheet 1 in worksheet 2, and if there is a match, retrieve the missing data in those rows, and paste it back into worksheet 1. For example:
Worksheet 1: Joe
Tim 23
Matt

Worksheet 2: Alex 45
Joe 23
Mark 47
Tim 44
Matt 24

I basically want it to be able to search for the corresponding name, and then pull the number associated with it.

View 2 Replies View Related

Searching Data In Two Columns And Combine Results In One Row?

Jan 13, 2012

I have two sets of data, and one colum in each set is titled ID numbers. I would like to search both those colums and combine the matching ID numbers in one row?

View 2 Replies View Related

Sum Database Totals But Only If 2nd Database Greater Than X Number

Oct 17, 2013

I've used a countifs, but I'm having trouble doing a sum in a similar way. I have 2 databases and I will try to explain below. I need the to sum the values of database 1 if the second database is >= 20. So the value I would expect on this example would be 900. I would also like to be able to highlight which ones are elliminated. Such as coloring the text red.

Database 1

Eric 100
Jenny 200
Gina 300
Doug 400

Database 2

Eric 18
Jenny 20
Gina 34
Doug 55

View 5 Replies View Related

Copying Data And Pasting Data To Update Database

Jun 3, 2006

I have a workbook with a database of 15 different products. We receive information with current prices for each of the 15 products on a weekly basis. This info comes in one single worksheet. I have created a different file with one worksheet for each product to track price behavior over time. I need to update these database everytime I get a new report. What I was trying to do is to develop a Macro to copy the data from a "Master" worksheet that includes all 15 products info to the respective worksheet for each product. Information is sorted in columns having the most recent date in the lowest column. I would need the Macro to copy the new data below the last price for each product. I would copy the data into the "MAster" worksheet, then run the Macro who would copy each row and paste it in its respective worksheet in the row rightafter the previous one.

View 4 Replies View Related

Searching And Displaying Data Records By Search Criteria?

Jul 23, 2012

i am trying to create an easy to use search by macro VBA in excel.

I have a sheet of information where i need to find the data records from either one of the 2 search criterias: Name and NRIC.

Once a user enter either of this 2 search criterias, i need a macro to search through the data on Sheet "List" and return the results on the Sheet "Search".

Within the list, a search criteria may appear more than once, the search results should display all of the records row by row on Sheet "Search".

Would it be better to create a user form?

View 3 Replies View Related

Searching For Values Greater Than Zero, Listing 3 Of Those Data In Order

Nov 2, 2008

Below is what I currently have on my excel spreadsheet:

1.
2. Input Column 3
3. 0 No
4. 2 Yes_2
5. 0 NO
6. 0 NO
7. 0 NO
8. 2 YES_6
9. 0 NO
10. 1 YES_8
11. 0 NO


The spreadsheet starts by the user inputting numbers ONLY in column 1 (under input). The rest is done automatically by implementing equations. Column 2's equation is easy, if the value of column 1 is greater than 0, return YES_(row number). In addition, the maximum number of Yes's in column 2 is three (constraint).

My problem is that I need a 3rd column, consisting of only 3 rows that search for YES_1, YES_2, and YES_3. The 3rd column's equation is easy, I will simply use the Vlookup function for YES_1, Yes_2, and Yes_3. Therefore the PROBLEM IS: I need column 2 to output YES_1 (in row 4, from the example above), YES_2 (in row 8) ...etc. This would mean chaning the basic IF equation that I have which simply sees if the value in column 1 is greater than 0 then outputting "YES_the row number".

View 3 Replies View Related

Searching Columns For A Month Then Moving Data To Userform

Mar 17, 2014

I have an excel spreadsheet where the columns have the 12 months of the year in Row 1. What I need is code that will find the month (from the column) which I select (via a listbox in a userform) and then go down that column and move the data that corresponds to that month to the userform.

So, If I select January from my userform, all data below January will then be moved to the userform and the same thing will occur with each month I select. I know how to move the data from the sheet to the userform, I just don't know how to match my data with the selected month.

View 3 Replies View Related

Searching And Replacing Edited Data Back Into A Table

Jan 10, 2014

Basically I've got a back end worksheet with a huge table full of data (hundreds of rows, tens of columns) containing the data for a load of different contracts (each contract is on a different row).

I have all the information I want displayed on a front sheet by means of very simple lookups which looks for one contract at a time to display that information. What I would like to do is to be able to alter that information on the front sheet which will then go back and lookup that entry in the big table and overwrite the old data with the new. Effectively I want the excel sheet to act as a user form, but without actually using a form (a requirement from the people I'm doing this for). I'm struggling to find out how to do this as I don't know which VB functions I would need to use.

Each contract has its own unique reference number, so really what I need is some sort of code that will look for that reference number in the back end table, then look for any differences between what's on the front sheet and on the back end, and then replace anything that's changed.

View 4 Replies View Related

Delete Rows In Txt Input File BEFORE Searching For Data

May 6, 2009

I read in a txt file with the code below. There's some kind of special character in the last 3 lines of the input file that makes the macro crash. I don't need anything in those 3 rows. How can I delete them before my Do Until loop?
-----
Sub Mytxt()
Dim Mytxt As String
Mytxt = Application.GetOpenFilename(FileFilter:="EXCEL files (*.txt),*.txt", Title:="Open the Report file you need")

If Mytxt = "" Then Exit Sub
Workbooks.Open Filename:=Mytxt
Open Mytxt For Input As #1
i = 1
Do Until (EOF(1) = True)
Line Input #1, tempstr
Cells(i, 1) = Mid(tempstr, 23, 5)
Cells(i, 2) = Mid(tempstr, 25, 1)
Cells(i, 3) = Mid(tempstr, 33, 3)
i = i + 1
Loop
Close 1
End Sub

View 9 Replies View Related

Create Tab By Searching Data From One Tab Using Data From Another?

Jan 17, 2014

I need to search the beginning of all of the numbers in the apn column on Tab B with the numbers from the APN 1 column. When a match is found then that row will be copied to a new tab named after the Description row on the Tab A tab.

View 4 Replies View Related

Searching And Editing - Add Information To Specific Rows Of Data In Worksheet

Jun 11, 2014

I am working on a project that I feel should be relatively simple but I seem to be stuck. My Goal: To add information to specific rows of data in the worksheet. I want to use a user form, and eliminate as much typing for the user as possible. I have already designed my user form, and written the code to identify the row in which I want to edit. Nonetheless, I do not know how to code the insertion of the new data. The data I want to add will be in empty cells at the end(right) of the data table.

I have attached a portion of my data set.InsertQuote.jpg

Here is where I am. The words in red are just colloquial words that I cannot seem to put into code.

Private Sub CmdInsert_Click()
Dim Company As String
Dim PartNumber As Variant
Dim Condition As String

[Code] .....

View 1 Replies View Related

Add Data To A Database?

Oct 12, 2013

I have spreadsheets supplied by clubs to add data to a database. I am not a spreadsheet user,

Today I have a spreadsheet with the columns A to M repeated in the width of the spreadsheet.

How do I reduce that to one display?

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved