var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: type mismatch
I got a function to fill up the list with the database values like this:
Public Function FillList(ListItem As ListBox, FieldName As Field,TableName as Table)
Dim i As Integer
i = 0
DbConnect -- procedure to make DSNless connection to DB
strSQL = "select FieldName from Members"
'without using the connection object
ObjRs.Open strSQL, strConn
' Add Items in the list box
Do While Not ObjRs.EOF
ListItem.AddItem ObjRs(0), i
i = i + 1
'Be sure you close and destroy your objects.
Set ObjConn = Nothing
Set ObjRs = Nothing
After that i called the function as:
Call FillList(List1, "m_email","members")
It gives me error as "Type Mismatch"
could you help me?
Did you check my previous remarks about using strings in place of your objects in the function call ?
I checked your previous mail and got my problem sorted out.Actually i started a new thread in dbforums, that's why my query came again,
thanks very much.
You are welcome. Good luck.
hello, i want to have a parent and many child records inserted into my table , like for a single ORDER , i want to enter many PRODUCTS and its details , how to do this in visual basic?
( This is like Master-Details relationship in oracle forms)
can any one help me?