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

    How to link same fields from two different recordsets in VBA Access

    I have two recordsets. Each one of them has the fields: "Product" and "Location" and some other fields shown below. recordset 1: Product Location LW WK2 WK3 WK4 1 10 2 20 recordset 2: Product Location LW WK2 WK3 WK4 1...
  2. Jawad77

    How to copy fields values from a crosstab query and put it in a table?

    I have a cross tab query whose output looks like this: Product Location 11/5/2004 11/12/2004 11/19/2004 1 1 20 10 30 2 1 100 40 50 I like to copy these values from my cross tab query and put them in a table with the following...
  3. Jawad77

    How to Locks Records in a textbox control Conditionally!

    I have a texbox control "RP_tbx" on my form that shows all records at the same time (continuous form view). I like to lock only records(values) in my "RP_tbx" textbox field that have a fiscal week less than the current fiscal week. Here is an example: FiscalWeek txtbox Feild1 txtbox...
  4. Jawad77

    rst!Find First doesnot work if I use a "date" search criterion

    I am trying to go to a particular record in my recordset and I using this line of code rst.FindFirst "[Weekending] =" & 1/14/2005 and it doesn't take me to the current WeekEndingDate record in my recordset. I tried using: rst.FindFirst "[Weekending] =" & #1/14/2005# but it doesn't work...
  5. Jawad77

    How to use the OldValue Property of Text Box Control

    I have a text box contriol that is bound to one of the fields of the table. I like to hightlight/changecolor of the data values in my textbox control when they are updated. Can any tell me how to use the oldvalue property of the text box control to do it. Thanks! Jay
  6. Jawad77

    How to keep the value of the variable saved unless database is closed?

    I am assigning a value to the variable in a subprocedure behind my second form. When I move to my first form, value of the variable is gone. I like to save this value even when I navigate from my second form to my first form. I tried to define my variable as static but it doesn't work. Any...
  7. Jawad77

    Can We use DLookUp fucntion in the control source property of text box

    I have a text box in my main form. I like to use DLookUp function as its control source to populate it with a single numeric value called CF. The reason I like to use DLookup function because I don't want the table containing CF to be opened when I am on my main form. This is becasue I am...
  8. Jawad77

    How to change the font/color of form field values in VBA on the fly?

    I have a recordet that I am updating in VBA. That recordset is based on a table and the table is the recordsource of my subform. How can I change the font of data values displayed on my subform' through textbox control when I update my recordet in VBA. I like to change the font or color so that...
  9. Jawad77

    How to Move to a Particular Record in A RecordSet

    I am creating a recordset in VBA using a given Table. I like to move to a particular record of my recordset based uponn a particular condition. How could I do that? Here is the code: Dim MYDB As Database Dim rst As Recordset Set MYDB = DBEngine.Workspaces(0).Databases(0) Set rst =...
  10. Jawad77

    How to update graph by changing data values displayed in the subform

    I have a "mainform" that has a tab control in its header. One of the pages of the tabcontrol has a graph on it. The data values for the grpah ( 4 columns) are displayed in the detail section of my "subform" that is embedded in the detail section of my main form. I like to update my graph every...
  11. Jawad77

    Correct Syntax for changing the recordsource of a subform control?

    I am struggling with finding the correct syntax to change recordsource of a subform control ("SubFormCtl")embedded in my main form ("IOSForm"). The source object for "SubFormCtl" is a form named "SubForm". This is what I am using but it doesn't work...
  12. Jawad77

    How to attach a record set to a subform recordsource?

    I have a subform control in my main form. The source object is assigned to this subform control on the fly. The source object is a separate form in my database. I like to assign a record set to the record source property of my separate form. I used this command" Forms![ISubForm].RecordSource...
  13. Jawad77

    Tab Control Event is not firing appropriately?

    I have a tab control in my main form and the tab control has 4 different pages. I like to fire an event when I click on the tab of the second page. The event is not fired unless I click on the 2nd page itself. But this is not desirable because the event (which updates graph on the second page)...
  14. Jawad77

    How to get around VBA Error 6: Over Flow Error?

    I am calculating the value of a variable defined as double in VBA but when i try to run the code it gives me the over flow error. CFLW = -1 * (WL / SumW) where CFLW, WL and SumW are variables defined as double Can any one tell me please how to get around this error? Thanks
  15. Jawad77

    How to reset the selection made in a combo box?

    I know how to reset the selection(s) made in a list box by using the itemsselected.count property but it doesn't work for combo boxes. Could some one please tell me how to reset the selection made in a combo box? Thanks!
  16. Jawad77

    How to segregate multiple recordsets from a main table/recordset?

    I have a main table/recordset. The recordset has composite primary key that consists of two fields "Product Group" and "Patch Area". There are 368 different combinations of these fields. I like to create 368 different recordsets so that I could run an independent cumulative sum function on each...

Part and Inventory Search

Back
Top