TheAceMan1
Programmer
Howdy All ... Hope everyone is well.
I was asked to repair a db for a delivery service which crashed. VBA appeared to be the only item affected (mostly [red]mumbo jumbo[/red]), aside from rebuilding two forms. I've been successful in patching so they can keep working, however the relationships keep bothering me. See the link below:
Delivery Relationships
Prime is the transaction field [blue]Xact[/blue] in the details table. This field shows where the item was [blue]picked up[/blue], [blue]delivered to[/blue], and wether or not a [blue]round trip[/blue] was performed. This is all concatenated in code. Below is a sample of what it looks like in the form:
Pickup/Delivery Form View
Since items can be pickedup from or delivered to the account owner there's a problem in querying service between account owners and contacts of those owners. Currently I used a [blue]Union Query[/blue] to get around this, however [blue]I can't help but believe there's a better way to structure this![/blue]
Any Ideas would be appreciated ...
See Ya! . . . . . .
Be sure to see faq219-2884 [blue]Worthy Reading![/blue]
Also faq181-2886 [blue]Worthy Reading![/blue]
I was asked to repair a db for a delivery service which crashed. VBA appeared to be the only item affected (mostly [red]mumbo jumbo[/red]), aside from rebuilding two forms. I've been successful in patching so they can keep working, however the relationships keep bothering me. See the link below:
Delivery Relationships
Prime is the transaction field [blue]Xact[/blue] in the details table. This field shows where the item was [blue]picked up[/blue], [blue]delivered to[/blue], and wether or not a [blue]round trip[/blue] was performed. This is all concatenated in code. Below is a sample of what it looks like in the form:
Pickup/Delivery Form View
Since items can be pickedup from or delivered to the account owner there's a problem in querying service between account owners and contacts of those owners. Currently I used a [blue]Union Query[/blue] to get around this, however [blue]I can't help but believe there's a better way to structure this![/blue]
Any Ideas would be appreciated ...
See Ya! . . . . . .
Be sure to see faq219-2884 [blue]Worthy Reading![/blue]
Also faq181-2886 [blue]Worthy Reading![/blue]