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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by sogibear

  1. sogibear

    Triggers

    Hello, I've got two tables : tblTimetable : ClientID, Mon, Tue, Wed, Thu, Fri, Sat, Sun tblTimetable_Timeslot : ClientID, TslotID e.g: tblTimetable : ClientID Mon Tue Wed Thu Fri Sat Sun 404 10 2 20 0 0 0 0 tblTimetable_Timeslot : ClientID TslotID 404...
  2. sogibear

    SPROC, Output parameter

    yes i've included all the other parameters in my code, i tried changing the output parameter name to @ClientID but still i get the same error. The function is actually being called from a COM/.dll object, do you think this might have something to do with it ? Thanks :-)
  3. sogibear

    SPROC, Output parameter

    Hello, thanks for your help I'm using the sproc in VB like so ? Private Sub LoadParametersForInsert(objCommand As ADODB.Command, objClient As clsClient) On Error GoTo ErrorHandler Dim objParam As ADODB.Parameter With objClient 'Load the parameters for the Client object...
  4. sogibear

    SPROC, Output parameter

    Hi, I'm using a stored procedure that outputs an @@IDENTITY value like so : ALTER Procedure spClientInsert @Soscis int, @firstname varchar(50), @lastname varchar(50), @address1 varchar(50), @address2 varchar(50), @address3 varchar(50), @PostCode varchar(50), @HomePhone varchar(50)...
  5. sogibear

    Triggers (How to use parameters ?)

    Hello, I have two tables tblProgrammeTimeslot and tblProgramme tblProgrammeTimeslot : ProgID, tSlotID record e.g ProgID=278, TslotId=2550 tblProgramme : ProgrammeID, Mon, Tue, Wed, Thu, Fri, Sat, Sun record e.g ProgID=278, Mon=2550, Tue=112,Wed=0,Thu=560,Fri=0,Sat=100,Sun=0 I'm trying to...
  6. sogibear

    Refresh/Requery a Recordset from a different form

    Thanks mate, i'm still not done yet 'cus my form is unbound so even though it requeries just like you suggested, i need to call my DisplayCurrentRecord() function which is local to formA in order to display the requeried data. So i need to call a function local to formA from within the...
  7. sogibear

    Refresh/Requery a Recordset from a different form

    Refresh/Requery an open Recordset from a different form Hi, Form A is 'unbound'and i'm using a recordset as its recordsource. When you click on a certain button on Form A, a Popup form opens where some details are changed and saved. When the details are saved on the Popup form, id'd like...
  8. sogibear

    Changing a value in a Recordset

    Hello Guys, Thanks for all your help and you're all right ! I've been an idiot, the problem was not with the way i was referencing the field in the recordset, the problem was that the control was NOT named exactly the same as the field in the recordset, the control's called 'cboMonAM' and the...
  9. sogibear

    Changing a value in a Recordset

    Yes, the recordset is created and opened in the forms_Open event. Unfortunately i get an error that says, "Item cannot be found in the collection corresponding to the requested name or ordinal" when i use this : rstprogramme.fields(TimeSlot).value = 0 I think that the system...
  10. sogibear

    Changing a value in a Recordset

    Thanks guys, i'm using a recordset. I've tried rstprogramme.fields(TimeSlot) but i get a 'Compiler error' saying 'Invalid use of property'. It seems that that this property is Readonly ?? :-)
  11. sogibear

    Changing a value in a Recordset

    Hello, I'm passing a control into a function because i will need to run this function many times over. i can access the name of the control quite easily, the name of the control is the same name of a field in a table. See Below : __________________________________________________________...
  12. sogibear

    Combobox Value List question

    i have a combobox setup as using a 'value list' for data with these values : "YES";5;"NO";3;"DONT KNOW";1 the bound column is set to 1 so that the actual values stored in the db are "YES, NO, DONT KNOW" etc. however i'm using column 2 to store values to...
  13. sogibear

    MS Chart

    Hi, I'm using an array to hold data for my chart like so. arrPrices(1) = 1 arrPrices(2) = 2 arrPrices(3) = 3 arrPrices(4) = 4 arrPrices(5) = 5 arrPrices(6) = 6 i then call the chart like this : ChWasherProfile.ChartData = arrPrices No probs so far, however i need to...
  14. sogibear

    Date fields and VBA

    Thanks guy's for all your help, i finally figured it out. All what you sugested was right except all the time i was concerned about the date being in the future in my validation check, i forgot to check to see in the value was a null or zero length string !! DOH !!! allanon, i just read your...
  15. sogibear

    Date fields and VBA

    CDate(Me.txtDOB) was the first thing i tried guys, it still doesn't work. :-(

Part and Inventory Search

Back
Top