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: Katya85S
  • Content: Threads
  • Order by date
  1. Katya85S

    "Error on page" in date/time comparison

    I’m trying to apply javascript Timer I found on the Internet. That script works perfectly, but when I added my script lines to that code I got “Error on page” message on the status bar. What I’m trying to do: compare value from aspx’s textboxes txtEndDay and txtEndHour with system’s current Date...
  2. Katya85S

    Long Integer does not allow over 9 digit numbers. A way around?

    In access table i need a field that exceeds 9 digit numbers. And the field has to be a number-field, as the percentage will be calculated against this number. When i'm entering an over-9-digit-number i receive an error message: the value you're entering isn't valid for this field. For example...
  3. Katya85S

    EditCommandColumn and ItemCommand in one DataGread

    I need a few buttons in my DataGreed. One should work to edit record content (EditCommandColumn would be perfect for this functionality with its onEdit, OnUpdate and OnCancel commands features), and other buttons should perform functions different from editing, for which ItemCommand would do the...
  4. Katya85S

    Any formulas to get read of comas in numeric field?Right click->Format

    Any formulas to get read of comas in numeric field? Right click->Format Field won't help. To be particular, below is what i need in the project: I want to display numeric field in xxx-xx-xxxx format. The formula, lets call it @myFormating used is picture (cstr({myNumericField}), "XXX-XX-XXXX")...
  5. Katya85S

    Is it a MIN function?

    The select query consists of number of INNER JOINs and brings several records per CustomerAccount different by 2 fields: Day field and Balance field. What I need is: 1 record per customer. The record should have the lowest balance of the selected Customer and the earliest day. I thought min...
  6. Katya85S

    Can we pass a Parameter to a Stored Procedure?

    Is there a way to pass reports (Crystal XI) parameter to a stored procedure which is the report’s data source? Thank you all in advance :)
  7. Katya85S

    How to get the first row in combobox blank

    Hi guys. How do I get the first row in combobox blank. It's row source is a Select statement of a table: Select ID, Field1 from tblTable order by Field1. The combo box displays the Field1 value, starting from an 'A', but i need it to be a blank unless user specifies otherwise. thank you all in...
  8. Katya85S

    Linked table would not alow editing

    In teh Access database i have SQL Server Linked table. I'm trying to edit records directly from the table, but get an error message: "This record has been changed by another user since you started editing it". I know no one beside me is using teh database. Any ideas how to fix this? Thank you...
  9. Katya85S

    In 1 or in 2 tables?

    What is more efficient? There are Active Employees and Terminated employees records in the database. Should Active and Terminated Employees records be kept in one table or separated in two tables?
  10. Katya85S

    Dropdownlist has a SelectedValue which is invalid because it does not

    Perhaps somebody can help… In asp.net project (VB.net) I want to populate a dropdownlist, lst1, with a value from SQL Query, using SLQDataReader object. strSQL=”SELECT AppName, EmpNum FROM tblApp WHERE AppID=” & iAppID myConn.Open() Dim objCmd As New SqlCommand(strSQL, myConn) Dim objDR As...
  11. Katya85S

    DropDownList doesn't display the first item on the list.

    DropdownList and radiobuttonList are populated from sql server, using DataBinding. Somewhat neither of them shows the value of the first record. For example, if SQL query result is <John, Mike, Kim>, the radiobutton list will have just 2 radiobuttons: -Mike -Kim And the same with...
  12. Katya85S

    'Select Case' in MS Access queries?

    In a Query, field CustName, i need to substitude one value with another, but only if teh value="bla-bla-bla", otherwise teh query should show the real value of field CustName. How can i do that? Does MS Access Queries support something like SQL Server's Select CustName = case when CustName...
  13. Katya85S

    SLQ Server linked table would not show one field in access db

    In access application i have SQL Server linked tables. A couple of fields, and i can see them in SQL Server EM, does not show up in the linked table in MS Access. But i need those fields in my queries. What do i do? In QA i found that those fields have constrains: [update_type] [int] NOT NULL...
  14. Katya85S

    How do we create 2 dimensional array in Access?

    I've declared my 2-dimentional array as Private arr(x, 12) as Variant I need it to be accessible by different Subroutines on a form, so i have to declare it in the Declaration part (prior to all the subroutines) of the code page. This throws an error every time i open the form, press any...
  15. Katya85S

    How to insert &quot;&quot; string into Date/Time table field?

    I'm pulling data from .inf file to MS Access table. The application searches through .inf files, finds a key words, indicating, that the data between the key-words needs to be extracted into Access as Date/Time field and extracts this value. Let's say the value is assigned to VBA variable...
  16. Katya85S

    Can date field from Access tbl be transfered to a txt file in mm/dd/yy

    I'm transferring Access Table data to a .txt file. I want the Date field to hold only date information (mm/dd/yyyy format), but somewhat it transfers hours, minutes and seconds as well, although in the table dates are displayed in mm/dd/yyyy only. I've tried ShortDate format for the date field...
  17. Katya85S

    Dynamicaly transfer table to text with no quotes and not comma-delimit

    I'm transferring table to the txt file, but have to have no quotes around each field and have '|' delimiter instead of comma-delimiter. Is there a way to do this programmatically? P.S. I transfer the table using DoCmd.TransferText command. I would appreciate any advice. Thank you all in advance.
  18. Katya85S

    How to enable check box in DataGrid on Edit command?

    In asp.net project (vb.net), in dataGrid I use CheckBox: <asp:TemplateColumn> <ItemTemplate> <asp:CheckBox id=chk Enabled=false runat="server" checked='<%# DataBinder.Eval(Container.DataItem, "Display") %>'> </asp:CheckBox> </ItemTemplate> </asp:TemplateColumn> It is...
  19. Katya85S

    How to place cursor on the selected DataGrid’s BoundColumn

    How to place cursor on the selected DataGrid’s BoundColumn: <asp:BoundColumn DataField="NewEntry" Visible="false" /> Users clicks on an EditCommandColumn button: <asp:EditCommandColumn EditText="Edit" ButtonType="PushButton" UpdateText="Submit" CancelText="Cancel" /> This makes that...
  20. Katya85S

    How to get last record of each employee?

    How can I select employees' last title (a record of the last promotion) from SQL server database? As employee gets promoted new record is added to the database with new EmpNum (the number gets increased). I thought max function should do the trick, but my query brings all records. SELECT...

Part and Inventory Search

Back
Top