G
Guest
cn.ConnectionString = "Provider=MSDAORA.1;Password=cs;User ID=cs;Data
Source=C;Persist Security Info=True;DBQ=c;UID=CS"
cn.Open
Set rs = cn.Execute("SELECT /*+ ORDERED */ data0050.customer_part_desc "
& _
"FROM data0056 " & _
", data0034 " & _
", data0006 " & _
", data0050 " & _
"WHERE (data0050.rkey = data0006.cust_part_ptr) " & _
"AND (data0006.rkey = data0056.wo_ptr) " & _
"AND (data0056.d_g_w_ptr = data0034.rkey) " & _
"AND (data0034.wiprep_cat = 4) " & _
"AND data0056.tdate " & _
"BETWEEN to_date('" & [Forms]![frm1]![txtDate1] & "',
'mm/dd/yyyy')" & _
"AND to_date('" & [Forms]![frm1]![txtDate2] & "',
'mm/dd/yyyy')" & _
"GROUP BY data0050.customer_part_desc")
cmbJobName.RowSource = ?
i need to know how to get my row source for my jobname. i want rs to be my
row source how will i do it. thanks..
Source=C;Persist Security Info=True;DBQ=c;UID=CS"
cn.Open
Set rs = cn.Execute("SELECT /*+ ORDERED */ data0050.customer_part_desc "
& _
"FROM data0056 " & _
", data0034 " & _
", data0006 " & _
", data0050 " & _
"WHERE (data0050.rkey = data0006.cust_part_ptr) " & _
"AND (data0006.rkey = data0056.wo_ptr) " & _
"AND (data0056.d_g_w_ptr = data0034.rkey) " & _
"AND (data0034.wiprep_cat = 4) " & _
"AND data0056.tdate " & _
"BETWEEN to_date('" & [Forms]![frm1]![txtDate1] & "',
'mm/dd/yyyy')" & _
"AND to_date('" & [Forms]![frm1]![txtDate2] & "',
'mm/dd/yyyy')" & _
"GROUP BY data0050.customer_part_desc")
cmbJobName.RowSource = ?
i need to know how to get my row source for my jobname. i want rs to be my
row source how will i do it. thanks..