grayj
Posts: 1
|
| Posted: 04/09/2007, 3:31 AM |
|
Hi all i want to add the auto# from a form to another for using DLookup....why Dlookup because i want that number to =to the user session this is the code
<%
'BindEvents Method @1-1F517413
Sub BindEvents()
Set visitor_information.booking_id.CCSEvents("BeforeShow") = GetRef("visitor_information_booking_id_BeforeShow")
End Sub
'End BindEvents Method
Function visitor_information_booking_id_BeforeShow(Sender) 'visitor_information_booking_id_BeforeShow @44-6DE6DEC0
'DLookup @45-68A2C41D
Response.Cookies("booking_id") = CLng(CCDLookUp(ID,booking_information,cache_key IS NOT NULL,DBburnett_live))
'End DLookup
End Function 'Close visitor_information_booking_id_BeforeShow @44-54C34B28
%>
If there is a better way let me know
_________________
Mr G |
 |
 |
|