Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Call passthroughrecordset?

Status
Not open for further replies.

onefootout

Technical User
Oct 23, 2007
42
US
Can someone tell me what "Call passthroughrecordset" is doing here? I've never seen this before, and I can't find any references or anything.

I'm trying to figure out how this button does what it does. Which the end result is that it places a new record in a table, based on the customerid of the current customer. I think.

Thanks!
K


Private Sub Command20_Click()
If Nzs(Me!CustomerId) Then Exit Sub
DoCmd.Hourglass True
Dim str1 As String
str1 = "InsertOrder " & Me!CustomerId

Dim rst As Recordset
Call passthroughrecordset(str1, "", 0, -1, rst)
Dim frm As Form
Set frm = Forms!PrefHide
frm!OrderID = rst!OrderID
rst.Close
Call OrderFormSource(frm)


DoCmd.Hourglass False
Forms!ORDER!MainFormControl.SetFocus

End Sub
 
its calling passthroughrecordset() which is a user defined function. Someplace in your modules you should find a function by that name.

Paul
 
Thanks Paul.

Can't find it, but I'll keep looking.

Kate
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top