User Profile

Collapse

Profile Sidebar

Collapse
dmcp
dmcp
Last Activity: Oct 28 '08, 02:21 PM
Joined: Apr 12 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • dmcp
    replied to filter a combo box in a continuous form
    this is not what i meant. what i need is to show the records that contain the characters that i wrote in the combo box
    See more | Go to post

    Leave a comment:


  • dmcp
    started a topic filter a combo box in a continuous form

    filter a combo box in a continuous form

    hi
    i have a combo box in continuous form is there a way that i can filter the combo as i write in it?
    See more | Go to post

  • dmcp
    replied to unbound list box
    thanks for your useful hints
    the rowsource type was empty. it worked.
    See more | Go to post

    Leave a comment:


  • dmcp
    replied to unbound list box
    the current value is correct in the table groups 4040& 4050.
    there are 2 tables groups & IO . 1 to many relation from grp to IO.
    the purpose of filtering the IOs is that i want to get only the GRPs in the IO to get a filtered list of IO. sometimes i need more than one io_grp to get the list of IO ....
    See more | Go to post

    Leave a comment:


  • dmcp
    replied to unbound list box
    stewart here is the last test in the immediate window
    ?SQLSTR
    SELECT internal_orders .ior_no, internal_orders .ior_descriptio n,internal_orde rs.ior_date, internal_orders .io_grp FROM internal_orders WHERE internal_orders .io_grp IN (4040,4050)
    it also didn't work...
    See more | Go to post

    Leave a comment:


  • dmcp
    replied to unbound list box
    stewart
    here is the immediate window test
    ?SQLSTR

    SELECT internal_orders .ior_no, internal_orders .ior_descriptio n,internal_orde rs.ior_date, internal_orders .io_grp FROM internal_orders WHERE internal_orders .io_grp IN(4040,4050)...
    See more | Go to post

    Leave a comment:


  • dmcp
    replied to unbound list box
    hi stewart
    i'm not quite sure i understood your remarks but what i did is tested the sqlstr in the immediate window and pasted it in the sql query and it gave correct data.
    if there is something wronge with the code would i get correct data? could my problem be in the IO listbox?...
    See more | Go to post

    Leave a comment:


  • dmcp
    replied to subquery
    the original query that i sent gives no data . i didn't know what's wronge with it...
    See more | Go to post

    Leave a comment:


  • dmcp
    started a topic unbound list box

    unbound list box

    i have an unbound form with 2 multiselect list boxes. grp & io.
    the IO listbox is unbound and depends on the grp listbox but after finishing from the grp listbox i'm getting a null IO listbox.
    the below code is tested and ok.

    [code=vb]Dim V As Variant
    Dim GRPS As String

    If Me.grp.ItemsSel ected.Count > 0 Then
    For Each V In Me.grp.ItemsSel ected
    GRPS = GRPS & Me.grp.ItemData (V) &...
    See more | Go to post
    Last edited by Stewart Ross; Apr 12 '08, 12:19 PM. Reason: Please use Code Tags on code segments

  • dmcp
    replied to subquery
    i have an unbound form with 2 multiselect list boxes. grp & io.
    the IO listbox is unbound and depends on the grp listbox but after finishing from the grp listbox i'm getting a null IO listbox.
    the below code is tested and ok.

    Dim V As Variant
    Dim GRPS As String

    If Me.grp.ItemsSel ected.Count > 0 Then
    For Each V In Me.grp.ItemsSel ected
    GRPS = GRPS & Me.grp.ItemData (V)...
    See more | Go to post

    Leave a comment:


  • dmcp
    replied to subquery
    thanks for the hint
    but i was wondering why the query didn't work
    See more | Go to post

    Leave a comment:


  • dmcp
    started a topic subquery

    subquery

    hi
    i have the below query that is not working .

    select gro_code,grp_na me from groups
    where exists
    (select * from groups where len(gro_code)<5 )
    i want to get all data in groups where no# of digits in gro_code<5
    See more | Go to post
No activity results to display
Show More
Working...