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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dlast

Status
Not open for further replies.

rhonda11

Technical User
Nov 4, 2002
96
US
I have a form with a subform that gets update pretty often. Within this subform there's a delivery date field that I would like to remains the same everytime the user click to get a new form to update. What I did was put the following code on the Default value from the event. However, this code copy the last record in the table projectupate instead of getting tha last project update of a particular ProjectNo.

DLast("[DeliveryDate]","ProjectUpdate","[ProjectNo]")

I got the following code form PWISE:
Dlast("[DeliverDate}]","Projectupdate","[ProjectNo]="&me.parent!projectNo)

....but i got "#Name?" error

Can someone help.........pwise, where are you?
 
Thank you for your help but it's still not working, i'm getting "#name?" error. What is this mean?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top