User Profile

Collapse

Profile Sidebar

Collapse
zivon
zivon
Last Activity: Mar 12 '08, 06:54 PM
Joined: Aug 28 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • zivon
    replied to if statment.
    doh..
    that is what I write on the beging but for some reason it didn't work as well so I tried ||...

    now its working, thanks....
    See more | Go to post

    Leave a comment:


  • Case sensitive... lol..

    insted of
    Code:
     hid.showlim.value = R_showlim;
    this:
    Code:
     hid.ShowLim.value = R_showlim;
    ...
    See more | Go to post

    Leave a comment:


  • zivon
    replied to update recored sql
    The file is not read-only, maybe the server managment, but I have no idea how to change it... its on my pc..

    any way, when I try the line you just gave me this is what I get:

    Error Type:
    Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
    [Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
    /setup.asp, line 20


    this is the line:
    Code:
    	sSQL
    ...
    See more | Go to post

    Leave a comment:


  • zivon
    replied to update recored sql
    first thanks for answering.

    what you gave me give me the folloing error:

    Error Type:
    Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
    [Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or object is read-only.
    /setup.asp, line 42

    so I tried 3, 4

    and it didn't give me any error, but also didn't update the records : \

    maybe this is not...
    See more | Go to post

    Leave a comment:


  • zivon
    started a topic if statment.

    if statment.

    hello everyone!

    I have a form for changing a user password, and a javascript code to check it.

    it needs to check if the newpass, and the verfaction is the same..
    the problam is that it always return to me that its not the same even if it is.. :\

    Code:
    if(R_newpass) {
    	if(R_newpass||R_vernewpass) {
    	   mas += "Verpass does not match newpass \n";
    ...
    See more | Go to post

  • zivon
    started a topic update recored sql

    update recored sql

    I'm making a form for changing a user password and information
    and tring to update the recoreds.

    maybe the problam has nothing to do with what I'm thinking.. but that is what I tried:

    when I try
    rs.Open strSQL, oconn
    or
    rs.Open strSQL, oconn, 3
    or
    rs.Open strSQL, oconn, 2
    or
    rs.Open strSQL, oconn, 1
    or
    rs.Open strSQL, oconn, -1

    I...
    See more | Go to post

  • problam solved, thanks everyone.
    See more | Go to post

    Leave a comment:


  • Error on page on clicking button - maybe if statements problem

    actully, I have no idea how to describe the problam, and I can't find it aswell...

    I have a botton which call a javascript function.. and for some reasone it writes: "Error on page" when I click on the botton.

    if I remove all the if statments from the function it works just fine...
    I hope someone could help me out and find what the problam is..

    thanks in advance,
    Idan
    ...
    See more | Go to post

  • zivon
    replied to how many items SQL
    Thanks for you both :)

    Have a nice week !
    See more | Go to post

    Leave a comment:


  • zivon
    started a topic how many items SQL

    how many items SQL

    hello everybody!

    I have an sql statment, and I want to add all the data into an array.

    when I declare the array I need to write the amount of items.

    how can I know before I do the loop rs.EOF = false
    how many items the sql statment has ?

    thanks in advance,
    Idan
    See more | Go to post

  • zivon
    replied to calculate string+integer..
    thank you
    it solved only one problam... the rounding of the number.
    I have two types of discounts one using * and the other using -

    this solve the other problam but uses two lines.. is there another options ?
    If Operation = "*" Then x = (UPrice * Discount)
    If Operation = "-" Then x = (UPrice - Discount)...
    See more | Go to post

    Leave a comment:


  • zivon
    started a topic calculate string+integer..

    calculate string+integer..

    Hello everyone !

    I made a price calculator for a guest house.

    I have diffrent sale campaigns, all the time, I made a table with campaign name and discount, for example: name "pensioners " discount "*0.9".
    10% discount, now I want calculate this with the price.

    The price is integer, and the discount must be a string, because of the */-

    how can I calculate them anyway...
    See more | Go to post

  • zivon
    replied to sub for record change?
    thanks mshmyob :) thats exactly what I needed.
    See more | Go to post

    Leave a comment:


  • zivon
    started a topic sub for record change?

    sub for record change?

    is there a way to excute a command on record change ?

    I used form_load to check something, but when I go to the next/previews record it doesn't recheck..

    Code:
    Private Sub Form_Load()
        If RefBy.Value = "test" Then
            ReferredID.Enabled = True
       End If 
    End Sub
    See more | Go to post

  • zivon
    replied to how many records are being displayed
    thanks FishVal ! :) its exactly what I needed....
    See more | Go to post

    Leave a comment:


  • zivon
    started a topic how many records are being displayed

    how many records are being displayed

    Good week everyone !

    I made a botton that changes the form filter.
    I want to display how many records are being displayed after the new filter, is there a way to retrieve it ?

    Code:
    Private Sub Refilter_Click()
            strFilter = "[ReferredBy] = '" & Me.Ref.Value & "'"
            Me.Filter = strFilter
            Me.FilterOn = True
    End Sub
    Me.LSum.Value...
    See more | Go to post

  • zivon
    replied to Select statment, syntax problam.
    well... no.. :)

    its working :)
    thanks!
    See more | Go to post

    Leave a comment:


  • zivon
    started a topic Select statment, syntax problam.

    Select statment, syntax problam.

    I'm making a reminder, and I want to select all the notes that thier time is passed already.

    this is the code I'm trying:

    Code:
    LSQL = "select ReminderMark,ReminderDate,ReminderTime from Calls WHERE ReminderMark and DateDiff('n',Now,ReminderDate ReminderTime) < 1"
    the problam is how to combine DateDiff('n',No w,ReminderDate ReminderTime)

    I've tried also using &

    ...
    See more | Go to post

  • zivon
    replied to Clearing an array.
    thanks for the information, that was exactly what I wanted to know...
    there was another problam that wouldn't let it work.. but I found it as well..
    See more | Go to post

    Leave a comment:


  • zivon
    started a topic Clearing an array.

    Clearing an array.

    Sorry for the stupid question... how do I clear an array ?

    I'm using an OE email sending code that I found on this forum.
    when I send to a second persone it tries also to send to the first one (everytime it just add a new email address to the array)

    Code:
     Private Sub RecipientAdd(ByVal lngType As Long, Optional ByVal strName As String, Optional ByVal strAddress As String)
    Dim r As MAPIRecip
    r.RecipClass
    ...
    See more | Go to post
No activity results to display
Show More
Working...