Hi Patrick, I think u can accomplish this task without using current function
also, just follow the below given steps
1. Double-click on the part number field
2. In the default-value section of “Text-Box Properties” click the “fx” button
3. In the “insert formula” dialog box click “Insert a Field or Group” and
select “Description” and click “Ok” 3 times to close all the open dialog boxes
4. Now pre-view the form
Hope this will help you

Signature
Raghuram
http://www.autonomysystems.com
> All,
> I need some help. I am having a hard time unstanding the usage of the
[quoted text clipped - 21 lines]
> seached and none of the examples or posts I have found make much sense.
> Any instructors out there?
Patrick - 05 May 2006 06:06 GMT
I tried that and it did not work. I think that it didn't work because
both fields are apart of the same repeating table. Can you tell me how
to use the current function?
> Hi Patrick, I think u can accomplish this task without using current function
> also, just follow the below given steps
[quoted text clipped - 36 lines]
> > seached and none of the examples or posts I have found make much sense.
> > Any instructors out there?
Adam Harding - 05 May 2006 15:58 GMT
Patrick
Try the current function in a variety of places AFTER the equals sign like
this
xdXDocument:GetDOM("Van
Layout")/dfs:myFields/dfs:dataFields/dfs:van_layout/@Part_Number[../@Part_Name
= current()/po:description
if that does not work try it at the higher level as below
xdXDocument:GetDOM("Van
Layout")/dfs:myFields/dfs:dataFields/dfs:van_layout/@Part_Number[../@Part_Name
=Current()/po:purchaseOrder/po:order/po:items/po:item/po:description
If that does not work try it the next step down.
=Current()/po:items/po:item/po:description and so on.
Cheers Adam
> I tried that and it did not work. I think that it didn't work because
> both fields are apart of the same repeating table. Can you tell me how
[quoted text clipped - 39 lines]
> > > seached and none of the examples or posts I have found make much sense.
> > > Any instructors out there?
Patrick - 06 May 2006 06:57 GMT
Thanks man. That really helped a lot!!!! One thing different that I had
to do was add current()/../ instead of current()/ And I read that
in another post where somesaid if it doesn't work one way try it the
other way, but it didn't make sense to me because I was so confused
about the current function, but you really helped me with it. Thanks
again.