Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Michael57
  • Content: Threads
  • Order by date
  1. Michael57

    Declare an integer

    I have some code that subtracts to items to get a result HRDIF and this code works fine until I add a where statement that asks to show only records wher HRDIF is >0. At this point I get an error "Conversion failed when converting the varchar value 'HRDIF' to data type int." How can I stop this.
  2. Michael57

    Write to a temporary table

    I was told you can write the output of a query to a temporary table to be use again with some other query. How can this be done.
  3. Michael57

    Ask for a variable in a query

    In access you can ask the user to type in a variable when the query starts that will be used to execute the query. How is this done in sql
  4. Michael57

    Microsoft Office Sharepoint Designer

    Im creating a aspx page in ms sharepoint designer and I would like to know if there is a way to hook up a button to activate an sql query in a microsoft sql database.
  5. Michael57

    Create table and update

    I want to create a table with an sql script that will take only some values from another table. How can I do this.
  6. Michael57

    Link and update a table

    I need to update a field in one table "Work" based on a value in another table "Job". The two tables should be linked by the field "job#". I want script to update a field "status" in table Work based on the value of "status" in the table "Job". Can anyone please help me on this. Thanks in advance.
  7. Michael57

    Need to outp a value based on criteria in data

    I need to output a value of 0 for COSTDIF whenever PMCATGT.COSTTYPE is = LAB in the following program but I'm not having any luck. Help is much appreciated. Select PMCATGT.CONTRACT,PMCATGT.PROJECT,PMCATGT.COSTTYPE,SUM (PMCATGT.CURQTY) AS BUDGETHRS,SUM (PMCATGT.ACTQTY) AS ACTUALHRS,SUM...
  8. Michael57

    Add a subtraction result to a query

    I have a query that produces a form and I would like to have the query put out a column that basically subtracts one column from the next. I would like to create a field that subtracts SUM (PMCATGT.CURQTY) AS BUDGETHRS from SUM (PMCATGT.ACTQTY) AS ACTUALHRS. I can't get this working. My code is...
  9. Michael57

    Label that is conditional on other field

    I would like to generate a specific title on a report that is dependent on a value of a field in the report. So if a value of 30 comes up I want the title to be "OPEN" and if the value is 60 I want the title to be "CLOSED".
  10. Michael57

    Create a report from sql query

    I would like to pull data into a report from an sql query but not sure how to make the link. I'm using sharepoint designer to generate web reports but I can only connect to tables. How can I start the query and access the data from the query to go into the report?
  11. Michael57

    Query tables with relationships established

    I have two tables that have relationships established but when I query the data it is as if the relationship does not exist. Do I have to restate the relationship inside the query?
  12. Michael57

    Query of a query

    I have created to queries and from two diffent databases and saved them. SQL saves them in the project folder. How can I create a query that uses the results of the two queries?
  13. Michael57

    Add a page for lookup up data in sql

    How do I add an page to sharepoint for looking up data in sql
  14. Michael57

    ACCESS 2007 and ACCESS 2003 user level security

    How can i get the user level security set up on an access 2003 data base to work in access 2007
  15. Michael57

    Vista access to infopath form on sharepoint

    I recently purchased a newlap top with Microsoft Vista. I use to be able to go on the sharepoint web (located on a server 2003 Server) open the form template fill it in and submit it to an sql database. Now I'm not able to open the form. I get on the sharepoint site ok but when I try to open the...
  16. Michael57

    file attachment field

    I'm creating a form in infopath that is hooked up to an sql table. I would like to have a field for an attachment in the table. What datatype is an attachment file.
  17. Michael57

    Lock an individual record to prevent future editing

    I have a data base for a form that is created by one user and passed on by another user for approval. What can be done to lock the record once it has been approved by the second person
  18. Michael57

    Digital Signatures

    I'm trying to create a form in Microsoft Info Path that is attached to an sql database and I would like to have it digitally signed;however in Info Path it says the following: When designing a form, you can specify whether or not users are able to use digital signatures (digital signature: An...
  19. Michael57

    Can't change record opened by another user

    Every time I try to add or change some fields in a record I get the message that the record is opened by another user but there definately is no one else in the database.
  20. Michael57

    Getting a field from a table

    I have some code that creates pdf files for quotes based on a range set in a form. Right now i write out the pdf files using the quote number as the file name. I get the quote number from the form. I would like to be able to also add the customer name to the pdf file name. How can I generate...

Part and Inventory Search

Back
Top