User Profile

Collapse

Profile Sidebar

Collapse
makmax
makmax
Last Activity: Nov 20 '07, 03:14 AM
Joined: Nov 18 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • makmax
    replied to type mismatch error
    Hi,

    You may be right Killer42, but I couldn't find other solution it is like this:
    In the first form I have this code:

    Search_Form.Sho w <=== first line
    Personal(1) = passpara

    Set db = OpenDatabase("d :\medical\medic al assist2000.mdb" )
    Set rs = db.OpenRecordse t("select * from PersonalData where emp_name = " & "'" & passpara & "'")...
    See more | Go to post

    Leave a comment:


  • makmax
    replied to type mismatch error
    Hi,
    Thank you all for your help, I'm sorry I didn't provide you with details. I could solve the problem by typing the following line

    Search_Form.Sho w vbModal <==== in the first form

    which opens the search form, then I could pass the string of the pass_para to the first form, otherwise the error comes.

    Thanks all
    See more | Go to post

    Leave a comment:


  • makmax
    started a topic type mismatch error

    type mismatch error

    Hi, I'm using VB6 and when trying to pass the selection of the listbox in one form to a textbox in another form I get the mismatch error code 13, though the textbox is a string and the passing parameter is a string as well. I'm using this code to pass the parameter:
    [CODE=vb]Private Sub Select_cmd_Clic k()
    passpara = emp_list
    Forms!PerData!P ersonal(1) = passpara
    Unload Me
    End Sub[/CODE]
    See more | Go to post
    Last edited by Killer42; Nov 19 '07, 01:53 AM. Reason: Added CODE=vb tag
No activity results to display
Show More
Working...