Topic Options
#29336 - 08/19/09 02:35 AM calling dwg. name in Line List from Components-Process Line
kpravin Offline
Member

Registered: 04/07/09
Posts: 29
Loc: Mumbai, India
Hi,

Recently I downloded a "Line List Template" from Mr. Kyle Pope's site. this template gives a list as shown below

TAG_ P&ID
1 1/2"-CG-2145-AS4-H2E US012629.DWG
1 1/2"-CG-2185-AS3-H2E FROM US012629.DWG - TO US012630.DWG

I tryed this one in my MDB, but its not working. I had 6 fields in my PID rather Kyle has 5 fields.

Sample by Kyle : 1 1/2"-CG-2145-AS4-H2E requested as "*-*-*-??#-?#?"

My Line fomat : 4"-NP-900-214-A1A-PP requested as "*-*-900-*-?#?-??"
(third field is a commaan value.)

If I run this query in give a error
"Undefined function `GetDwgFrom' in Expression.

Can anybody solve this problem.

Thanks in advance.





Top
#29342 - 08/19/09 09:00 AM Re: calling dwg. name in Line List from Components-Process Line [Re: kpravin]
Wolfe Offline
CGNP
Member

Registered: 10/27/06
Posts: 1182
Loc: South Carolina, US
You have to use the VBA from the module in the provided database. To transfer a vba module in Access 2007, go to the external Data tab, click Access Browse to the Line List Template.mdb and click Import tables...and click OK.

In the Import Objects dialog, switch to the modules tab, select the LineListModule. Do you have the LineListModule in your current db?
_________________________
Dave Wolfe

Top
#29388 - 08/20/09 03:20 AM Re: calling dwg. name in Line List from Components-Process Line [Re: Wolfe]
kpravin Offline
Member

Registered: 04/07/09
Posts: 29
Loc: Mumbai, India
Hi Dave,

Thanks a lot, it works.


Top
#29541 - 08/27/09 09:58 AM Re: calling dwg. name in Line List from Components-Process Line [Re: Wolfe]
kpravin Offline
Member

Registered: 04/07/09
Posts: 29
Loc: Mumbai, India
Hi Dave,

Its, working but I found that some of lines are not showing the dwg. nos.


Edited by kpravin (08/27/09 09:58 AM)

Top
#29544 - 08/27/09 10:19 AM Re: calling dwg. name in Line List from Components-Process Line [Re: kpravin]
Wolfe Offline
CGNP
Member

Registered: 10/27/06
Posts: 1182
Loc: South Carolina, US
That's the joy of working with the Link Database. If you can add the ID_COUNT_ to the query, you may be able to track them down on the Link Table. I think the blank links in the table are a bug. Unfortunately I haven't been able to isolate what causes them.
_________________________
Dave Wolfe

Top



Moderator:  Dominik Hepp 
Who's Online
0 registered (), 34 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
May
Su M Tu W Th F Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Forum Stats
12065 Members
14 Forums
16973 Topics
75151 Posts

Max Online: 303 @ 01/28/20 11:58 PM
Top Posters (30 Days)